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

Problems with sysex messages (not solved)

For general discussion related FlowStone

Re: Problems with sysex messages

Postby carpenzano » Thu Mar 05, 2020 3:50 pm

tektoog wrote:Fingers crossed! ;)

Thanks for your fingers crossed :-), but I haven't found anything.
All the old archive's files dealing with sysex messages simply use the StrSysex primitive but there is no mention about the fact that they have been compiled as standalone or as VST.
Some files and many posts in the old archive make reference to a possible bug in the StrSysex primitive but it consisted "only" in sending different values from those received under certain circumstances.
I am in an impasse.
Could you try to compile the simple test file I have attached to my first post as a VST and check if it works?
I am using FlowStone 3.0.8.1 Skylark. Is it possible that everything is ok under a different release?
Many thanks for your help.
Giovanni
carpenzano
 
Posts: 12
Joined: Mon Jul 23, 2012 12:24 pm
Location: Milan (Italy)

Re: Problems with sysex messages

Postby carpenzano » Fri Mar 06, 2020 6:33 pm

This issue is becoming a nightmare.
I have tried not to use the StrSysex primitive, writing a very simple Ruby code, the same shown at pag. 205 of the FlowStone user guide:

m = Midi.new "F0411000006412180020250023F7"
output m

and I have got the same results: the standalone (exe) version works, the VST not at all.
So it's not a problem with the StrSysex primitive.
I can't imagine where the problem is.
Any idea?
Thanks
Giovanni
carpenzano
 
Posts: 12
Joined: Mon Jul 23, 2012 12:24 pm
Location: Milan (Italy)

Re: Problems with sysex messages

Postby tektoog » Fri Mar 06, 2020 7:21 pm

Hey,
Unfortunately, I also run FS 3.0.8.1... and I never used Sysex…
By pure hasard, have you tried to pass the message thru a text prim or a string prim before sending it to the output?
If yes, remove it. If not try to put one…
Put an Sample and Hold prim and an afterload prim, so you can be sure the data is sent on opening… Most of the time projects work well in FS but need afterloads to run well in DAWs…
Hope this helps ;)
"Essential random order for chaotic repetitive sequences"
User avatar
tektoog
 
Posts: 141
Joined: Sat Oct 30, 2010 11:49 pm
Location: Geneva - Switzerland

Re: Problems with sysex messages

Postby trogluddite » Fri Mar 06, 2020 7:33 pm

That confirms that the problem is exactly as guessed in the Reaper forum thread I linked to.

The VST plugin standard handles "normal" 3-byte MIDI events and SysEx events using two separate buffers - so that 3-byte events can be time-stamped for precise timing, which would be inappropriate for very large SysEx dumps which might take a long time to send.

What the bug indicates is that FS is trying to send SysEx using the buffer intended only for 3-byte messages, instead of the proper SysEx buffer. Hence it's fine for executables and inside FS, because the data is then sent straight to the hardware driver without buffering.

Unfortunately, it also means that there's nothing that we can do about it - the "wrapper" that turns a schematic into a plugin is hard-coded by DSPr, so only they could change it, which certainly isn't going to happen for any of the current versions (though I will sound out the Alpha-testers to see if it might be fixed for the new version when it's released).
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Problems with sysex messages

Postby carpenzano » Fri Mar 06, 2020 9:36 pm

Many thanks to both of you.
Trog, I am sure you a right. So we have to wait for a new release of FS, hoping that this big bug will be fixed.
I have to confess that, remembering the 64bit problem, I can’t feel very optimistic (moreover three emails on the matter to the dspr support without any answer).
Thanks again
Giovanni
carpenzano
 
Posts: 12
Joined: Mon Jul 23, 2012 12:24 pm
Location: Milan (Italy)

Re: Problems with sysex messages (not solved)

Postby adic » Fri May 15, 2020 12:53 am

The same problem occurred, when I tried to make a VST for DX7 sysex controller.
As to sysex plugin, I think JUCE is better.
https://forum.juce.com/t/how-to-make-a- ... lved/15231
I tried it. See the picture (VST on Reaper).
If you are interested, I'd upload the c++ source file.
Attachments
juce_sysex_test.jpg
vst sysex
juce_sysex_test.jpg (59.36 KiB) Viewed 16016 times
adic
 
Posts: 27
Joined: Fri Nov 02, 2012 6:37 pm

Re: Problems with sysex messages (not solved)

Postby Walter Sommerfeld » Wed Sep 02, 2020 5:58 pm

Hi Luddite,

i also had a problem with sending SysEx Data...

After trying different ways of communicating between two FS Appz and wasting two days :(

I found out that SysEx only accepts values of 0..127, hex 00..7F between F0..F7.

Your Midi Monitor accepts even higher = wrong values :(

So please: detect values > 7F and show a SysEx error

btw: i like ur Monitor anyways - nice showing the SysEx Data after dblclick :)

Keep on doing!
Walter

Hint: I use MSB/LSB values from now on... ;-)
User avatar
Walter Sommerfeld
 
Posts: 249
Joined: Wed Jul 14, 2010 6:00 pm
Location: HH - Made in Germany

Re: Problems with sysex messages (not solved)

Postby trogluddite » Fri Sep 04, 2020 9:04 pm

Hi Walter, nice to see you around again!

TBH, I don't think it ever occurred to me that FS would allow illegal content in the messages (though, of course, there's nothing to stop the hex string from containing them!) Thanks for pointing this out - a warning would certainly be useful!
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Problems with sysex messages (not solved)

Postby MichaelBenjamin » Sat Sep 05, 2020 3:13 am

.
Last edited by MichaelBenjamin on Mon Sep 21, 2020 11:00 am, edited 1 time in total.
MichaelBenjamin
 
Posts: 275
Joined: Tue Jul 13, 2010 1:32 pm

Re: Problems with sysex messages (not solved)

Postby MichaelBenjamin » Sat Sep 05, 2020 3:16 am

.
Last edited by MichaelBenjamin on Mon Sep 21, 2020 11:01 am, edited 1 time in total.
MichaelBenjamin
 
Posts: 275
Joined: Tue Jul 13, 2010 1:32 pm

PreviousNext

Return to General

Who is online

Users browsing this forum: No registered users and 106 guests