Old 04-02-2019, 08:57 AM   #1
the_nik
Human being with feelings
 
Join Date: Sep 2013
Posts: 40
Default How to i specify Midi input

Hi only started to look at this app today I will prob have a load of silly questions.

How do i specify that OscBot only listen to a particular midi note.

What i'm doing fairly simple... i think

Im mixing a show with an x32. im running a DAW that is providing Click and Tone. i want to trigger an osc script when a midi note is played. i am using the IAC bus with osculator at the moment but it is very tedious.

for example the code i wish to trigger is


@input midi_in MIDI "N/loop"
@output osc_out OSC "osc.udp://192.168.0.77:10023"
@init
@midimsg


/fx/1 VRM
/fx/1/source MIX13 MIX13
/fx/1/par 34 1.14 78 30 32 0.0 0.63 1.00 196 3k4 92 86 OFF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
the_nik is offline   Reply With Quote
Old 04-06-2019, 04:50 AM   #2
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 8,162
Default

Quote:
Originally Posted by the_nik View Post
How do i specify that OscBot only listen to a particular midi note.
You can't "specify" this.

You need to receive the (complete) Midi data stream in @midimsg -> msg1/msg2/msg3, and do code to detect the messages you want to handle.

-Michael

Last edited by mschnell; 04-08-2019 at 07:13 AM.
mschnell is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:30 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.