pantherb / setBfree

DSP tonewheel organ
http://setbfree.org
GNU General Public License v2.0
194 stars 35 forks source link

Changing waveform for the tonewheels #89

Closed GIBA-BDV closed 1 year ago

GIBA-BDV commented 1 year ago

Hi,

I'm Giovanni from Brazil, then sorry for my poor English. I'm not a developer too. I'm new on asking thinks on GitHub. Correct me if I'm wrong, please.

Does have any simple way to change the waveform for the tonewheels? I would like to add a triangular and a 9 step piramid waveforms to the organ.

The ideia is to imitate a Vox and a Farfisa organ.

Thanks to the support.

x42 commented 1 year ago

There is currently no way to change the waveform. The sine-wave (and harmonics) are hard-coded [1]. To add other waveforms you will have to change the source-code.

--

[1] https://github.com/pantherb/setBfree/blob/master/src/tonegen.c#L1234-L1323

GIBA-BDV commented 1 year ago

Thanks to the support. God bless you.