Home › Forums › General › Using Ctrlr › [noob alert] CTRLR sysex implementation question
- This topic has 5 replies, 2 voices, and was last updated 11 years, 8 months ago by Hecticcc.
-
AuthorPosts
-
August 28, 2012 at 7:27 pm #702
Hi there,
First of all bigup to Atom for this whole project, loving it!
I came upon this site when i was looking for an editor for my juno, Layzer’s[/url:2hgzrner] pg300 rocks btw ” title=”Very Happy” />I started messing about in CTRLR after analyzing how the panels are made and got quite far, but now i’m a bit stuck on a specific sysex problem….
I am not new to sysex (used cubase a long time because of the device panels), but i am now trying to make a panel for my recently accuired emu 6400 and i cannot get my head around on how to map the parameter value changes because the formatting used by emu is not-so-standard-practice.EXAMPLE:> {F0,18,21,dd,55,01,02,<xx,xx,yy,yy>,<Checksum>,F7}
F0 = sysex message
18 = EMU ID
21 = E4 ID
dd = Device ID
55 = Special Editor designator byte01 = Command::Parameter Value Edit
02 = Byte count(number of Byte pairs)
{xx,xx} = Parameter ID (LSB first)
{yy,yy} = Parameter Data<Checksum> = 1 Byte = XOR(1’s compliment) of sum of {<xx,xx,yy,yy>}
= 7F is ignore checksum flag.F7 = EOX
This message contains only 1 packet.I want to be able to change the {yy,yy} data, but i cannot seem to find the way to do this.
I have tried using the sysex formula editor but to no avail….I guess what i’m looking for is a way to inject values (as hex) coming from knobs/faders/sliders/comboboxes into these specific fields of the sysex string.
I hope someone can shed some light on this. I’m using zoeos for editing the emu now but it’s buggy and editing on the front panel is ok for basic tasks but full-on editing takes aaaages…
Kind regards,
Hec
August 28, 2012 at 9:18 pm #4772What’s the format of the parameter data, it’s two bytes so it’s possible it’s a split, so something like "LS" "MS" in those bytes might work for parameter ID=0:
[code:t9xp26n0]
{F0,18,21,dd,55,01,02,00,00,MS,LS,7F,F7}
[/code:t9xp26n0]August 29, 2012 at 8:50 am #4773Wow that was fast ” title=”Smile” />
Yes, the data is 14-bit signed or unsigned number, split into two 7-bit midi bytes, sent LSB first.
It always has to be followed by a checksum bit, but this can be set to ignore (7F) and then the termination byte (F7)comes after this checksum.I do not know how to interpret your code example (i am not a programmer more of a tinkerer), do you mean i can write the formula with LS and MS as "placeholders" in the sysex code and refer the controller to them by using this "parameter id" thing?
Sorry for the noobishness
ps: i did some analysing/testing using midi-ox and am getting the effects i want when sending static sysex messages, maybe i can use the multi message list to define possible values? Will be long lists though….
pps: i attached a document i found listing the sysex specs for whoever might also be interested in giving this a go.
August 29, 2012 at 9:06 am #4774[attachment=0:3a8yhiip]sysex_example.jpg[/attachment:3a8yhiip]
August 29, 2012 at 10:06 am #4775” title=”Very Happy” />
Working!!!
Thank you so much Atom!Now i can start mapping everything out and finally be able to unleash this beast of a sampler to the max ” title=”Cool” />
August 31, 2012 at 11:57 am #4776Getting there but i have 2 problems at the moment:
I am building the preset/sample/voice part of the editor, wich involves adding/removing/copying presets/voices/samples.
I use IncDecbuttons to select preset/program/sample numbers, this works fine, but for some functionality (adding/removing voices in a selected preset) i would like to be able just to make one button that says "add new voice in selected preset" – like in the hardware front panel menu.Is there a way to "fetch" a value of a specific CTRLR modulator with another modulator? – in this case the value of the inc/dec button i use to select the preset?
Example:
IncDecbutton:
F0 18 21 01 55 01 02 5F 01 xx yy [/color:1bb0j6nv] 6B F7Add new voice button (simple button)
F0 18 21 01 55 20 xx yy [/color:1bb0j6nv] F7I would like to fetch the xx yy[/color:1bb0j6nv] value and insert this in the string of the "add new voice to selected preset" button so i can navigate to the desired voice using the IncDedbutton, hit the "add voice" button and have a new voice in the right place.
I have searched the site and manual but did not find a way…
Also i have a question about negative modulation: I have found some answers here as to why it does not work (yet) but does anybody know of a workaround?
Thanks for reading,
Hec
-
AuthorPosts
- The forum ‘Using Ctrlr’ is closed to new topics and replies.