tomara-x / quartz

visual programming and dsp playground
https://codeberg.org/tomara-x/quartz
Apache License 2.0
90 stars 3 forks source link

i'd like a phase distortion #163

Closed tomara-x closed 4 months ago

tomara-x commented 5 months ago

image

tomara-x commented 5 months ago

just need a phasor (ramp oscillator) with a sync input for this, no? 2 inputs, frequency and reset trigger.. the wiring is gonna be FUN the output of one is branched, goes through a fall, then the output of the fall goes to the second's reset

edit: what if we just use trig_reset? the phasor (to be implemented) just takes frequency input, and once it has a fall that trigger is used to reset the node of the second.. i think that's identical

tomara-x commented 5 months ago

2165d98 seems to work, time to take it for a spin

tomara-x commented 5 months ago

so that's a and b (from the image above) (fall shouldn't be directly connected like that cause we still need the original signal, but that's for testing)

image

this thing has swing :>

tomara-x commented 5 months ago

this should be it (nope, not true)

https://github.com/tomara-x/quartz/assets/86204514/f6f4e914-42e4-4a4a-ab30-4c2542e43e80

tomara-x commented 5 months ago

is it supposed to be boring? even after correcting the range it's meh i think i'm doing it wrong

what happens if you mix in the the carrier (a)? mixing (b) is much more spicy!!

i suck at programming in my own language :laughing:

prolly nicer to abstract it in a node

ooo phase modulation of a and b (not synced) and mixing that!

tomara-x commented 5 months ago

wawawawa! this does stuff! (as of 9337268)

image

bohahaha! you did 1-x the silly way! you can just x >> mul(-1) >> add(1)

tomara-x commented 5 months ago

alright, this is good, make it a node at some point