MIDI CC Switch In/Out

If you require help or assistance with anything then please post here

Moderators: electrogear, exonerate

MIDI CC Switch In/Out

Postby lwaver on Sat May 19, 2012 5:38 pm

Hello Everyone

I have a very big problem
I have a switch here that I can receive midi cc
the problem is that I want to send it over midi cc
so I did as everyone says, the research on all
the forum (I look for the word midi - 360 pages).
I look at 360 pages and not find a single topic or one
speaks of a midi switch out.
anyway - what I wanna do is send a midi cc with the switch and

block the midi cc which it receives when sending of the same midi

cc. In other words, a switch that can either send or receive the same

midi cc but not both at once. ( I hope this is well explained ).
so if there is someone who could help me on the subject, it would

be well apreciated.

well all of you cordially. thank to you!
Attachments
MIDI Switch.osm
OSM File
(10.58 KiB) Downloaded 46 times
MIDI Switch 2.png
Switch Schematic
MIDI Switch 2.png (19.13 KiB) Viewed 957 times
MIDI Switch.png
Switch
MIDI Switch.png (49.72 KiB) Viewed 956 times
lwaver
essemer
 
Posts: 33
Joined: Wed Oct 05, 2011 1:07 am

Re: MIDI CC Switch In/Out

Postby philter5 on Sat May 19, 2012 7:33 pm

hey welcome to SM land :)
your "problem" is fortunately an easy task. i made a example osm that you can study.
it works simple: if you drag/click the switch with your mouse, then the midi output gets activated.
if a MIDI message is received from outside, the output switches to OFF.
---Yes, a piece of software CAN be your best friend---
User avatar
philter5
smaniac
 
Posts: 1478
Joined: Thu Jan 04, 2007 7:52 pm
Location: Germany

Re: MIDI CC Switch In/Out

Postby DigitalWhiteByte on Sat May 19, 2012 7:55 pm

The solution and prevent the midi loopback,
taking trig directly from the primitive "LDown Mouse", and the trig from the preset manager if you use either.

No_Midi_LoopBack.JPG
No_Midi_LoopBack.JPG (55.18 KiB) Viewed 996 times
User avatar
DigitalWhiteByte
smanatic
 
Posts: 693
Joined: Thu Mar 12, 2009 1:07 am
Location: Milano - Italy

Re: MIDI CC Switch In/Out

Postby lwaver on Sat May 19, 2012 8:00 pm

ok guys I'll try right away what you offer me.
I returned the above as soon as possible.
thank you again a mill. times.
lwaver
essemer
 
Posts: 33
Joined: Wed Oct 05, 2011 1:07 am

Re: MIDI CC Switch In/Out

Postby lwaver on Sat May 19, 2012 8:43 pm

philter5

The idea is good but I want the switch reacts to the midi input signal but not sending the midi out.
and when I click on the switch, it sends the midi but not receiving it to.
Last edited by lwaver on Sat May 19, 2012 8:59 pm, edited 1 time in total.
lwaver
essemer
 
Posts: 33
Joined: Wed Oct 05, 2011 1:07 am

Re: MIDI CC Switch In/Out

Postby lwaver on Sat May 19, 2012 8:44 pm

And - DigitalWhiteByte

what is the output (I) of midicc modul
lwaver
essemer
 
Posts: 33
Joined: Wed Oct 05, 2011 1:07 am

Re: MIDI CC Switch In/Out

Postby DigitalWhiteByte on Sat May 19, 2012 9:03 pm

The number of Midi CC, the same of the midi cc input.
User avatar
DigitalWhiteByte
smanatic
 
Posts: 693
Joined: Thu Mar 12, 2009 1:07 am
Location: Milano - Italy

Re: MIDI CC Switch In/Out

Postby philter5 on Sat May 19, 2012 9:15 pm

lwaver wrote:philter5

The idea is good but I want the switch reacts to the midi input signal but not sending the midi out.
and when I click on the switch, it sends the midi but not receiving it to.


