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
midi predely effect
6 posts
• Page 1 of 1
midi predely effect
Hi, I´m currently evaluating Flowstone and I like it a lot so far. But I have a question regarding a Delay element.
I´m trying to build a negative midi delay. Here is what I want to achieve:
scenario 1:
I want to build a delay effect (vst) that takes in incoming midi events and outputs the same events with a negative delay of - 80 ms. Is something like that possible? I looked at the existing delay elements, but they seem to be only for audio.
scenario 2:
The same effect, but with the option to translate incoming midi events into other midi events (e.g. notes -> cc).
If someone could provide an example, I would be really grateful.
Thanks in advance
greets
I´m trying to build a negative midi delay. Here is what I want to achieve:
scenario 1:
I want to build a delay effect (vst) that takes in incoming midi events and outputs the same events with a negative delay of - 80 ms. Is something like that possible? I looked at the existing delay elements, but they seem to be only for audio.
scenario 2:
The same effect, but with the option to translate incoming midi events into other midi events (e.g. notes -> cc).
If someone could provide an example, I would be really grateful.
Thanks in advance
greets
- haraku
- Posts: 3
- Joined: Mon Oct 07, 2013 9:14 pm
Re: midi predely effect
Hi haraku, welcome to the forum.
It might be possible - but to some degree that may depend on the host software that you're using.
Normally the MIDI events and audio are sent from a host track to the VST effect "just in time" as the song cursor plays back - at most, they might be sent one ASIO buffer in advance if your host is using latency compensation (most do). Other than that slight compensation, a VST plugin has no knowledge of where the MIDI events are in the track in advance.
However, FS does have a primitive called "Delay Compensation" that can force the host to send the data early - some plugins need this because they involve too much processing to do it "instantly".
I have used it a little bit when trying to sync' plugins to a hosts song position - but did find problems with some hosts, some of the time, not using that feature of the VST spec' correctly.
The "Delay Compensation" primitive doesn't seem to get used very often, so it would be worth testing whether it's going to have the desired effect before getting too deep into the programming.
I'm kind of intrigued by this - I don't recall anyone trying it before. Presumably you're using the demo version that doesn't export VST's, so give me a little while and I'll do a rough and ready test plugin so that we can test the principle...
It might be possible - but to some degree that may depend on the host software that you're using.
Normally the MIDI events and audio are sent from a host track to the VST effect "just in time" as the song cursor plays back - at most, they might be sent one ASIO buffer in advance if your host is using latency compensation (most do). Other than that slight compensation, a VST plugin has no knowledge of where the MIDI events are in the track in advance.
However, FS does have a primitive called "Delay Compensation" that can force the host to send the data early - some plugins need this because they involve too much processing to do it "instantly".
I have used it a little bit when trying to sync' plugins to a hosts song position - but did find problems with some hosts, some of the time, not using that feature of the VST spec' correctly.
The "Delay Compensation" primitive doesn't seem to get used very often, so it would be worth testing whether it's going to have the desired effect before getting too deep into the programming.
I'm kind of intrigued by this - I don't recall anyone trying it before. Presumably you're using the demo version that doesn't export VST's, so give me a little while and I'll do a rough and ready test plugin so that we can test the principle...
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: midi predely effect
Hi trogluddite,
thanks for stepping in. Yes, I´m using the Demoversion for the next few days. I didn´t try to export any vsts yet, but good to know it wouldn´t be possible anyhow (I just read the fine print on the demo download site).
It would be great if there would a possibility. I have a lot of external midi gear that I want to sync with Reaper. Unfortunatly Reaper has a lot of problems with that, most of them could be worked around if there were something like negative delay available. So if this works I plan to create several midi plugins with a negative delay.
Thanks a lot for your help
Greets
thanks for stepping in. Yes, I´m using the Demoversion for the next few days. I didn´t try to export any vsts yet, but good to know it wouldn´t be possible anyhow (I just read the fine print on the demo download site).
It would be great if there would a possibility. I have a lot of external midi gear that I want to sync with Reaper. Unfortunatly Reaper has a lot of problems with that, most of them could be worked around if there were something like negative delay available. So if this works I plan to create several midi plugins with a negative delay.
Thanks a lot for your help
Greets
- haraku
- Posts: 3
- Joined: Mon Oct 07, 2013 9:14 pm
Re: midi predely effect
Seems promising - I just tried a test VST inside Reaper. Two MIDI tracks in parallel with exactly the same VST synth and MIDI data. When I insert the plugin on only one track, it pre-delays the MIDI perfectly.
Here's the test design - it's zipped so that I can include a VST .dll that you can test with your gear. Just type in a number from 0-1000 to set the pre-delay time in milliseconds.
The audio inputs and outputs on the VST are just dummies - some hosts don't like VST's with no audio connections - but that shouldn't be a problem if you're just driving a VST synth with it.
If you get a reliable delay with this plugin then you'll have no problem meeting the rest of your needs - there are plenty of folks here with experience of "MIDI bending" and making smart interfaces.
Good luck!
Here's the test design - it's zipped so that I can include a VST .dll that you can test with your gear. Just type in a number from 0-1000 to set the pre-delay time in milliseconds.
The audio inputs and outputs on the VST are just dummies - some hosts don't like VST's with no audio connections - but that shouldn't be a problem if you're just driving a VST synth with it.
If you get a reliable delay with this plugin then you'll have no problem meeting the rest of your needs - there are plenty of folks here with experience of "MIDI bending" and making smart interfaces.
Good luck!
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: midi predely effect
Absolutely perfect! I tried several Predelay VSTs in the past, but non of them were able to work with midi. Your test plugin did exactly what I wanted.
Many Thanks for your efforts.
Many Thanks for your efforts.
- haraku
- Posts: 3
- Joined: Mon Oct 07, 2013 9:14 pm
Re: midi predely effect
You're welcome - it's been an interesting experiment, and I reckon it could open up some interesting possibilities, even with virtual instruments, so thank you for a bit of inspiration!
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 74 guests