View Single Post
Old 05-22-2017, 12:19 PM   #8
goldenarpharazon
Human being with feelings
 
Join Date: Feb 2016
Posts: 189
Default

OK, so the code appears to be detecting "/OSC1" and is executing the following code block since the printf statement is executed. Great! That's progress!


Suggest all of the following that together may sort it out and get it working

  • Checking that the OSC data coming in looks something like "/OSC1 17" or "/OSC1 123" in the OSCII-bot console since it's those changing integer parameters i.e. 17 and 123 that should be going into fmt0


  • using a properly formatted printf statement that outputs all of msg1, msg2, msg3 together on a debugging line to make sure that

    - fmt0 really has captured a parameter which varies with the OSC data (lots of examples of how to do this printf in code already mentioned)

    and

    - the three bytes together look like they will be proper Midi


  • checking that midisend() will correctly send any pre-set Midi output to the chosen midi output device
goldenarpharazon is offline   Reply With Quote