Message
Re: OMG:VFX and sysex control
2008-05-30 by rpcfender
> Tonight, I discovered what the $02 was for you were wondering about.
> It is a fine mess, well actually a good one.
> Here goes, the vfx has, if you will, 6 voices (waves etc) to make up 1
> sound or patch.
> So... that $02 is because I happened to be on 3rd voice!
> Each voice has
> 1. a digital osc.
> 2. two filters.
> 3. on LFO
> 4. three complex(6step,6level) envelop generators.
> 5. all the modulation routings and amounts for the above.
> Up to this point, I have the 1 entire bcr patch filled with controls.
> What I have here is a monster!
> I am going to need 6 bcr presets, one for each voice. Now many times
> I won't need those say 4,5,6 voices... but will make the presets for
> them anyway.
> Wow!
>
> I am officially overwhelmed... by the enormity of the editing task
> that lay before me.
>
> What I need now is a way to edit the sysex string, ie a global replace
> kind of thing for all the values for voice #1,2,3,4,5,6 presets
> The only thing that changes for these strings going from voice#1 to
> voice#2 is the $02 in the sysex string located in the 10th position.
> So, I need a way to just replace that small hex bit with $00 for the
> all the values at the 10th position for the voice#1 preset.
> Then go on to $01 for voice#2 preset, then $02, then $03 etc...
I use PSPad (great freeware text editor) and have made a template that shows up the various bits of code in pretty colours. You are welcome to a copy if you want it.
The simplest way to do it is to use a unique string and then for each voice file copy then use global replace.
.tx $F0 $0F $05 $00 voicenumber $01 0 12 1 val12.13 val8.11 val4.7 val0.3 $F7 (I'm still not sure what the correct tx you are using)
Search & replace "voicenumber" with $00 $02 (Feel free to shorten the unique word vox perhaps)
Always edit the 'master' copy with "voicenumber" in it. It means that you have to copy the file and do the global replace then load it into the editor, but hey, that's the joy of it.
I would have two files open in PSPad. The master and the one for voice 1. CtrlA to select all the text in the master.bc2, CtrlC to copy. Tab over to voice1.bc2 CtrlA to select all in voice1 CtrlV to paste over the highlighted stuff ie replace all with the new edited stuff.
Search & replace all instances of "voicenumber" with $00 $01 . Save the voice1 file
Alt Tab to flip over to the BC editor, load it in and send.
Test away
Mark's editor may have a better way of doing this, bit I'm not good enough at using it to help you there.
All the best
Royce
Attachments
- No local attachments were found for this message.