- initial import
git-svn-id: http://moon:8086/svn/software/trunk/projects/JaySynth@37 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
==============================================================================
|
||||
|
||||
This file was generated by user!
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
|
||||
#ifndef _JAYSYNTHSOUND_H_
|
||||
#define _JAYSYNTHSOUND_H_
|
||||
|
||||
#include "../JuceLibraryCode/JuceHeader.h"
|
||||
#include "synth_defs.h"
|
||||
#include "JaySynthMidiCC.h"
|
||||
|
||||
//==============================================================================
|
||||
/** A synth sound that's just a bunch of parameters that makes an incredible sound.. */
|
||||
class JaySynthSound : public SynthesiserSound, public JaySynthMidiCC
|
||||
{
|
||||
public:
|
||||
synth_float_t parameter[SYNTH_NUM_PARAMS];
|
||||
String name;
|
||||
|
||||
JaySynthSound();
|
||||
~JaySynthSound();
|
||||
|
||||
void setName(String ProgramName);
|
||||
String getName(void);
|
||||
void setParameter(int index, synth_float_t param);
|
||||
synth_float_t getParameter(int index);
|
||||
void initParameter(int index, synth_float_t param);
|
||||
bool appliesToNote (const int /*midiNoteNumber*/) { return true; }
|
||||
bool appliesToChannel (const int /*midiChannel*/) { return true; }
|
||||
|
||||
};
|
||||
|
||||
#endif // _JAYSYNTHSOUND_H_
|
||||
Reference in New Issue
Block a user