strange , on my pc receive worked in the last osm but send doesn´t ...
i forgot a link to the midi cc nr. and fixed it. for receiving: perpaps you have to get
2 input changes for the switch to react. if, eg, the switch is turned on manually, it will not turn of
at the next received message if this is a "turn on" message. only on received "off" it will switch off.
hope you got me
midi switch inout philter5.osm
---Yes, a piece of software CAN be your best friend---
User avatar
philter5
smaniac
 
Posts: 1478
Joined: Thu Jan 04, 2007 7:52 pm
Location: Germany

Re: MIDI CC Switch In/Out

Postby lwaver on Sat May 19, 2012 9:38 pm

philter5

if I put it exactly like this and I put the
The control change parameter to 0 it work exactly as
I want, I do not understand why?
Attachments
capture3.png
capture3.png (20.07 KiB) Viewed 876 times
lwaver
essemer
 
Posts: 33
Joined: Wed Oct 05, 2011 1:07 am

Re: MIDI CC Switch In/Out

Postby philter5 on Sat May 19, 2012 10:25 pm

lwaver wrote:philter5

if I put it exactly like this and I put the
The control change parameter to 0 it work exactly as
I want, I do not understand why?


in your example picture there is midi cc nr 0 set for the tester (at bottom) -
and cc nr. 0 is set for receive- that´s why.
but why the hell is the status byte (176) now set for cc value out?
did you change that? just out of interests
---Yes, a piece of software CAN be your best friend---
User avatar
philter5
smaniac
 
Posts: 1478
Joined: Thu Jan 04, 2007 7:52 pm
Location: Germany

Re: MIDI CC Switch In/Out

Postby lwaver on Sun May 20, 2012 1:36 am

philter5

I apologize for this release of interest!
you made an execellent job
and this makes the job very well!

thank you for your attention!

Hoping to keep in contact.
lwaver
essemer
 
Posts: 33
Joined: Wed Oct 05, 2011 1:07 am

Re: MIDI CC Switch In/Out

Postby lwaver on Sun May 20, 2012 11:01 pm

oh yeah I am wondering if this is possible with notes
eg a C1 or C#1 etc. ...
lwaver
essemer
 
Posts: 33
Joined: Wed Oct 05, 2011 1:07 am

Re: MIDI CC Switch In/Out

Postby philter5 on Mon May 21, 2012 12:45 am

lwaver wrote:oh yeah I am wondering if this is possible with notes
eg a C1 or C#1 etc. ...


yes thats possible. just replace the cc creator in your schematic with a note event primitive, for example.
the note event primitive accepts only int input so you have to convert the Note Name (e.g. C''#5)
to a MIDI note Pitch (e.g. 60).
---Yes, a piece of software CAN be your best friend---
User avatar
philter5
smaniac
 
Posts: 1478
Joined: Thu Jan 04, 2007 7:52 pm
Location: Germany

Re: MIDI CC Switch In/Out

Postby lwaver on Mon May 21, 2012 12:44 pm

If it looks like something like that

mmmmm..... Doesn't work !
Attachments
02.png
Sc.2
02.png (17.12 KiB) Viewed 754 times
01.png
Sc.1
01.png (30.48 KiB) Viewed 754 times
lwaver
essemer
 
Posts: 33
Joined: Wed Oct 05, 2011 1:07 am

Re: MIDI CC Switch In/Out

Postby lwaver on Mon May 21, 2012 9:08 pm

Well I work Sun May 20, 2012 8:45 pm until
Mon May 21, 2012 6:15 p.m. My eyes are out of the head. I tried to do what you told me but I did not understand
quite what you wanted to tell me. I realized that I had to generate a note but not a controller.
Your controller Switch helps me a lot. I have come to this. It works well but sometimes they do not send or receive
the input message. Whyyyyyyyyy ?

P.S. I feel that I am close to goal !
Attachments
Trigger MIDI Notes Switchs.osm
Schematic
(10.21 KiB) Downloaded 45 times
capture 2.png
Level 2
capture 2.png (44.69 KiB) Viewed 691 times
capture 3.png
Level 3
capture 3.png (40.51 KiB) Viewed 691 times
lwaver
essemer
 
Posts: 33
Joined: Wed Oct 05, 2011 1:07 am

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests