I want to customize the rotary effect on setBfree. I’d like to map the speed and acceleration/deceleration parameters to MIDI-CC and Zynth-control knobs so that I can “dial in” the sound that I am looking for. I am used to using the expression wheel to set the absolute speed of the effect, and just dial it back a little bit if the top speed is too fast for what I want.
Not finding anything in the on-screen menu I tried my hand at making changes to the engine. I modified the zyngine/zynthian_enginge_setbfree.pl and setBfree/midimap.xml and got as far as seeing the desired controls on my screen, but nothing I changed caused a change to the sound.
Does anyone have any suggestions on how to go about getting this to work, or where the limitations are?
Did a little more digging, and got setBfree running under Windows 10. I managed to map my Oxygen25 MIDI controller to it and did some testing.
It seems that the Leslie cabinet parameters cannot be MIDI mapped, and that changing them causes the organ engine to be restarted.
On the bright side, I was able to quickly play notes, and try settings and came up with a .cfg file that I should be able to load onto my zynthian to get the sound I want. Not quite as good as being able to change it on the fly, but good enough use.
The leslie cab for setBfree is available as a separate lv2, you might need to enable it in the webui but it’s possible you could use that instead ans see if it’s mappable.
Will the whirl speaker XT be available as an LV plugin or inside the mod part, too?
I’d like to set speed parameters for low and fast rpm as well as acceleration.
I used my Neo Instruments Ventilator for Leslie simulation, but the parameters of this are different from the stock rpm and acceleration parameters…
Hi, sorry to extend this topic somewhat further:
I’d like to have the extended leslie speaker plugin as an effect to use it with pianoteq sounds. I got used to my Neo Instruments Ventilator that had other parameter settings than the normal jalv leslie plugin as follows:
Currently you can’t map all the parameters to MIDI CC, but you can set the values in the config file quite easily.
Simply take a look to the default config at:
/zynthian/config/setbfree/cfg/default.cfg
For instance, for the leslie you have:
################################################################
##
## Rotary speaker simulator
##
################################################################
##
## The slow rotation speed of the horn in revolutions per minute.
##
#whirl.horn.slowrpm=40.32
##
##
## The fast rotation speed of the horn in revolutions per minute.
##
#whirl.horn.fastrpm=423.36
##
##
## The spool-up rate of the horn; time constant - seconds
## Time required to accelerate reduced by a factor exp(1) = 2.718..
##
#whirl.horn.acceleration=0.161
##
##
## The spool-down rate of the horn; time constant - seconds
## Time required to decelerate reduced by a factor exp(1) = 2.718..
##
#whirl.horn.deceleration=0.321
##
##
## The slow rotation speed of the drum in revolutions per minute.
##
#whirl.drum.slowrpm=36.0
##
##
## The fast rotation speed of the drum in revolutions per minute.
##
#whirl.drum.fastrpm=357.3
##
##
## The spool-up rate of the drum; time constant - seconds
## Time required to accelerate reduced by a factor exp(1) = 2.718..
##
#whirl.drum.acceleration=4.127
##
##
## The spool-down rate of the drum; time constant - seconds
## Time required to decelerate reduced by a factor exp(1) = 2.718..
##
#whirl.drum.deceleration=1.371
##
##
## The radius of the horn in centimeters (1 cm = 2.54 inches).
##
#whirl.horn.radius=17.0
##
##
## The radius of the drum in centimeters.
##
#whirl.drum.radius=22.0
##
##
## The volume at which the horn is mixed in with the drum sound.
##
#whirl.horn.level=0.7
##
##
## The fraction of the horn level that leaks off the base of the horn.
## It is band-pass filtered, but not subjected to Doppler effect or delay.
## The value is multiplied by whirl.horn.level before it is applied.
##
#whirl.horn.leak=0.15
##
##
## The drum low-pass IIR filter specification (see eqcomp.h).
## This is a actually a high-shelf filter with negative gain in the
## passband.
##
#whirl.drum.filter.type=8
#whirl.drum.filter.hz=811.9695
#whirl.drum.filter.q=1.6016
#whirl.drum.filter.gain=-38.9291
##
##
## The horn filter is implemented with two IIR filters followed by
## two comb filters with feedback. The IIR filters give the basic band-pass
## shape of the driver and horn, while the comb filters break up the
## frequency response and gives some characteristic resonance of the
## physical system. The IIR filters are not in band-pass configuration,
## but consists of a low-pass stage followed by a low-shelf with negative
## gain. The band-pass response is created where the two filters overlap.
##
## The a horn IIR filter specification (see eqcomp.h). Note that the gain
## parameter does not apply to type 0.
##
#whirl.horn.filter.a.type=0
#whirl.horn.filter.a.hz=4500.0
#whirl.horn.filter.a.q=2.7456
#whirl.horn.filter.a.gain=-30.0
##
##
## The b horn IIR filter specification (see eqcomp.h).
##
#whirl.horn.filter.b.type=7
#whirl.horn.filter.b.hz=300.0
#whirl.horn.filter.b.q=1.0
#whirl.horn.filter.b.gain=-30.0
##
##
## The a horn comb filter. The delay unit is integer nof samples.
##
#whirl.horn.comb.a.feedback=-0.55
#whirl.horn.comb.a.delay=38
##
##
## The b horn comb filter.
##
#whirl.horn.comb.b.feedback=-0.3508
#whirl.horn.comb.b.delay=120
But don’t modify this file directly because it will be overwritten when updating! Instead it’s a lot better to put your changes on this file:
/zynthian/config/setbfree/cfg/zynthian.cfg
that will be kept when updating.
Regarding what parameters can be assigned to MIDI-CC, you should take a look to the source code:
As you can see, there are a bunch of them, including whirl acceleration/deceleration, but not maximum speeds.
If you assign new paramters to MIDI-CC, you should customize the engine code too for having the new controllers in the UI. In such a case, please, make a pull request and i will merge your changes in the master branch.
I’ve enabled x42, and it does allow one to control the accel and rpm parameters like I would like to. I’m having trouble getting the footpedal, or modwheel to set “speed” like the normal setBfree allows for. I “unmapped” those CC’s from setBfree, and turned off the built-in rotary.
Any suggestions?
I can’t figure out how .autogen.cfg is created. Currently it has the content from /zynthian/config/setbfree/cfg/zynthian.cfg but when I modified zynthian.cfg the changes did not show up.
For now, I’m going to copy zynthian.cfg to …/.autogen.cfg but there is also a .autogen.cfg in the cfg directory.
Don’t touch the autogen.cfg. As the name suggest, it’s an autogenerated file and will be overwriten every time you load the engine.
If you want to add some custom config to setBfree, you have to put it inside “zynthian.cfg” and restart the engine.
reviving this thread because I hope to be able to bypass the internal rotary section using the method described here.
As already discussed some times, the goal would be to insert another tube/overdrive plugin and then place the separate x42-whirl plugin after that to have the signal chain in the right order again. Or, hypothetically, use the clean sound (no overdrive, no leslie) and plug into a real mighty Leslie speaker, if one has that standing around in their wardrobe.
I edited /zynthian/config/setbfree/cfg/zynthian.cfg ,
and threw in stuff like
… saved the file, inserted a new setbfree layer. Nothing happened. Even restarted the Zynthian. Same result, nothing changed. Is it important in any way which snapshot is loaded? Or maybe the GUI has some own defaults, anything like that?
Tried the same thing on /zynthian/zynthian-data/setbfree/cfg/zynthian_my.cfg , nothing different though.
I am quite sure I am just missing something small, probably stupid. But I can’t guess from the documentation there is. Can anyone give me a hint?