Restarting oscillator cycle?


#1

Is there a way to make the oscillators restart from a phase of their cycle? I'm having trouble getting consistent bass drums, especially noticeable on the attack. If not, any workarounds are welcome.


#2

There are a few oscillators with phase modulation inputs. Add a "dial" to that input to control the phase.


#3

Oh it's that simple? Thanks man!


#4

No, phase modulation input can't be used to do a phase reset.
Phase reset is not implemented currently, sorry. It is not hard to add, but needs to be added at object level.


#5

Thanks, I hope it gets implemented some day. In the meantime, I know some LFOs have a gate input for reset, and the LFO range is fine for a bass drum; maybe it can be converted into audio?


#6

sure, use "conv/interp"


#7

Saw and Square have a Sync input, I think that is what you're looking for.
for other waveforms you would need to do some coding.


#8

I figured out a way to get consistent sine wave hits. The downside is the timing resolution in seconds is only 1/osc frequency, so for example if you have the osc at 60Hz for a kick drum, the hit will happen 0-16 ms after the trig from the sequencer. But here's how:


Jan 2016 - Noodling Patches (challenge/discussion)
#9

Will add this, and filed an issue to keep track


Basic drum machine with 6 sounds, 8 patterns and shuffle
#10

added a reset to the Phasor Compl object. I think it's the right way to do it..i just hacked out the LFO code.
phasor compl GC.axo (1.4 KB)


#11

It works beautifully! Thanks man!


#12

thanks to papa johannes!

this was the final piece to my drummachine (plus the pitchable table object he made). now i have a really nasty instrument to accompany my axo synth. can't wait to switch to DIY gear for shows and music..what a feelin


#13

My drum machine is shaping up nicely as well, MIDI sync was easy to set up. Now I just have to set the mutes and pattern select to respond to cc to minimize the need for mouse control.


#14


#15

Was this implemented yet? I was experimenting with FM synthesis and while I get all kinds of greatness ( https://youtu.be/uNApFGcJSZQ ) from there, for percussive FM sounds a resettable sine oscillator with phase mod input would be good. The phasor -> sin trick doesn't work because then there's no phase modulation option.