Page 1 of 1

Code Explanation

Posted: Fri Nov 08, 2013 5:34 pm
by Aegis
So I'm running Fluxamasynth on an ArduinoUno with the most recent updates. I have the library installed and I've used an example program to verify that everything is working properly.

My question is this:

Can anyone explain the synth commands beyond the very unhelpful wiki info? Specifically:

How does the programChange command work?
What are each of the variables in the different commands and how do they relate to one another? (programChange, noteOn, pitchBend)
What, exactly, does the pitchBend do?

Any help is greatly appreciated given I have 2 weeks to complete this project and can't afford to get hung up on the code.

Re: Code Explanation

Posted: Tue Nov 26, 2013 9:26 am
by paul
Angie,

I'm sorry for the really slow reply and I'm sorry you're having a hard time with the code.
Maybe you're up and running with the code by now.

The wiki is currently getting fixed but does work anyway. Just scroll down past the errors.

http://wiki.moderndevice.com/pmwiki.php ... istMethods

has the definitions of the all the library functions. Click on each one for a definition of the parameters.
How does the programChange command work?
void programChange(byte bank, byte channel, byte voice);
the params are explained here: http://wiki.moderndevice.com/pmwiki.php ... gramChange

What are each of the variables in the different commands and how do they relate to one another? (programChange, noteOn, pitchBend)

What, exactly, does the pitchBend do?
PitchBend will move the frequecy up or down smoothly a certain amount, which is set in pitchBendRange
http://wiki.moderndevice.com/pmwiki.php ... hBendRange

Hope that helps,

Paul