Re: [softwerk-dev] softwerk input
Status: Beta
Brought to you by:
pbd
|
From: Paul Barton-D. <pb...@op...> - 2000-11-28 22:45:56
|
>How hard would it be to do this? I'd like to try this, if you think it >would be a decent thing for a beginner to do. I know c++, but have no >experience with any of the libraries of pbd, nor do I have much midi >experience. This seems like a good place to start! should be fairly easy, and i agree with the design goals. in sequence.cc, there is a method called start_midi_grab(). this connects another method called "handle_midimsg()" to the "any" signal of the MIDI input parser for the sequence's input port. every message that is received is used to set the next step until all steps are set, and then we remove the connection to the "any" signal. so instead of doing that, connect to the "note_on" signal, and extract the note number while in handle_midimsg, using it to set the step value. most of the logic will stay exactly as it is now. have fun! --p |