Forum Replies Created
-
AuthorPosts
-
Sorted. Ignore.
I had enough today.
the formula for this
if midiValue is less then 13 set this value to the modulator otherwise (for example 7) do (128 – 7)*-1 == -121
is that i posted before
lt (midiValue, 13, midiValue, (128 - midiValue)*-1)
/endI want this modulator to send Negative and positive values, so i use the sysex msg
f0 42 30 41 41 01 31 01 LS MS f7
and the following formula (you supplied in the Prophecy thread), in the “Expression to evaluate for calculating midi message from modulator value” box
lt (modulatorValue, 0, 128 + (128 - abs(modulatorValue)), modulatorValue)
Everything works fine. Any positive changes in the modulator, changes the controller in the synth positively and any negative changes in the modulator result in negative changes in the synth’s controller.but i also want the same modulator to react to changes made on the controller.
All changes below zero in the synth’s controller have no effect, while all changes above zero make the modulator work alright.Now, If I add, in the “expression to calculate modulator message from midi message” box, the following formula
lt (midiValue, 13, midiValue, (128 - midiValue)*-1)
and change the sysex message for the modulator to
f0 42 30 41 41 01 31 01 xx xx f7
I can control, from the synth, the modulator in both negative and positive values.
Perfect… almost.With this combination of formula
lt (midiValue, 13, midiValue, (128 - midiValue)*-1)
and sysex message
f0 42 30 41 41 01 31 01 xx xx f7
the modulator starts acting erratically to any changes made with the mouse in Ctrlr.
i.e. doesn’t recognise negative changes, though to a random positive change may jump to -12.lt (midiValue, 13, midiValue, (128 - midiValue)*-1)
this is the working formula, my bad posting itf0 42 30 41 41 01 31 01 xx xx f7
If I have a modulator set to sysex set with the above sysex message
i can use, in “Expression to evaluate when calculating… modulator value from midi message…” the following formula
midiValue, 13, midiValue, (128 - midiValue)*-1
and get the correct/synced values from any changes on the controller in the synth with the same sysex identity, but then when I make changes on the modulator in Ctrlr, the same modulator behaves erratically.
For the modulator to behave normally, as expected, I have to change the sysex message to
f0 42 30 41 41 01 31 01 LS MS f7
but then the modulator stops receiving the negative values. The values turn to negative when MS is changed from 00 to 01.
Hope this was clearer. Apologies for skipping loads of information, I was assuming posting the LS and MS values would be sufficient alone for explaining the problem.
but with [xx xx] instead of [LS MS] the modulator doesn’t work properly when changed from Ctrlr.
Back to stage 0 😕err, i have accidentally discovered i can use [xx xx], so the formula above actually works, yey!
sort of brainstorming here…
If it was possible to use something like [xx ii], where “ii” would be used to ignore any incoming, i could use a formula in the lines of
midiValue, 13, midiValue, (128 - midiValue)*-1
That, following the line of thought posted in the Prophecy thread would result in:
midiValue, 13, midiValue,
if midi value is less then 13 then return midi value,(128 - midiValue)*-1
otherwise, anything above 13, return the equation result.so, with something like “ii” set for the MSB, any MSB entry would be ignored, and every LSB would be interpreted.
sorry if im going totally off, but im totally lost right now and just trying to figure “ifs”, if makes any sense, since nothing i do works.
from the manual
Attachments:
You must be logged in to view attached files.Here are the LS and MS changes for that specific controller.
ModV. LS MS
12 — 0c 00
11 — 0b 00
…
01 — 01 00
00 — 00 00
-1 — 7f 01
…
-11 — 75 01
-12 — 74 01You shouldn’t need installing Ctrlr again, just delete all files in your system associated with Ctrlr and you should be good to go.
EasyFind is a good tool for this, just type Ctrlr and delete everything that isn’t your panels.
http://www.devontechnologies.com/products/freeware.htmlHi ed, thanks 🙂
Im 99% sure i got your problem right… any interaction with any uiSliders gives you 0 entries in the internal and external midi monitors?
That’s quite odd, if you can get feedback alright from the lists and dropdowns!
Everything is working fine here.
I’m using the mac 1315 build as well.Sorry, I really can’t think of anything for helping you :/
Hi ed
If you download my Prophecy panel you will find many controls with negative and positive values.
You’ll find there how all atom’s tips are applied.best luck
will do, just need to tide a few little things.
I’m finished, yay!
I should say, almost… Still need to nail a workaround for sysex dumps.
Not the greatest UI as well, but everything’s there 🙂Attachments:
You must be logged in to view attached files.March 10, 2013 at 9:30 pm in reply to: ListBox and Combo Limited to x number of characters? [example panel inside] #7002Perfect! It’s working.
Thanks 🙂Have you tried rewiring Live to Logic/Cubase and slave the Virus to either one?
Just an idea, i suppose.It has happened to everyone once, sometimes is really just the little things, could have you by any chance forgotten you turned off the midi sync in the Virus and forgot to turn it back on?
I don’t know Live, i’m afraid i can’t be much more of help.
Best luck.
Found an example for changing tabs with the uiCombo, also from earlier posts, sysex dump seems to be an in development feature. Ignore previous post.
Hello,
Hoping you could help me out again Atom.
2 questions
I have a uiGroup and inside it I have a uiTabs component with several tabs configured.
Outside the uiGroup I have a uiCombo that is sending sysex messages to the Prophecy.I wanted to be able to change tabs with the uiCombo already in use.
So everytime the value changed in the uiCombo the respective tab in that other group would be displayed, see what i mean?I have seen something similar has already been done, but I don’t seem to find any like the one I have described. I.e. in the Virus, what seem to be tabs change to what seems to be uiTogglebuttons. There’s loads of Lua involved in the Virus panel, but i haven’t started digging Lua just yet, to really understand what is going on.
My other question is, how can I receive a sysex dump from the Prophecy, so all the parameters in Ctrlr are automatically configured to match the original Prophecy configuration for each patch?
Thanks for your time
It’s working now. It worked right away, right after Ctrlr window was loaded.
If you don’t mind me, I have another question, when I enter in Automation mode and open Ctrlr parameters menu in Logic, all parameters seem to be displayed, which is great, but then they’re all labelled undefined_0 undefined_1 undefined_2 undefined_3 and so on.
In Ctrlr, where can i give each parameter an exclusive identification name, if you see what i mean?Thanks for your attention.
-
AuthorPosts