I am currently working on the implementation of LV2-control-ports for the setBfree Hamond simulation. The good news: yes, can be done. The bad news: it’s not so easy to adapt this, so I will need some time.
Why I am doing this?
I have a Roland A800-pro MIDI keyboard with some MIDI-sliders. With mod-ui you can connect MIDI controllers to LV2-control-ports - so some drawbards can be used live while playing this fantastic instrument.
Regards, Holger
P.S.: BTW: How many drawbards has a real Hamond for the pedal-manual?
Currently the setBfree drawbars are assigned to MIDI CC. There is a default configuration but it can be changed by config file. The zynthian’s setBfree standalone engine use this to “map” the drawbars controls to the zynthian UI.
So, you don’t need to implement the LV2-control-ports for controlling the setBfree drawbars from your keyboard. You only have to adjust the controller configuration. Of course, if you want integration with MOD-UI and easy MIDI learning, the LV2-control ports are needed.
In that case, you will find very intereseting this thread:
Traditional consoles 2drawbars 16’ and 8’ if you need more info contact me as I have spent 50+ years working with Hammonds around the world
Mike mikemp@warwickelectronics.com
Ahhh! many thanks. Internally setBfree has an array with 9 drawbars for the pedal-manual. I was a little bit confused about that but I think they made this for easier programing.
Thanks! I wil come back later after xmas - now I will unpack @jofemodo xmas-gifts
I am nearly ready with patching setbfree for using controller with MOD-UI! Wow - it works so nice!!! Currently it can be installed by the “power-users” with getting the code from https://github.com/dcoredump/setBfreak.git
It will be automaticly installed and updated for all when ready with full testing. Perhaps it must also be renamed…
This is what the hacked setBfree now can:
Drawbars, vibrato, etc. are now LV2 controllers and can be assigned to MIDI controllers via the MOD-UI MIDI-learn feature
Removed preamp, reverb and whirl from the main setBfree as they are seperate plugins.
Added a Motor on/off LV2-controller for the whirl, so starting/stopping the whirl can also be assigned to a MIDI controller
For hackers: tuning the hardware parameters can be done inside the hardware/default.cfg file - and setBfree has sooooo much parameters for this
So, please: give it a try and some information if it is usable or what can be done better!
I could not wait for it to be included in the next Zynthian release so I tried to follow your Instructions - but sadly it looks like a lot of dependencies are missing.
Strange! Everything looks fine. I forgot to mention that a restart of MOD-UI (or the complete Zynthian) is necessary, because the plugin-list had to be re-read. Can you confirm that it does work after reloading/restarting?
I just added a pgm->lv2 converter and a bunch of full converted presets
Manually updating:
Thanks for reporting! If you find problems with setBfreak, please let me know. I have tested a lot, but I think I haven’t found all problems…
One problem I noticed: The whirl (leslie) does use lots of CPU cycles. My Raspi2 has sometimes xruns, the Raspi3 not - but also on the Raspi3 there is not much CPU time for other effects left
After doing your patch, the MOD plugin works fine, but the original setBfree engine lost some features like leslie and drawbar controls. Is it normal behavior? If its normal, how could I set back the original engine?
Hmmm… I dropped the leslie/reverb/overdrive from the setBfreak so you have to add them as separate plugins in the audio chain. But the original setBfree should not be affected by that. You should have a setBfree plugin along the setBfreak which should work as before.
Maybe there is a problem due to an internal library which is also used by setBfree - I have to check this tomorrow and will fix it.
Sorry Norbim - my fault. When installing setBfreak it overrides setBfree - not only the MOD-UI plugins but also the standalone engine. To get the standalone version back do the following:
ssh root@<YOUR-ZYNTHIAN-IP>
cd /zynthian/zynthian-sw/setBfree
make install
This overrides the setBfreak-installation! I will fix this inside the setBfreak code the next days, so both can be used side-by-side.
The fix is ready. I have renamed the LV2-plugin from b_synth to setBfreak_synth (and the other plugins also from b_* to setBfreak_*). So the original setBfree and the patched setBfreak LV2-plugins can live together on a Zynthian.
To fix your installation do the following:
cd /zynthian/zynthian-sw/setBfree
make install
cd …/plugins/setBfreak
git pull
make install
Restart Zyntian and the standalone setBfree and the modified setBfreak should work.
you mean a the jack or alsa version?
It is a complete version including the standalone version. The only thing which has the original naming scheme is the UI for OpenGL (which we don’t use).