[PD] square wave osc & pwm

Roman Haefeli reduzierer at yahoo.de
Sun Oct 3 16:39:53 CEST 2004


hi anton

squarewave:
[phasor~]
|
[>~ 0.5]
|
[-~ 0.5]
|
[*~ 2]

the [-~ 0.5] and the [*~ 2] are there to get a signal
between -1 and 1

pulse:
[phasor~]
|    [number between 0 - 1(
|   /
[>~]
|
[hip~ 5]

the [hip~ 5] removes the dc-offset of the pulse-signal

roman 

 --- Anton Woldhek <woldhek at xs4all.nl> schrieb: 
> Hi everybody,
> 
> wel i'm having fun at school (i started studying
> sound design), also having fun discussing the pros &
> contras of pd with my max teacher (he pretty quickly
> dismissed pd).
> Anyways, for another class (that I luckily can use
> whatever means necessary for) I have to do something
> with a square wave, where i  have to create a
> composition with one oscillator and modulate a
> couple things. One of the things that need to
> modulate is the duty cycle (pulse width). 
> My first approach with a wave form other then sin
> would be a wavetable osc like [tabread4~]. However,
> i dont see a very efficient method of creating pulse
> width modulation.
> 
> Could anybody suggest a way to approach this? 
> 
> Thanks
> Anton 


	

	
		
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de




More information about the Pd-list mailing list