I’m fading instruments in and out from verse to chorus using volume widgets and #cc7. Would it be possible to have a choice of registering volumes as midi numbers 0 to 127 on the instrument panel instead of dB? It is quite hard to be precise when setting volumes as a midi command when the slider shows dB.
I am not sure I understand exactly what you are doing, but if you are using out gain control for example - it is not behaving linearly and the dB value is the relevant part of it.MIDI value that you are sending to it is just one way of controlling that widget. You could be using OSC or scripting for example.
When you are entering the value in widget inspector however - you can enter a MIDI value by appending the letter “m” to it.
For example - a MIDI value of 90 should be approximately 0dB. To enter it into the field - simply type in 90m and press enter.
Hope this helps
Hi Nebojsa. I didn’t fully understand what you said, so am not sure if your explanation helps me, so I thought I’d explain further. When I use a mix of guitar and strings, I often start a song with guitar only, then bring in the strings gradually building the song as it progresses. I’m using OnSong as a midi controller by entering cc#7 values in the chorus and verse headings. The messages are sent as I scroll through the song using a Bluetooth pedal. If I move the volume slider widget attached to the strings to increase the volume a tad, it shows a dB value which I then need to input as a midi cc# in OnSong. I never get it quite right and thought it would be great to have the volume slider register a midi value when I move it so that I could then read off that value and input the same data into OnSong and get it exact automatically. I thought that this attribute could be an option in settings so that a user could choose.
So basically, widget values go from 0 to 100% (and technically, under the covers, the values goes from 0.0 to 1.0) so if you knew the widget value, you could just multiply it by 127 to see the equivalent MIDI value. Trivial to do this with a simple GPScript and in fact there’s even a built-in function called ParamToMidi that does this.
Give your widget a GPScript name, e.g. VolumeWidget
Create the following script:
Var
VolumeWidget : Widget
// Called when a widget value has changed
On WidgetValueChanged(newValue : double) from VolumeWidget
Print(ParamToMidi(newValue))
End
Compile the script
Open the Script logger window.
Every time you move the widget, the MIDI value that corresponds to your widget value will be displayed in the logger window
Thanks David. I haven’t used scripts yet so am unfamiliar with them. I have 250 rackspaces each one representing a song. Looks like I would have to follow your suggestions that number of times. Seems like a lot of extra time involved and not really worth the effort. I’ll just have to carry on guessing as I have been doing.
The other obvious way to accomplish this is to use a MIDI expression pedal and assign it to control your volume widget. You could then use the global MIDI monitor to see the current value of that pedal as you use it to change the volume widget.