Csound Csound-dev Csound-tekno Search About

[Cs-dev] Updates to PD opcodes

Date2007-12-14 07:54
FromAnthony Kozar
Subject[Cs-dev] Updates to PD opcodes
Attachmentsphasedist.csd  tarantella.csd  None  None  
I've added unipolar operation to the PD opcodes as their default mode.
Bipolar mode is available as an option.  The new parameter lists for the
opcodes are

aout    pdclip    ain, kWidth, kCenter [, ibipolar [, ifullscale]]
aout    pdhalf    ain, kShapeAmount [, ibipolar [, ifullscale]]
aout    pdhalfy   ain, kShapeAmount [, ibipolar [, ifullscale]]

You can get a very nice "classic" CZ-series sound with the pdhalf opcode and
a cosine table.  The attached phasedist.csd features pdhalf and pdhalfy with
several slightly different applications.

The other attached file, tarantella.csd, plays a short tune on a
pseudo-accordian sound created with the pdclip opcode.

Anthony Kozar
mailing-lists-1001 AT anthonykozar DOT net
http://anthonykozar.net/


Date2007-12-14 17:39
From"Steven Yi"
SubjectRe: [Cs-dev] Updates to PD opcodes
AttachmentsNone  

Date2007-12-14 19:52
FromAnthony Kozar
SubjectRe: [Cs-dev] Updates to PD opcodes
AttachmentsCZsqr.csd  CZpulse.csd  CZdblsine.csd  None  None  
Thanks, Steven.

I was originally thinking that I might have to write several more opcodes to
create the phase distortion patterns needed for the other CZ "waveforms"
(square, pulse, double-sine, etc).  But some experimentation this afternoon
has revealed that I can simulate most of them with the existing opcodes.

There is not a lot of information available for the other patterns so I had
to infer quite a bit from the web sites that Steven pointed out.  And
without a real CZ here, I cannot verify the accuracy of the results.  But
the waveform shapes that I am seeing (especially for the pulse and
double-sine) look very similar to the sampled output on the one web site.
And the square shape looks very "squarish".

So, Ive attached three more examples for CZ square, pulse, and double-sine
waveforms.  I should be able to imitate the three "resonance" waveforms
using the new syncphasor opcode.  I am not sure at all how to reproduce the
"saw-pulse" waveform or even what it is really supposed to be.

Anthony

Steven Yi wrote on 12/14/07 12:39 PM:

> Nice!


Date2007-12-14 22:11
FromAnthony Kozar
SubjectRe: [Cs-dev] Updates to PD opcodes
AttachmentsCZresonance.csd  None  None  
Here is my best guess so far as to how to imitate the CZ-series "resonance"
waveforms.  This does not involve any phase distortion, but one could
combine PD with the sync effect to produce even more timbral variety.

Anthony

Anthony Kozar wrote on 12/14/07 2:52 PM:

> I should be able to imitate the three "resonance" waveforms using
> the new syncphasor opcode.  I am not sure at all how to reproduce the
> "saw-pulse" waveform or even what it is really supposed to be.