Skip to content

How to send note/freq information to Faust #219

Answered by pschatzmann
jonrichings asked this question in Q&A
Discussion options

You must be logged in to vote

Not all Faust examples support midi - the Faust flute is an example and you control the frequency with the pipe length.
Supporting Faust Midi is currently out of scope and there are enough midi libraries for Arduino to choose from.
You would control the freqeuncy with setValue("freq", freqValue);

For convenience I have added some additional methods to make it less tedious and I let you test them:

  • setFrequency
  • setMidiNote
  • setBend
  • setGain
  • midiOn(int note, FAUSTFLOAT gain)
  • midiOff(int note)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@jonrichings
Comment options

Answer selected by pschatzmann
Comment options

You must be logged in to vote
1 reply
@jonrichings
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants