Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Ruby keyboard splitter-needs some fixes

Post any examples or modules that you want to share here

Ruby keyboard splitter-needs some fixes

Postby kortezzzz » Wed Feb 04, 2015 8:42 pm

Here is a very simple schematic that shows how to split the midi keyboard into 2 (or whatever number you need) zones and play 2 different instruments with each zone. It works well, but suffers from lack of the ability to pass midi messages other than note's pitch\velocity, like pitch-band and modulation wheel.

Any chance that the Ruby people here would take a look at it and add a solution?

Thanks.
Attachments
(keyboard split module).fsm
(52.03 KiB) Downloaded 1165 times
User avatar
kortezzzz
 
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: Ruby keyboard splitter-needs some fixes

Postby Nubeat7 » Thu Feb 05, 2015 12:09 am

these are 3 different midi messages, while the keyboard produces note on and note off messages the modwheel is a control change message and pitchbend is an own midi message type, you can use the pitchbend primitive control pitchbend, and the midi cc primitive to receive modwheel changes using the ccnr 1
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Ruby keyboard splitter-needs some fixes

Postby kortezzzz » Thu Feb 05, 2015 6:39 am

these are 3 different midi messages...


Nubeat7, Yes, I know, but was hoping to combine at least the pitch band messages feature inside the ruby code, because in some cases, projects don't deal with audio but output only the generated midi signal, so using
pitch-band prim' + pitch-band to frequency combination is not relevant(?)
Or- maybe it is? Thought about adding a float input into the ruby code and connect the pitch primitive straight to the code so the midi's notes pitch values would be multiplied with the pitch-band's messages values, but just dunno how to do that. My desired result is to let 1 ruby module to take care of those midi manipulations and output them through 1 midi output so the midi signal would continue to it's next address in the schematic. possible?
User avatar
kortezzzz
 
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: Ruby keyboard splitter-needs some fixes

Postby Nubeat7 » Thu Feb 05, 2015 9:25 am

what you want to achieve is not possible because the "notepitch" on the keyboard is sent via note on / off messages which have a fixed integer noterange from 0-127, pitchbend and finetune or pitch to Hz needs to be done in the stream part
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Ruby keyboard splitter-needs some fixes

Postby kortezzzz » Thu Feb 05, 2015 5:54 pm

Yep, was afraid that that's the case :?
My project streams the midi data that played by a midi keyboard from a standalone app to the daw by using virtual midi cables, so there's no ability to extract pitch band messages in that way, because there is no direct communication between the midi signal and the addressed vsti's audio part inside the daw. Tried some ideas but they all failed. Seems like that pitch band manipulation feature would work only in projects that combine midi and audio. :|

Thanks for trying helping, Nubeat7.
User avatar
kortezzzz
 
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: Ruby keyboard splitter-needs some fixes

Postby KG_is_back » Thu Feb 05, 2015 7:51 pm

what you can do is to remove all note on/off messages and send this to all midi outputs. That would mean, both/all midi outputs would share pitch bend, mod wheel etc. but would have keys filtered separately.
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Ruby keyboard splitter-needs some fixes

Postby kortezzzz » Thu Feb 05, 2015 8:28 pm

KG, you mean filtering only the 128,144 messages and sending it directly to the midi output? Well yes, it might work :)
I'll test it ASAP.

Thanks!

*Edit: tried it and it doesn't work as expected.The played notes just freak out and give random pitches, even when
the pitch isn't manipulated at all. That's really weird. Tried both green and ruby solutions and it didn't worked here (unless my ruby code was written badly).
User avatar
kortezzzz
 
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm


Return to User Examples

Who is online

Users browsing this forum: No registered users and 79 guests