Sysex question

Pulling out your hair? Don't know what to do or where to go? Ask in here.
Forum rules
READ: VSE Board-Wide Rules and Guidelines

If your Help request has been solved, please edit your first post in order to select the Image Topic Icon to let others know your topic has been solved.
Post Reply
Danchenka
Newbie
Newbie
Posts: 29
Joined: Mon Sep 20, 2004 6:10 am
Location: Funabashi, Japan

Sysex question

Post by Danchenka » Tue Mar 06, 2007 4:09 am

I'm trying to set up my Drehbank to be able to do some basic patch programming on my PLG150-AN board without having to use the software editor. I can get the sysex to work properly for most perameters, but I'm having a little trouble with those that have more than 128 values.

For example, the filter envelope depth goes from -128 to 127.

So, if I put in the sysex string "F0 43 10 5C 10 10 35 XX F7" I can control it. I made a change with the Drehbank software to give it the full range of increments, and I got the full range of values, but it seems like the negative values were all crowded into the bottom quarter of the knob's range instead of the bottom half. Does anybody know how to fix this?

I suspect that I probably did the wrong thing in the drehbank software to get the full range of values. Unfortunately the Drehbank's English documentation is quite poor, and I'm not an engineer. Eventually, I just took a guess about how to change it, and it seems to have almost worked, but not quite. I think I changed something that said something like "standard byte" to something like "sixteen bit" or something like that. I don't really remember that well, and I'm at work, so I can't check my music computer until later in the day. Perhaps I can show a screenshot of the Drehbank software too.

I know it's not much to go on right now, but does anybody have any ideas about how to get this sysex string into the Drehbank with all the values evenly distributed?

User avatar
Altitude
Expert Member
Expert Member
Posts: 1220
Joined: Sun Sep 24, 2006 7:25 pm
Location: Michigan

Post by Altitude » Tue Mar 06, 2007 12:49 pm

You either have to read up on how to implement NRPNs or you need to use sysex strings with two variable bits (F0 43 10 5C 10 10 35 XX YY F7)

Danchenka
Newbie
Newbie
Posts: 29
Joined: Mon Sep 20, 2004 6:10 am
Location: Funabashi, Japan

Post by Danchenka » Wed Mar 07, 2007 5:28 am

Thanks Altitude.

That's definitely getting me on the right track. After reading your comment and looking over the plga50-an manual again, I think I can get it fixed this afternoon.

Danchenka
Newbie
Newbie
Posts: 29
Joined: Mon Sep 20, 2004 6:10 am
Location: Funabashi, Japan

Post by Danchenka » Sun Mar 11, 2007 3:50 am

Well, I've gotten it to start sending out the right sysex string, but the values are all still bunched up at the end of the knob. I think it's an inherent flaw in the drehbank though. It seems that for 0-1 values, doepfer didn't put the point where the value changes in the middle of the knob, but rather all the way over at the end. So the first variable bit isn't changing until the knob is almost at the end, and the values are all screwed up. At least that's as far as I can tell from the very little English information I can find about this. Unless there's a way to change this in the software, I guess I'm stuck. I guess I have to write to Doepfer about it.

User avatar
Tidda
Junior Member
Junior Member
Posts: 154
Joined: Sat Sep 16, 2006 5:30 pm

Post by Tidda » Sun Mar 11, 2007 8:39 am

How did you set up the range on the drehbank.
Please note that although the (logical) parameter range is from -128 .. 127, the numbers that are to be sent in the sysex string are in the range 0 .. 255 ( 00..FF)
Split over two 7 bit values of course, MSB first IIRC.

Code: Select all

x=unused bits
87654321  87654321
xxxxxxx0  x0000000   =  -128  (full negative EG depth)
xxxxxxx1  x0000000   =     0  (EG depth=0)
xxxxxxx1  x0100000   =    32  (the default EG depth )
xxxxxxx1  x1111111   =   127  (full EG depth)
Tidda

Danchenka
Newbie
Newbie
Posts: 29
Joined: Mon Sep 20, 2004 6:10 am
Location: Funabashi, Japan

Post by Danchenka » Mon Mar 12, 2007 10:58 am

Here's a screenshot from the editor. After I read Altitude's suggestion, I programmed it this way and then checked it against Doepfer's own AN1X profile (which was quite similar to mine, but also doesn't work entirely correctly) I also checked the sysex string that it was sending out against the sysex string from the software editor and it seems to be the same. The fact that Doepfer themselves couldn't get it right along with this passage from SOS's review

"it seems unnatural to use a knob as an on/off switch, especially when 99 percent of its travel sets the 'on' status and only a full rotation to the right sets it to 'off'."

makes me inclined to believe that it is an inherent flaw in the drehbank. I'm guessing I'm having the same problem with the first variable that the SOS reviewer had. But with so little English documentation, I'm not really sure. Anyway, here's a screenshot of the editor. Let me know what you think.

Image

User avatar
Altitude
Expert Member
Expert Member
Posts: 1220
Joined: Sun Sep 24, 2006 7:25 pm
Location: Michigan

Post by Altitude » Mon Mar 12, 2007 12:24 pm

Post what the software editor spits out at the minimum setting, 0 and max. what you have pictured above looks like it does what you describe, half the faders motion does nothing and then all the action happens at the end.

I would set the first parameter to be exactly like the second parameter so you get 256 steps. Right now it just has 130 steps (1 and 0 on the first and 0-127 on the second)

User avatar
Tidda
Junior Member
Junior Member
Posts: 154
Joined: Sat Sep 16, 2006 5:30 pm

Post by Tidda » Tue Mar 13, 2007 6:38 pm

I'm not familiar with the editor, but if possible, I would leave out variable X1.
Then change the variable type to 16 bit, (or 14 bit depending on how they want to describe the various types)
You probably can change the (upper) range then as well to 255.

Tidda

User avatar
Tidda
Junior Member
Junior Member
Posts: 154
Joined: Sat Sep 16, 2006 5:30 pm

Post by Tidda » Tue Mar 13, 2007 6:51 pm

As I'm such a nich guy I installed the s/w.

I would say use just one variable with type: 1+7Bit: <-------7><-6543210>

Tidda

Danchenka
Newbie
Newbie
Posts: 29
Joined: Mon Sep 20, 2004 6:10 am
Location: Funabashi, Japan

Post by Danchenka » Sun Mar 25, 2007 12:36 pm

Thanks for the help guys.

Sorry to let this thread just sit here and not say anything after everybody was so helpful. I've been busy with changing jobs, so I haven't really had much time to play with my synths or be on the forums lately. But most of that hassle is behind me now, so I'll get back to this.

Altitude, here are the sysex strings from the editor

-128 = F0 43 10 5C 10 10 35 00 00 F7
-63 = F0 43 10 5C 10 10 35 00 41 F7
0 = F0 43 10 5C 10 10 35 01 00 F7
63= F0 43 10 5C 10 10 35 01 3F F7
127= F0 43 10 5C 10 10 35 01 7F F7

Tidda, that is really cool of you, I'm going to try that right now.

Danchenka
Newbie
Newbie
Posts: 29
Joined: Mon Sep 20, 2004 6:10 am
Location: Funabashi, Japan

Post by Danchenka » Sun Mar 25, 2007 1:18 pm

That worked! :D

Thanks for going out of your way to help me with that, Tidda.

Post Reply