preenfm Forum

PreenFM => preenfm2 and preenfm3 => Topic started by: Đorđe Golubović on February 02, 2016, 12:30:00 AM

Title: Compressor/fuzz effect
Post by: Đorđe Golubović on February 02, 2016, 12:30:00 AM
Hi everyone!

I've managed to add some kind of simplest possible compressor/overdrive/fuzz effect to preen. This probably doesn't need its own thread, but I didn't know where to put it, so here it is.

It has two parameters, threshold and compression ratio, and gain is automatically normalized to maximum gain (using advanced high school mathematical sorcery). With maximum compression ratio (0.0), and minimal threshold (0.0), this effect becomes fuzz. Ratio == 1.0, input signal is unchanged.
Parameters are changing linearly with encoder rotation, which may or may not be a good thing...

I've attached patch here, for anyone who thinks it may be of use to them (distorted B3 hammond anyone :D)
I've also attached firmware binaries (optimized and non-optimized), for easier trying out.

Compressor can be chosen in filter section, it is last in the list. Feel free to ask any questions, suggest or whatever comes to your mind.

Cheers,
Djordje
Title: Re: Compressor/fuzz effect
Post by: Xavier on February 02, 2016, 11:54:08 AM
It's perfect in it own thread.

Thanks a lot for sharing your work   :D
Seeing the code modified by other people is really great..

Don't hesitate to share the firmware binary. That will allow more people to test it.
You can modifiy the Makefile so that the version number is something like "2.02j".

Seems like you have knowledge about audio programming. Did you work on otther project ?
Title: Re: Compressor/fuzz effect
Post by: Đorđe Golubović on February 02, 2016, 05:11:30 PM
I'll share firmware binary as soon as I get home.

I have some basic knowledge of dsp, and this is first usable audio thing I've done :)

But I plan to make some more sw modifications on preenfm2, namely on keyboard stack/circular buffer - voice allocation (as soon as I figure it out :) ). Not so important when using sequencers, but more so when playing on keyboard.
Title: Re: Compressor/fuzz effect
Post by: Xavier on February 02, 2016, 06:22:44 PM
OK nice.

Voice allocation is done in Timbre::preenNoteOn(char note, char velocity).. in case you didn't find already  ;)
Title: Re: Compressor/fuzz effect
Post by: Đorđe Golubović on February 02, 2016, 07:58:53 PM
Thanks for the tip!

Firmware is attached to the first post, everyone is welcome to try it out and please share your thoughts on it.

Cheers,
Djordje