feasibility question, plotting and MIDI
i have not used arduino hardware before. trying set project runs math feedback loop, plots result of each iteration, generates hexadecimal #'s relating note-on/off midi, , sends midi device. i'm thinking arduino unit might easiest solution rather working thru mac, either in ios or language python terminal. have advice?
the goal bit vague me far understand possible arduino.
my advice take week go through tutorials familiar language constructs of arduino , recognize parts need.
the code part straightforward, skeleton start
my advice take week go through tutorials familiar language constructs of arduino , recognize parts need.
the code part straightforward, skeleton start
code: [select]
void setup()
{
serial.begin(31250); // midi speed
}
void loop()
{
int midivalue = f();
midisend(midivalue);
delay(100); // optional
}
int f()
{
// math goes in here
return 42;
}
void midisend(int v)
{
serial.write(v); // simplistic, note should use write not print send bytes.
// ...
}
Arduino Forum > Using Arduino > Project Guidance > feasibility question, plotting and MIDI
arduino
Comments
Post a Comment