The Fluxamasynth Library
Download Library
- A new version of the library is available that uses NewSoftwareSerial to communicate on pin 4.
This allows easy debugging of a sketch using the TX pin for serial debugging to the computer monitor.
Many thanks to R. (Scott) McGinnis for his hard work on this.
The latest version of the library is now being hosted on GitHub
just click the "zip" icon to download.
- Older versions of the library
Library Methods
void noteOn(byte channel, byte pitch, byte velocity);
void noteOff(byte channel, byte pitch);
void programChange (byte bank, byte channel, byte value);
void pitchBend(byte channel, int value);
void pitchBendRange(byte channel, byte value);
void midiReset();
void setChannelVolume(byte channel, byte level);
void allNotesOff(byte channel);
void setMasterVolume(byte level);
void setReverb(byte channel, byte program, byte level, byte delayFeedback);
void setChorus(byte channel, byte program, byte level, byte feedback, byte chorusDelay);
Planned Methods
playRTTTL(byte *song); // play an RTTTL song
Midi(byte *song, byte program) // play a MIDI format song
Suggested Methods
Suggest a Library Method for Future Implementation