Author Topic: Compressor/fuzz effect  (Read 6695 times)

Đorđe Golubović

  • Team member
  • *
  • Posts: 19
    • View Profile
Compressor/fuzz effect
« 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
« Last Edit: February 02, 2016, 07:17:21 PM by jarilo »

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2259
    • View Profile
Re: Compressor/fuzz effect
« Reply #1 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 ?
« Last Edit: February 02, 2016, 12:04:40 PM by Xavier »

Đorđe Golubović

  • Team member
  • *
  • Posts: 19
    • View Profile
Re: Compressor/fuzz effect
« Reply #2 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.

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2259
    • View Profile
Re: Compressor/fuzz effect
« Reply #3 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  ;)

Đorđe Golubović

  • Team member
  • *
  • Posts: 19
    • View Profile
Re: Compressor/fuzz effect
« Reply #4 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