Author Topic: New filters  (Read 83454 times)

Toltekradiation

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: New filters
« Reply #105 on: November 25, 2019, 10:23:06 PM »
@matrix12x : please check this one, there is 3 version of the formant filter
Oryx : 2 peaks formant filter with some distortion
Orx2 : 3 peaks formant filter
Orx3 : 3 peaks formant filter + more distortion (mono)

+ a bunch of ladder filters
18db : 3 pole soft LP
La+d: ladder version 1
Lad+: ladder version 2
Diod: ladder version 3
L+d+: ladder version 4

Toltekradiation

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: New filters
« Reply #106 on: November 25, 2019, 10:25:14 PM »
@solipsvs here is the eurorack version :)

matrix12x

  • Team Member
  • ***
  • Posts: 188
    • View Profile
Re: New filters
« Reply #107 on: November 26, 2019, 01:55:17 AM »
@Toltekradiation

They sound great. I really like La+d.

Lad+ seems to be a little "zipper" when I change the frequency knob.

The three formant filters sound cool.

Brockstar

  • Team member
  • *
  • Posts: 40
    • View Profile
Re: New filters
« Reply #108 on: November 26, 2019, 06:04:31 PM »
Yay, thank you Toltekradiation. I'll give these a go today!

solipsvs

  • Team Member
  • ***
  • Posts: 222
    • View Profile
Re: New filters
« Reply #109 on: November 30, 2019, 03:29:20 AM »
@solipsvs here is the eurorack version :)

many many thanks!

solipsvs

  • Team Member
  • ***
  • Posts: 222
    • View Profile
Re: New filters
« Reply #110 on: December 02, 2019, 04:51:08 PM »
wow this totally changes the sound of preenfm2.  im really loving these extra filters, especially the many distortions now available!

observer

  • Team member
  • *
  • Posts: 37
    • View Profile
Re: New filters
« Reply #111 on: December 09, 2019, 12:27:25 PM »
Hmmm. I think that the addition of filters broke some of the midi cc control. I have cc73 (filter gain) mapped to a volume pedal and now it no longer works. cc71 and 72 aren't working either (filter parameters). Anyone else notice this? I haven't installed the latest filters, but one of the permutations a page or two back in this thread.

matrix12x

  • Team Member
  • ***
  • Posts: 188
    • View Profile
Re: New filters
« Reply #112 on: December 09, 2019, 05:59:36 PM »
@observer Did you notice if it is broken on all filters or just the new ones?


I am running the current version (dated Nov 25) and CC73, 71 and 72 work for me. Just checked. I used OS X Logic to send the CCs.
« Last Edit: December 09, 2019, 07:45:30 PM by matrix12x »

observer

  • Team member
  • *
  • Posts: 37
    • View Profile
Re: New filters
« Reply #113 on: December 11, 2019, 05:09:18 PM »
It happens on all filters. Even without any filter, the gain cc isn't working.

I'll try the most recent update and see if that works.

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: New filters
« Reply #114 on: December 14, 2019, 12:56:57 PM »
@Toltekradiation
I'm in the process of integrating (some of) those filters in the official firmware.
Some of them sound really nice... Great WORK !!!!  :D

I could not get anything interesting from the follwoing ones except digital noise :
Xor, Txr1, Txr2, LPx1, LPx2.
Do i miss something ?

I think there's a problem in your filters using lastVelocity.
You take the value from a midi velocity
https://github.com/pvig/preenfm2/blob/master/src/synth/Timbre.cpp#L601

This value is between 0 and 127.
Seems like some filters (ALL ?) expect a [0,1] value :
https://github.com/pvig/preenfm2/blob/master/src/synth/Timbre.cpp#L4104
Don't know what you expected to do with isRelease line 4103 but it's not used... Maybe cancel the accent ?



Toltekradiation

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: New filters
« Reply #115 on: December 14, 2019, 02:29:37 PM »
hi @Xavier,
many thanks for integrating some filters !

about the Xor, Txr1, Txr2, LPx1, LPx2 filters :
yes i also think that Xor, Txr1, Txr2, LPx2 may not be so interesting, those may be all be replaced with only LPx1.
it's my favorite one from this ensemble ; it allow progressive signal destruction and/or digital glitchy texture.

thank you for pointing me the velocity problem, i removed the accent thing as it can be done with other ways.
i did too much code lately and not sleeping enough ::)

@observer : the filter CC should work, i checked this today without any problem.

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: New filters
« Reply #116 on: December 14, 2019, 03:25:06 PM »
I think the accent/velocity in the algo is very interesting.
I tried to add the coef (1/127) there and it gives interesting accent in the 303 like filter :

Code: [Select]
void Timbre::preenNoteOn(char note, char velocity) {
this->lastVelocity = 0.007878401575f * velocity;

To use iReleased in the TEEBEE filter i haven't tried but maybe somthing like :
Code: [Select]
bool isReleased = voices[this->lastPlayedNote]->isReleased();
bool accent = (velocity > 0.629f) && (!isReleased);
could be interesting....

« Last Edit: December 14, 2019, 03:28:41 PM by Xavier »

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2256
    • View Profile
Re: New filters
« Reply #117 on: December 14, 2019, 03:48:39 PM »
Just tried the
bool accent = (velocity > 0.629f) && (!isReleased);
I think it's good  on medium/long release presets.

Toltekradiation

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: New filters
« Reply #118 on: December 14, 2019, 04:45:10 PM »
ok, the accents may be useful after all ;)
i got it back in my last commit, with small tweaks.
that 303 thing is quite difficult to get it right..

Toltekradiation

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: New filters
« Reply #119 on: December 14, 2019, 07:50:57 PM »
@observer , please check in menu Tools > Set > Receives = CC & NRPN
that may be the cause your issue.