Anyone interested in an LV2 FM synth?
Moderators: MattKingUSA, khz
Anyone interested in an LV2 FM synth?
Hi. This is my first post here. Been interested in LV2 softsynth development lately (I only use Linux on my machines), mostly for personal amusement.
It's written in C++11. The FMSynth core itself is fully templated (number of operators and algorithms), so it's trivial to extend. It's not modeled after any particular synth so the implementation is quite straight forward.
Working on a GTKmm UI, running here in jalv. Missing a visual representation of the algorithms, but otherwise it works fairly well atm.
http://i.imgur.com/GAeKmRO.png
Considering releasing the source when it's more finished. Is there any demand for an open-source LV2 FM synth like this?
It's written in C++11. The FMSynth core itself is fully templated (number of operators and algorithms), so it's trivial to extend. It's not modeled after any particular synth so the implementation is quite straight forward.
Working on a GTKmm UI, running here in jalv. Missing a visual representation of the algorithms, but otherwise it works fairly well atm.
http://i.imgur.com/GAeKmRO.png
Considering releasing the source when it's more finished. Is there any demand for an open-source LV2 FM synth like this?
- autostatic
- Established Member
- Posts: 1994
- Joined: Wed Dec 09, 2009 5:26 pm
- Location: Beverwijk, The Netherlands
- Has thanked: 32 times
- Been thanked: 104 times
- Contact:
Re: Anyone interested in an LV2 FM synth?
Hello Maister,
Welcome! And yes, more synth plugins are always welcome! Do you have any sound samples? And could you explain a bit more what the synth is capable of?
Welcome! And yes, more synth plugins are always welcome! Do you have any sound samples? And could you explain a bit more what the synth is capable of?
Re: Anyone interested in an LV2 FM synth?
I'm interested! The UI could be more informative though. Personally I find the UI of the operator synth from ableton live to be very intuitive and helpful.
- sysrqer
- Established Member
- Posts: 2520
- Joined: Thu Nov 14, 2013 11:47 pm
- Has thanked: 319 times
- Been thanked: 148 times
- Contact:
Re: Anyone interested in an LV2 FM synth?
I'm interested and I would definitely echo everything tatch said ^^^
Last edited by sysrqer on Sat Jul 26, 2014 10:55 pm, edited 1 time in total.
Re: Anyone interested in an LV2 FM synth?
Will post some sound samples later. Still experimenting quite a bit, since I don't know much yet about programming FM synths (as in, get the sounds I want), and I can't use ready-made patches obviously :pAutoStatic wrote:Hello Maister,
Welcome! And yes, more synth plugins are always welcome! Do you have any sound samples? And could you explain a bit more what the synth is capable of?
It's a pretty basic FM synth I suppose:
- It's an N-operator synth with some pre-selected algorithms you can choose from (kinda like the DX7). Changing number of operators and available algorithms can be done in compile-time.
- Carriers can be stereo-panned.
- There is an envelope for each operator, with rates and target points. R1 is the time it takes to get to level T1, R2 time for T2, etc. R4 is release time (T4 is implied to be 0). It's only linear at the moment though, except for the release stage which is exponential.
- Amplitude and frequency of each operator can be modulated by the LFO with configurable LFO sensitivity. The LFO only supports sine waves currently.
- Keyboard scaling can change amplitude of operators based on which key is pressed (Mid-point and scaling factors for upper and lower part of keyboard), velocity sensitivity (at 100% it's fully dependent on velocity, at 0% it will always have full volume), and mod wheel sensitivity (same scheme as velocity).
- It also supports sustain (must have for me, since I'm a piano guy ).
Re: Anyone interested in an LV2 FM synth?
I use LV2::GUI from lv2-c++-tools, which actually passes the raw C GtkWidget to the host. Shouldn't be a problem. Tested in jalv.gtk and Ardour3 and both work fine. Actually writing the UI in C would be hilariously painful.falkTX wrote:As a plugin host developer, I recommend you to stay away from gtkmm.Maister wrote:Working on a GTKmm UI, running here in jalv. Missing a visual representation of the algorithms, but otherwise it works fairly well atm.
http://i.imgur.com/GAeKmRO.png
Please use gtk only, the C stuff.
Also, make sure to NOT use lv2 instance/data access features.
If you do that, hosts will happily load your plugin.
Re: Anyone interested in an LV2 FM synth?
Yes, works in jalv.qt and qtractor. Not sure how they do it if the main loop is Qt, but hey. Haven't heard about lvtk before. Looks easy enough to move to that if lv2-c++-tools is deprecated. EDIT: Updating to lvtk was easy enough. Still works.
Re: Anyone interested in an LV2 FM synth?
Tried making a sound with 8 operators. On vacation atm, so I don't have my el-piano, but at least I can play a MIDI. Uploaded it here. https://soundcloud.com/zoned-music/fm-synth-experiment. Uses some basic Calf Delay/Reverb/Chorus effects.AutoStatic wrote:Hello Maister,
Welcome! And yes, more synth plugins are always welcome! Do you have any sound samples? And could you explain a bit more what the synth is capable of?
- bluebell
- Established Member
- Posts: 1910
- Joined: Sat Sep 15, 2012 11:44 am
- Location: Saarland, Germany
- Has thanked: 111 times
- Been thanked: 116 times
Re: Anyone interested in an LV2 FM synth?
It would be ultra cool if it could load dx7-patches (like hexter). The additional parms (like operators' pan) could be set to a default value. So users would have plenty of sounds and could pimp them further.
Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/
Re: Anyone interested in an LV2 FM synth?
Changed from hard-coded FM algorithms to a generic "everything can modulate everything" model. Kinda like FM8 I suppose, but with 8 operators.
http://i.imgur.com/bo5bZCW.png
Can be prettier, but it's a start :p
Made a more interesting sound with this setup. Improvised some random stuff with it. https://soundcloud.com/zoned-music/fm-s ... periment-1
http://i.imgur.com/bo5bZCW.png
Can be prettier, but it's a start :p
Made a more interesting sound with this setup. Improvised some random stuff with it. https://soundcloud.com/zoned-music/fm-s ... periment-1
Dunno how easy it is to just convert patches, but it would be very nice indeed. I'm still looking how to create a good rhodes sound Not sure if it's possible without big changes, though. This synth is actual FM (phase integration) and not PM. I don't think feedback works the same way in FM and PM, but maybe the differences can be faked with more operators ...bluebell wrote:It would be ultra cool if it could load dx7-patches (like hexter). The additional parms (like operators' pan) could be set to a default value. So users would have plenty of sounds and could pimp them further.
- sysrqer
- Established Member
- Posts: 2520
- Joined: Thu Nov 14, 2013 11:47 pm
- Has thanked: 319 times
- Been thanked: 148 times
- Contact:
Re: Anyone interested in an LV2 FM synth?
This is really exciting, I like the idea of the change from being hard-coded.
Re: Anyone interested in an LV2 FM synth?
It'd be interesting to try the hardcoded version. Maybe you need a certain kind of algorithm for some instrument and you need it to be rock-solid, so you configure it and compile...
Re: Anyone interested in an LV2 FM synth?
Added a playlist on soundcloud with some more samples: https://soundcloud.com/zoned-music/sets/fm-synth
If it's for speed, the speed hit in using the 8-by-8 modulation matrix is quite small (trivially vectorized in SSE/AVX, unlike the hard-coded algorithms).
Not sure why you'd need that. Maybe a drop-down menu with some known matrix configurations for convenience?DepreTux wrote:It'd be interesting to try the hardcoded version. Maybe you need a certain kind of algorithm for some instrument and you need it to be rock-solid, so you configure it and compile...
If it's for speed, the speed hit in using the 8-by-8 modulation matrix is quite small (trivially vectorized in SSE/AVX, unlike the hard-coded algorithms).
Re: Anyone interested in an LV2 FM synth?
Maybe you could change it to a grid like the ardour patch bay? I think it would be a little cleaner.Maister wrote: Can be prettier, but it's a start :p
http://carlh.net/ardour/manual/html/scr ... anager.png
I think its a great feature to add nonetheless.
_ssj71
music: https://soundcloud.com/ssj71
My plugins are Infamous! http://ssj71.github.io/infamousPlugins
I just want to get back to making music!
music: https://soundcloud.com/ssj71
My plugins are Infamous! http://ssj71.github.io/infamousPlugins
I just want to get back to making music!
-
- Established Member
- Posts: 60
- Joined: Sun Jul 13, 2014 7:14 pm
- Location: Eindhoven
Re: Anyone interested in an LV2 FM synth?
Definetly interested. I like the 'everything can modulate everything' approach. Most of the other FM synths have a fixed setup.