New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bandlimited pulse oscillator with a-rate pulseWidth parameter #783

Open
svgeesus opened this Issue Apr 7, 2016 · 3 comments

Comments

Projects
3 participants
@svgeesus
Contributor

svgeesus commented Apr 7, 2016

Unlike the existing square wave, here the mark-space ration is changeable and modulatable. This is a classic effect and (unlike a static mark:space ratio) cannot be achieved using the FFT arrays on a custom oscillator node.

This was asked for several times at WAC2016

@hoch

This comment has been minimized.

Show comment
Hide comment
@hoch

hoch Apr 7, 2016

Member

We might want to do this as a separate node from OscillatorNode.

Member

hoch commented Apr 7, 2016

We might want to do this as a separate node from OscillatorNode.

@svgeesus

This comment has been minimized.

Show comment
Hide comment
@svgeesus

svgeesus Apr 7, 2016

Contributor

I agree. Firstly, each predefined type in OscillatorNode is defined in terms of the equivalent real and imaginary arrays, which would not be the case here. Secondly, this new node has an a-rate parameter for the width, which OscillatorNode does not have. I suggest we initially just do a pulse oscillator; @hoch mentioned at the f2f non-50-50 mark-space waveforms like asymmetric triangle or warped sine and I agree that these are possible and I have seen these occasionally (in the analog domain, I mean), but the pulse wave is the major missing feature here which is widely used musically.

Contributor

svgeesus commented Apr 7, 2016

I agree. Firstly, each predefined type in OscillatorNode is defined in terms of the equivalent real and imaginary arrays, which would not be the case here. Secondly, this new node has an a-rate parameter for the width, which OscillatorNode does not have. I suggest we initially just do a pulse oscillator; @hoch mentioned at the f2f non-50-50 mark-space waveforms like asymmetric triangle or warped sine and I agree that these are possible and I have seen these occasionally (in the analog domain, I mean), but the pulse wave is the major missing feature here which is widely used musically.

@svgeesus

This comment has been minimized.

Show comment
Hide comment
@svgeesus

svgeesus Apr 7, 2016

Contributor

Useful links:
Antialiased oscillators
http://www.yofiel.com/software/cycling-74-patches/antialiased-oscillators

Alias-Free Digital Synthesis of Classic Analog Waveform
https://ccrma.stanford.edu/~stilti/papers/blit.pdf

Perceptually informed synthesis of bandlimited classical waveforms using integrated polynomial interpolation
http://mac.kaist.ac.kr/pubs/ValimakiPeknenNam-jasa2012.pdf

Contributor

svgeesus commented Apr 7, 2016

Useful links:
Antialiased oscillators
http://www.yofiel.com/software/cycling-74-patches/antialiased-oscillators

Alias-Free Digital Synthesis of Classic Analog Waveform
https://ccrma.stanford.edu/~stilti/papers/blit.pdf

Perceptually informed synthesis of bandlimited classical waveforms using integrated polynomial interpolation
http://mac.kaist.ac.kr/pubs/ValimakiPeknenNam-jasa2012.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment