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
Setup priority on MIDI Execution - Delay?
13 posts
• Page 1 of 2 • 1, 2
Setup priority on MIDI Execution - Delay?
Is there a way (in this case) to always output the MIDI (in the upper part) before the MIDI in the lower part?
I need priority on execution here due to the application I'm making. Is there any MIDI delay?
I need priority on execution here due to the application I'm making. Is there any MIDI delay?
- Nowhk
- Posts: 275
- Joined: Mon Oct 27, 2014 6:45 pm
Re: Setup priority on MIDI Execution - Delay?
Well, this is what I've done with Ruby:
not sure how much consistency this code will be, but seems to works.
How is managed the output time and @ins array? Are unique for each event handler? Or can they mess each others?
not sure how much consistency this code will be, but seems to works.
How is managed the output time and @ins array? Are unique for each event handler? Or can they mess each others?
- Nowhk
- Posts: 275
- Joined: Mon Oct 27, 2014 6:45 pm
deleted by uploader
delete
Last edited by tiffy on Mon Aug 24, 2015 7:36 pm, edited 1 time in total.
-
tiffy - Posts: 400
- Joined: Wed May 08, 2013 12:14 pm
Re: Setup priority on MIDI Execution - Delay?
tiffy wrote:Did you try to change the "link Order" of the two Midi Inputs on the "setPort" primitive?
Uhm, how can I do it? Order on the links?
- Nowhk
- Posts: 275
- Joined: Mon Oct 27, 2014 6:45 pm
deleted by uploader
deleted
Last edited by tiffy on Mon Aug 24, 2015 7:36 pm, edited 2 times in total.
-
tiffy - Posts: 400
- Joined: Wed May 08, 2013 12:14 pm
Re: Setup priority on MIDI Execution - Delay?
tiffy wrote:The easiest is to connect the top link first and then the bottom link or alternatively hover mouse on the left side "M" of the setPort primitive and left click on it once only. You will see the marker flip to the lower Midi link.
In this way?
Nothing change. The upper part is trigger later
- Nowhk
- Posts: 275
- Joined: Mon Oct 27, 2014 6:45 pm
deleted by uploader
deleted
Last edited by tiffy on Mon Aug 24, 2015 7:37 pm, edited 2 times in total.
-
tiffy - Posts: 400
- Joined: Wed May 08, 2013 12:14 pm
Re: Setup priority on MIDI Execution - Delay?
tiffy wrote:Yes.
I want the upper part triggered before And also if I switch the cables, nothing change: the lower part always output as first.
tiffy wrote:But if this doesn't work then I cannot help you any further as I never worked with Midi.
No matter, thank you for the help anyway
Any Flowstone/DSP master can tell me if my Ruby approch is ok? I don't know in deep how pins/events/time/arrays are processed, honestly.
- Nowhk
- Posts: 275
- Joined: Mon Oct 27, 2014 6:45 pm
Re: Setup priority on MIDI Execution - Delay?
Hey Nowhk,
How's it going? Pleased to meet you.
I can help here I think.
I am familiar with Ruby MIDI.
In the code you have written,
it doesn't actually delay the second one I think.
It allows the signal to pass through without change.
I have a problem concieving of the function you wish to create.
Do you mean that the 2 midi ins receive a message at the same time, and then the order is created?
If you'd like, you can send me the schematic in a pm and detail what you are trying to do.
Tiffy is quite right that we can use a trick here if you are happy to create the message with the 'midi event'
prims. You can do this link order thing with trigger input pins of the 'MIDI event'.
But I would like a larger picture of what you wish to accomplish.
However, I will make you MIDI delays in green and Ruby prolly.
I'll be back later today to this thread with them.
How's it going? Pleased to meet you.
I can help here I think.
I am familiar with Ruby MIDI.
In the code you have written,
it doesn't actually delay the second one I think.
It allows the signal to pass through without change.
I have a problem concieving of the function you wish to create.
Do you mean that the 2 midi ins receive a message at the same time, and then the order is created?
If you'd like, you can send me the schematic in a pm and detail what you are trying to do.
Tiffy is quite right that we can use a trick here if you are happy to create the message with the 'midi event'
prims. You can do this link order thing with trigger input pins of the 'MIDI event'.
But I would like a larger picture of what you wish to accomplish.
However, I will make you MIDI delays in green and Ruby prolly.
I'll be back later today to this thread with them.
-
nix - Posts: 817
- Joined: Tue Jul 13, 2010 10:51 am
Re: Setup priority on MIDI Execution - Delay?
Here is a demo of the link order setting priority->
The links out of the button set the order.
Will be back with the delay ones soon.
The links out of the button set the order.
Will be back with the delay ones soon.
-
nix - Posts: 817
- Joined: Tue Jul 13, 2010 10:51 am
13 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: Google [Bot] and 39 guests