Author Topic: pfm2 : 2.21  (Read 164518 times)

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2260
    • View Profile
Re: New firmware 2.01 (October 10th)
« Reply #60 on: October 13, 2015, 10:52:24 PM »
Kuzma_p, can you try the attached firmware ?

Let me know if it fixes the pitch problem.
It's also able to load 600 (or any) samples waveform such as the one you posted first. It sounds great BTW :)

And please report if it crashes.

Thanks



[attachment deleted by admin]
« Last Edit: October 13, 2015, 10:54:13 PM by Xavier »

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2260
    • View Profile
Re: New firmware 2.01 (October 10th)
« Reply #61 on: October 13, 2015, 10:59:09 PM »
Oh... and don't forget to delete you usr#.bin files once you installed 2.02 so that they are recreated with the new interpolation/normalization algorithm.

kuzma_p

  • Team Member
  • ***
  • Posts: 130
    • View Profile
Re: New firmware 2.01 (October 10th)
« Reply #62 on: October 14, 2015, 09:09:52 AM »
Great. Gonna check it today, at the evening.

kuzma_p

  • Team Member
  • ***
  • Posts: 130
    • View Profile
Re: New firmware 2.01 (October 10th)
« Reply #63 on: October 14, 2015, 08:45:31 PM »
I messed with this fw a bit and didn't spotted any problem yet.
Gonna test further now.

solipsvs

  • Team Member
  • ***
  • Posts: 222
    • View Profile
Re: New firmware 2.01 (October 10th)
« Reply #64 on: October 15, 2015, 09:25:15 AM »
LFO Phase kicks major butt!  Thank you sir!  I dont know if you realize what you have unleashed...  Im so excited wheeee!!  ;D

this is my favorite fm synth evar!

(any chance of getting them on the modulation destination list?)
« Last Edit: October 15, 2015, 10:57:16 AM by alien_brain »

kuzma_p

  • Team Member
  • ***
  • Posts: 130
    • View Profile
Re: New firmware 2.01 (October 10th)
« Reply #65 on: October 15, 2015, 02:56:34 PM »
2.02 did not crashed yet. Gonna go on with more complex patches though.

kuzma_p

  • Team Member
  • ***
  • Posts: 130
    • View Profile
Re: New firmware 2.01 (October 10th)
« Reply #66 on: October 15, 2015, 03:20:14 PM »
i guess TX's lookup tables have less detalisation

FYI: By the way, i was wrong here.

Quote
It turns out that the sine is 4096 samples per period as well
https://www.gearslutz.com/board/9790791-post252.html

kuzma_p

  • Team Member
  • ***
  • Posts: 130
    • View Profile
Re: New firmware 2.01 (October 10th)
« Reply #67 on: October 15, 2015, 04:16:20 PM »
Also, while patching yesterday i've reached interesting sound territories i've never heard from any FM/PM/PD synths before. PFM2 sounded like some additive/spectral generator — amazing. Gonna try to recreate and record this next time.

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2260
    • View Profile
Re: New firmware 2.01 (October 10th)
« Reply #68 on: October 15, 2015, 04:38:05 PM »
Thanks for all the feedback  :)

As no major problem occured, I'm going to make this 2.02 official.

norbim1

  • Team member
  • *
  • Posts: 28
    • View Profile
Re: New firmware 2.02 (October 14th)
« Reply #69 on: October 15, 2015, 08:32:49 PM »
Cool! Push to Git please. I can't wait to try it.

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2260
    • View Profile
Re: New firmware 2.02 (October 14th)
« Reply #70 on: October 15, 2015, 09:19:57 PM »

Just pushed 2.02 to git.
https://github.com/Ixox/preenFM2

SirPrimalform

  • Team member
  • *
  • Posts: 47
    • View Profile
Re: New firmware 2.01 (October 10th)
« Reply #71 on: October 17, 2015, 05:43:13 PM »
Carrier's? pitch starts to drift when you modulate it with my custom waveforms 1, 3, 4 and tweak IM with rest waves pitch stays static.

Sounds like a DC offset. Try processing it with some kind of DC kill process in your favourite wave editor before parsing it to text? I've been making a 'semi-modular' FM synth in Reaper's Jesusonic scripting language and ran into this when using real FM (it supports both true FM like the Preen and PM like the Yamaha 'FM' synths).

EDIT: Ah, I see Xavier has already built offset removal into the import code.

Xavier, does the new import code interpolate short waveforms up to 1024 or use them as is?
« Last Edit: October 17, 2015, 05:47:50 PM by SirPrimalform »

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2260
    • View Profile
Re: New firmware 2.02 (October 14th)
« Reply #72 on: October 17, 2015, 06:30:32 PM »

The preenFM engine needs a "power of 2" number of samples. The goal of this interpolation is to make it accept any size of waveform.

If your number of sample is a power of 2 (32, 64, 128, 256, 512, 1024), there is no interpolation.

For the rest it interpolates to the closer bigger power of 2.
Source between 33 & 63 => processed waveform will contain 64 samples.
Source between 65 & 127 => processed waveform will contain 128 samples
...
Source between 513 & 1023 => processed waveform will contain 1024 samples

Just realilzed that in 2.02 waveform smaller than 32 are not accepted.  ::)

SirPrimalform

  • Team member
  • *
  • Posts: 47
    • View Profile
Re: New firmware 2.02 (October 14th)
« Reply #73 on: October 18, 2015, 06:14:07 AM »

The preenFM engine needs a "power of 2" number of samples. The goal of this interpolation is to make it accept any size of waveform.

If your number of sample is a power of 2 (32, 64, 128, 256, 512, 1024), there is no interpolation.

For the rest it interpolates to the closer bigger power of 2.
Source between 33 & 63 => processed waveform will contain 64 samples.
Source between 65 & 127 => processed waveform will contain 128 samples
...
Source between 513 & 1023 => processed waveform will contain 1024 samples

Just realilzed that in 2.02 waveform smaller than 32 are not accepted.  ::)

Aha, I expected something like that. :)
I just wasn't sure whether you changed the engine to accept non-powers of two or just added some processing to the import code. The latter seemed more likely, thanks for the confirmation.
Is it a bad thing that waveforms less than 32 are not accepted? I would think that such an undetailed wave would produce a lot of aliasing, but maybe that's what some people want.
Actually, a bitcrushed (NES style) triangle wave might produce interesting (and nasty) results when used for an FM operator...

Xavier

  • Administrator
  • Hero Member
  • *
  • Posts: 2260
    • View Profile
Re: New firmware 2.02 (October 14th)
« Reply #74 on: October 18, 2015, 09:38:57 AM »
Is it a bad thing that waveforms less than 32 are not accepted? I would think that such an undetailed wave would produce a lot of aliasing, but maybe that's what some people want.
Actually, a bitcrushed (NES style) triangle wave might produce interesting (and nasty) results when used for an FM operator...

I'll eventually add back the waveform with less than 32 samples.
But in the meantime, just copy and past each sample values in your text file to reach 32 samples. Should take you 1 minute  ;)