-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
David Minnix -- created interface for audio generators
- Loading branch information
Showing
6 changed files
with
38 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* IAudioGenerator.h | ||
* | ||
* Created on: Feb 6, 2017 | ||
* Author: davidminnix | ||
*/ | ||
|
||
#ifndef INCLUDE_IAUDIOGENERATOR_H_ | ||
#define INCLUDE_IAUDIOGENERATOR_H_ | ||
|
||
class IAudioGenerator{ | ||
|
||
public: | ||
IAudioGenerator(){} | ||
virtual long nextSample()=0; | ||
virtual ~IAudioGenerator(){}; | ||
}; | ||
|
||
#endif /* INCLUDE_IAUDIOGENERATOR_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
#ifndef INCLUDE_IWAVETABLESYNTH_H_ | ||
#define INCLUDE_IWAVETABLESYNTH_H_ | ||
|
||
class IWavetableSynth { | ||
|
||
public: | ||
IWavetableSynth(); | ||
virtual ~IWavetableSynth(); | ||
virtual void playNote(int noteNumber, int velocity); | ||
}; | ||
|
||
#endif /* INCLUDE_IWAVETABLESYNTH_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters