[PD] making square waves for tabosc4~

Miller Puckette mpuckett at man104-1.ucsd.edu
Wed Aug 31 18:39:37 CEST 2005


It's

cosinesum 64 0 1 0 -0.333 0 0.2 0 -0.1428 0 0.1111 0 -0.09090

or

sinesum 64 1 0 0.333 0 0.2 0 0.1428 0 0.1111 0 0.09090

See chapter 10 of: http://crca.ucsd.edu/~msp/techniques.htm

cheers
Miller

On Wed, Aug 31, 2005 at 03:06:55AM -0400, alexandre matheson wrote:
> I have been using sinesum to create square waveforms in arrays to be 
> read by [tabosc4~] but I am not sure about the amplitude of the 
> partials. I have been reducing the amplitude by half and the waveform 
> doesn't look square enough to me. Am I doing this properly?
> 
> [bang(
> |
> [f $0]
> |
> [;                                                                      
>                                            /
> [$1-osc sinesum 64 1 0 0.5 0 0.25 0 0.125 0 0.0625 0 0.03125; |
> [$1-osc normalize 1                                                     
>                           \
> 
> 
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list