-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Is it possible via scamp to obtain input from a connected digital piano, transform the pitch, and output it to the MIDI Built-in Output of a MAC?
By using session.register_midi_listener("Digital Piano", midi_callback) as illustrated in the KeyboardMapping demo, I can catch the incoming MIDI messages from my digital piano.
Also with the digital piano off and no listener, I can send pitches to my MAC's speakers as follows:
instrument = session.new_part("piano")
instrument.play_note(pitch, volume, length)
But with the digital piano on, connected, and being listened to by my scamp program, I have not been able to send output to my MAC's Built-in Output.
How would I tell scamp that the input should come from the digital piano, but the output should go to the Built-in MIDI output device on the MAC?
I would really appreciate a code sample for accomplishing such transfers.
Many thanks.
Azad