Csound Csound-dev Csound-tekno Search About

[Csnd] pdhalf question

Date2020-08-14 17:56
FromRoger Kelly
Subject[Csnd] pdhalf question
I was reading the manual for pdhalf (the phase distrotion operator) and looking at the example.

While trying to compare it to my CZ-1000, I am a bit confused.  On the CZ synths you transitioned from wave form1 -> waveform 2.

pdhalf just seems to distort "wave form1" only by varying the speed of reading the 2nd half of the table.

Am I missing something or does it seem you could not use it to implement a CZ simulator exactly since we don't transition between two waveforms?


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2020-08-14 18:43
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] [Csnd] pdhalf question
Without looking at the opcode, the CZ method (one of them actually), is to break the phase ramp into two segments, and the different slopes will mean reading portions of the wavetable faster. The kink in the phase function, dividing the two segments generally varies from 0.5 to nearly 0. At 0, the phase jumps immediately to 1/2 cycle. So for instance, if the table has an inverted cosine, the output will be a falling sawtooth-like shape, with some aliasing.

As you move the inflection point to 0.5 it becomes a cosine again.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 14 Aug 2020, at 17:56, Roger Kelly <loraxman@gmail.com> wrote:



*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

I was reading the manual for pdhalf (the phase distrotion operator) and looking at the example.

While trying to compare it to my CZ-1000, I am a bit confused.  On the CZ synths you transitioned from wave form1 -> waveform 2.

pdhalf just seems to distort "wave form1" only by varying the speed of reading the 2nd half of the table.

Am I missing something or does it seem you could not use it to implement a CZ simulator exactly since we don't transition between two waveforms?


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2020-08-25 17:17
FromRoger Kelly
SubjectRe: [Csnd] [EXTERNAL] [Csnd] pdhalf question
Thanks for the explanation. Now it makes sense. I also got this from the Arturia CZ manual which makes sense now.

In PD synthesis, it is possible to create a compound waveform with two different halves: for example, the first cycle can be a sawtooth wave, and the second cycle can be a pulse wave. 

So basically CZ had a wave table made up of 2 cycles each being a different waveform.  That seems easily doable to me now with pdhalf.   The example in the manual was confusing me a bit.

I am rather fascinated with this synthesis (PD)  esp compared to FM(PM) of DX7.  It is much more flexible than I would have expected.  I just bought a great used CZ-1000. I always get a bit obsessed with how I would implement physical keyboards in Csound.


On Fri, Aug 14, 2020 at 12:43 PM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
Without looking at the opcode, the CZ method (one of them actually), is to break the phase ramp into two segments, and the different slopes will mean reading portions of the wavetable faster. The kink in the phase function, dividing the two segments generally varies from 0.5 to nearly 0. At 0, the phase jumps immediately to 1/2 cycle. So for instance, if the table has an inverted cosine, the output will be a falling sawtooth-like shape, with some aliasing.

As you move the inflection point to 0.5 it becomes a cosine again.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 14 Aug 2020, at 17:56, Roger Kelly <loraxman@gmail.com> wrote:



*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

I was reading the manual for pdhalf (the phase distrotion operator) and looking at the example.

While trying to compare it to my CZ-1000, I am a bit confused.  On the CZ synths you transitioned from wave form1 -> waveform 2.

pdhalf just seems to distort "wave form1" only by varying the speed of reading the 2nd half of the table.

Am I missing something or does it seem you could not use it to implement a CZ simulator exactly since we don't transition between two waveforms?


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here