[Csnd-dev] phasor

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Csnd-dev] phasor

jhearon

Hi,

I'm seeing something odd with the phasor Opcode in my linux build of vers. 6.09 beta, of March 22.  The K-rate phasor does not move when cps is equal to kr.  Might be a small bug, or I could be a bit daffy too.

Regards,

Jim


<CsoundSynthesizer>
<CsOptions>
csound -s -d -+rtaudio=ALSA -odac:hw:0,0 -b1024 -B16384
</CsOptions>
<CsInstruments>

sr=44100
kr=10
nchnls=2
0dbfs = 1

instr 1
kval phasor 9
;kval phasor 10 ;problem here
;kval phasor 11
printk2 kval
endin

</CsInstruments>
<CsScore>
i 1 0 1
</CsScore>
</CsoundSynthesizer>

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd-dev] phasor

rorywalsh
Is it not because the value of kval is 0 at the start/end of each k-cycle, ergo printk2 won't actually print anything? 

On 1 August 2017 at 17:13, James Hearon <[hidden email]> wrote:

Hi,

I'm seeing something odd with the phasor Opcode in my linux build of vers. 6.09 beta, of March 22.  The K-rate phasor does not move when cps is equal to kr.  Might be a small bug, or I could be a bit daffy too.

Regards,

Jim


<CsoundSynthesizer>
<CsOptions>
csound -s -d -+rtaudio=ALSA -odac:hw:0,0 -b1024 -B16384
</CsOptions>
<CsInstruments>

sr=44100
kr=10
nchnls=2
0dbfs = 1

instr 1
kval phasor 9
;kval phasor 10 ;problem here
;kval phasor 11
printk2 kval
endin

</CsInstruments>
<CsScore>
i 1 0 1
</CsScore>
</CsoundSynthesizer>


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd-dev] phasor

Justin Smith
if kr is the same as the rate of the phasor, and the phasor is k rate, the phasor output will always be 0

On Tue, Aug 1, 2017 at 12:32 PM Rory Walsh <[hidden email]> wrote:
Is it not because the value of kval is 0 at the start/end of each k-cycle, ergo printk2 won't actually print anything? 

On 1 August 2017 at 17:13, James Hearon <[hidden email]> wrote:

Hi,

I'm seeing something odd with the phasor Opcode in my linux build of vers. 6.09 beta, of March 22.  The K-rate phasor does not move when cps is equal to kr.  Might be a small bug, or I could be a bit daffy too.

Regards,

Jim


<CsoundSynthesizer>
<CsOptions>
csound -s -d -+rtaudio=ALSA -odac:hw:0,0 -b1024 -B16384
</CsOptions>
<CsInstruments>

sr=44100
kr=10
nchnls=2
0dbfs = 1

instr 1
kval phasor 9
;kval phasor 10 ;problem here
;kval phasor 11
printk2 kval
endin

</CsInstruments>
<CsScore>
i 1 0 1
</CsScore>
</CsoundSynthesizer>


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd-dev] phasor

Victor Lazzarini-2
kr at 10hz is way too low, btw. Didn't you want ksmps=10 ? 

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 1 Aug 2017, at 20:57, Justin Smith <[hidden email]> wrote:

if kr is the same as the rate of the phasor, and the phasor is k rate, the phasor output will always be 0

On Tue, Aug 1, 2017 at 12:32 PM Rory Walsh <[hidden email]> wrote:
Is it not because the value of kval is 0 at the start/end of each k-cycle, ergo printk2 won't actually print anything? 

On 1 August 2017 at 17:13, James Hearon <[hidden email]> wrote:

Hi,

I'm seeing something odd with the phasor Opcode in my linux build of vers. 6.09 beta, of March 22.  The K-rate phasor does not move when cps is equal to kr.  Might be a small bug, or I could be a bit daffy too.

Regards,

Jim


<CsoundSynthesizer>
<CsOptions>
csound -s -d -+rtaudio=ALSA -odac:hw:0,0 -b1024 -B16384
</CsOptions>
<CsInstruments>

sr=44100
kr=10
nchnls=2
0dbfs = 1

instr 1
kval phasor 9
;kval phasor 10 ;problem here
;kval phasor 11
printk2 kval
endin

</CsInstruments>
<CsScore>
i 1 0 1
</CsScore>
</CsoundSynthesizer>


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd-dev] phasor

jhearon
In reply to this post by jhearon

re: phasor zero when equals kr.

Thanks for the clarification.

Regards,

Jim

Loading...