Csound Csound-dev Csound-tekno Search About

[Cs-dev] ptrack issue

Date2011-06-10 12:57
Frommenno
Subject[Cs-dev] ptrack issue
Hi,

why does this example of ptrack start screaming like a pig when it plays the
second note? Then it hangs..
It works fine when i put in the p4 value directly.

greetings
Menno



; Select audio/midi flags here according to platform
-odac   ;;;realtime audio out
;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
; For Non-realtime ouput leave only the line below:
; -o pset.wav -W ;;; for file output any platform



sr = 44100 
ksmps = 32 
;0dbfs  = 1 
nchnls = 2

instr 1

ihop  = p4
aout  diskin2 "fox.wav",1, 0, 1
kf,ka ptrack aout, ihop	; pitch track with winsize=1024
kcps  port kf, 0.01	; smooth freq
kamp  port ka, 0.01	; smooth amp
; drive an oscillator
asig  poscil ampdb(kamp)*0dbfs, kcps, 1
      outs  asig, asig

endin


; simple sine wave
f 1 0 4096 10 1

i 1 0  5 128
i 1 6  5 512
i 1 12 5 1024
e




--
View this message in context: http://csound.1045644.n5.nabble.com/ptrack-issue-tp4475934p4475934.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-06-10 13:11
FromVictor Lazzarini
SubjectRe: [Cs-dev] ptrack issue
I think it's probably a bug relating to changing hopsizes and memory  
allocation. I will investigate and fix.
Thanks for reporting.

Victor
On 10 Jun 2011, at 12:57, menno wrote:

> Hi,
>
> why does this example of ptrack start screaming like a pig when it  
> plays the
> second note? Then it hangs..
> It works fine when i put in the p4 value directly.
>
> greetings
> Menno
>
> 
> 
> ; Select audio/midi flags here according to platform
> -odac   ;;;realtime audio out
> ;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
> ; For Non-realtime ouput leave only the line below:
> ; -o pset.wav -W ;;; for file output any platform
> 
> 
>
> sr = 44100
> ksmps = 32
> ;0dbfs  = 1
> nchnls = 2
>
> instr 1
>
> ihop  = p4
> aout  diskin2 "fox.wav",1, 0, 1
> kf,ka ptrack aout, ihop	; pitch track with winsize=1024
> kcps  port kf, 0.01	; smooth freq
> kamp  port ka, 0.01	; smooth amp
> ; drive an oscillator
> asig  poscil ampdb(kamp)*0dbfs, kcps, 1
>      outs  asig, asig
>
> endin
> 
> 
> ; simple sine wave
> f 1 0 4096 10 1
>
> i 1 0  5 128
> i 1 6  5 512
> i 1 12 5 1024
> e
> 
> 
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/ptrack-issue-tp4475934p4475934.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-06-10 13:21
FromVictor Lazzarini
SubjectRe: [Cs-dev] ptrack issue
fixed in GIT.

Victor
On 10 Jun 2011, at 13:11, Victor Lazzarini wrote:

> I think it's probably a bug relating to changing hopsizes and memory
> allocation. I will investigate and fix.
> Thanks for reporting.
>
> Victor
> On 10 Jun 2011, at 12:57, menno wrote:
>
>> Hi,
>>
>> why does this example of ptrack start screaming like a pig when it
>> plays the
>> second note? Then it hangs..
>> It works fine when i put in the p4 value directly.
>>
>> greetings
>> Menno
>>
>> 
>> 
>> ; Select audio/midi flags here according to platform
>> -odac   ;;;realtime audio out
>> ;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
>> ; For Non-realtime ouput leave only the line below:
>> ; -o pset.wav -W ;;; for file output any platform
>> 
>> 
>>
>> sr = 44100
>> ksmps = 32
>> ;0dbfs  = 1
>> nchnls = 2
>>
>> instr 1
>>
>> ihop  = p4
>> aout  diskin2 "fox.wav",1, 0, 1
>> kf,ka ptrack aout, ihop	; pitch track with winsize=1024
>> kcps  port kf, 0.01	; smooth freq
>> kamp  port ka, 0.01	; smooth amp
>> ; drive an oscillator
>> asig  poscil ampdb(kamp)*0dbfs, kcps, 1
>>     outs  asig, asig
>>
>> endin
>> 
>> 
>> ; simple sine wave
>> f 1 0 4096 10 1
>>
>> i 1 0  5 128
>> i 1 6  5 512
>> i 1 12 5 1024
>> e
>> 
>> 
>>
>>
>> --
>> View this message in context: http://csound.1045644.n5.nabble.com/ptrack-issue-tp4475934p4475934.html
>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------------------------
>> EditLive Enterprise is the world's most technically advanced content
>> authoring tool. Experience the power of Track Changes, Inline Image
>> Editing and ensure content is compliant with Accessibility Checking.
>> http://p.sf.net/sfu/ephox-dev2dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-06-10 13:34
Frommenno
SubjectRe: [Cs-dev] ptrack issue
works fine now, thanks Victor.

bye
Menno

--
View this message in context: http://csound.1045644.n5.nabble.com/ptrack-issue-tp4475934p4476004.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net