Csound Csound-dev Csound-tekno Search About

[Cs-dev] pvstanal

Date2011-01-08 15:14
Fromjoachim heintz
Subject[Cs-dev] pvstanal
victor -
can i find some information about your new pvstanal opcode anywhere? i
have it in my cvs version, but don't know how to use.
thank you -

	joachim

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-08 17:28
FromVictor Lazzarini
SubjectRe: [Cs-dev] pvstanal
I'm still about to write a man page. Here's a simple description:

fsig[, fsig, ... ]  pvstanal   ktime, kamp, kpitch, ktab, [kdetect,  
ioffset, ifftsize,  ihopsize,  kthresh]


ktime -> timescale (> 1 compress, < 1 stretch)
kamp -> amplitude
kpitch -> pitch tranposition ratio
ktab -> table number

kdetect -> 1 - detect onsets, 0 - don't  (default 1 )
ioffset ->  start offset into table
ifftsize -> fftsize (default 2048)
ihopsize -> hopsize (default 512)
ithresh -> dB threshold for onset detection  (default 1 dB)

Tables can be multichannel, in which case a multichannel output is used.

Victor

On 8 Jan 2011, at 15:14, joachim heintz wrote:

> victor -
> can i find some information about your new pvstanal opcode anywhere? i
> have it in my cvs version, but don't know how to use.
> thank you -
>
> 	joachim
>
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of  
> any company
> that requires sensitive data to be transmitted over the Web.   Learn  
> how to
> best implement a security strategy that keeps consumers' information  
> secure
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-09 09:15
Fromjoachim heintz
SubjectRe: [Cs-dev] pvstanal
great new opcode, extremely useful. i could test it with your information.

I'm not sure if there might be a problem at wrapping the table. i get a
segmentation fault if i run the example below, exactly at the end of the
table.

moreover: is it possible to add a parameter for wrapping/looping or not,
like in diskin?

	joachim



--old-parser -odac


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

gifil     ftgen     0, 0, 0, 1, "fox.wav", 0, 0, 1

instr 1
fsig      pvstanal  p4, 1, p5, gifil
aout      pvsynth   fsig
          out       aout
endin

instr 2
kspeed    randi     2, 1 ;speed randomly between -2 and 2
kpitch    randi     2, 1 ;pitch betwenn 2 octaves lower or higher
;printk .1, kpitch
;printk .1, kspeed
fsig      pvstanal  kspeed, 1, octave(kpitch), gifil
aout      pvsynth   fsig
          out       aout
endin



a 0 0 9
;           speed pch
i 1 0 2.757 1     1
i 1 3 .     2     1
i 1 6 .     1     .75
i 2 9 10 ;random scratching



------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-09 10:21
FromVictor Lazzarini
SubjectRe: [Cs-dev] pvstanal
Strange, this does not happen with any other soundfile I tested, but  
seems to happen with fox.wav

Victor
On 9 Jan 2011, at 09:15, joachim heintz wrote:

> great new opcode, extremely useful. i could test it with your  
> information.
>
> I'm not sure if there might be a problem at wrapping the table. i  
> get a
> segmentation fault if i run the example below, exactly at the end of  
> the
> table.
>
> moreover: is it possible to add a parameter for wrapping/looping or  
> not,
> like in diskin?
>
> 	joachim
>
> 
> 
> --old-parser -odac
> 
> 
> sr = 44100
> ksmps = 32
> nchnls = 1
> 0dbfs = 1
>
> gifil     ftgen     0, 0, 0, 1, "fox.wav", 0, 0, 1
>
> instr 1
> fsig      pvstanal  p4, 1, p5, gifil
> aout      pvsynth   fsig
>          out       aout
> endin
>
> instr 2
> kspeed    randi     2, 1 ;speed randomly between -2 and 2
> kpitch    randi     2, 1 ;pitch betwenn 2 octaves lower or higher
> ;printk .1, kpitch
> ;printk .1, kspeed
> fsig      pvstanal  kspeed, 1, octave(kpitch), gifil
> aout      pvsynth   fsig
>          out       aout
> endin
>
> 
> 
> a 0 0 9
> ;           speed pch
> i 1 0 2.757 1     1
> i 1 3 .     2     1
> i 1 6 .     1     .75
> i 2 9 10 ;random scratching
> 
> 
>
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of  
> any company
> that requires sensitive data to be transmitted over the Web.   Learn  
> how to
> best implement a security strategy that keeps consumers' information  
> secure
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-09 10:39
FromVictor Lazzarini
SubjectRe: [Cs-dev] pvstanal
Well it's not to do with table wrapping, because tab wrapping works OK  
with any files, but there is a random crash I'm getting which I can't
seem to diagnose yet.

Victor

On 9 Jan 2011, at 09:15, joachim heintz wrote:

> great new opcode, extremely useful. i could test it with your  
> information.
>
> I'm not sure if there might be a problem at wrapping the table. i  
> get a
> segmentation fault if i run the example below, exactly at the end of  
> the
> table.
>
> moreover: is it possible to add a parameter for wrapping/looping or  
> not,
> like in diskin?
>
> 	joachim
>
> 
> 
> --old-parser -odac
> 
> 
> sr = 44100
> ksmps = 32
> nchnls = 1
> 0dbfs = 1
>
> gifil     ftgen     0, 0, 0, 1, "fox.wav", 0, 0, 1
>
> instr 1
> fsig      pvstanal  p4, 1, p5, gifil
> aout      pvsynth   fsig
>          out       aout
> endin
>
> instr 2
> kspeed    randi     2, 1 ;speed randomly between -2 and 2
> kpitch    randi     2, 1 ;pitch betwenn 2 octaves lower or higher
> ;printk .1, kpitch
> ;printk .1, kspeed
> fsig      pvstanal  kspeed, 1, octave(kpitch), gifil
> aout      pvsynth   fsig
>          out       aout
> endin
>
> 
> 
> a 0 0 9
> ;           speed pch
> i 1 0 2.757 1     1
> i 1 3 .     2     1
> i 1 6 .     1     .75
> i 2 9 10 ;random scratching
> 
> 
>
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of  
> any company
> that requires sensitive data to be transmitted over the Web.   Learn  
> how to
> best implement a security strategy that keeps consumers' information  
> secure
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-09 10:40
FromVictor Lazzarini
SubjectRe: [Cs-dev] pvstanal
By the way, if you want to stop playback, just set the time parameter  
to 0.
On 9 Jan 2011, at 09:15, joachim heintz wrote:

> great new opcode, extremely useful. i could test it with your  
> information.
>
> I'm not sure if there might be a problem at wrapping the table. i  
> get a
> segmentation fault if i run the example below, exactly at the end of  
> the
> table.
>
> moreover: is it possible to add a parameter for wrapping/looping or  
> not,
> like in diskin?
>
> 	joachim
>
> 
> 
> --old-parser -odac
> 
> 
> sr = 44100
> ksmps = 32
> nchnls = 1
> 0dbfs = 1
>
> gifil     ftgen     0, 0, 0, 1, "fox.wav", 0, 0, 1
>
> instr 1
> fsig      pvstanal  p4, 1, p5, gifil
> aout      pvsynth   fsig
>          out       aout
> endin
>
> instr 2
> kspeed    randi     2, 1 ;speed randomly between -2 and 2
> kpitch    randi     2, 1 ;pitch betwenn 2 octaves lower or higher
> ;printk .1, kpitch
> ;printk .1, kspeed
> fsig      pvstanal  kspeed, 1, octave(kpitch), gifil
> aout      pvsynth   fsig
>          out       aout
> endin
>
> 
> 
> a 0 0 9
> ;           speed pch
> i 1 0 2.757 1     1
> i 1 3 .     2     1
> i 1 6 .     1     .75
> i 2 9 10 ;random scratching
> 
> 
>
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of  
> any company
> that requires sensitive data to be transmitted over the Web.   Learn  
> how to
> best implement a security strategy that keeps consumers' information  
> secure
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-09 10:48
Fromjoachim heintz
SubjectRe: [Cs-dev] pvstanal
will this not repeat the last frame?

Am 09.01.2011 11:40, schrieb Victor Lazzarini:
> By the way, if you want to stop playback, just set the time parameter  
> to 0.
> On 9 Jan 2011, at 09:15, joachim heintz wrote:
> 
>> great new opcode, extremely useful. i could test it with your  
>> information.
>>
>> I'm not sure if there might be a problem at wrapping the table. i  
>> get a
>> segmentation fault if i run the example below, exactly at the end of  
>> the
>> table.
>>
>> moreover: is it possible to add a parameter for wrapping/looping or  
>> not,
>> like in diskin?
>>
>> 	joachim
>>
>> 
>> 
>> --old-parser -odac
>> 
>> 
>> sr = 44100
>> ksmps = 32
>> nchnls = 1
>> 0dbfs = 1
>>
>> gifil     ftgen     0, 0, 0, 1, "fox.wav", 0, 0, 1
>>
>> instr 1
>> fsig      pvstanal  p4, 1, p5, gifil
>> aout      pvsynth   fsig
>>          out       aout
>> endin
>>
>> instr 2
>> kspeed    randi     2, 1 ;speed randomly between -2 and 2
>> kpitch    randi     2, 1 ;pitch betwenn 2 octaves lower or higher
>> ;printk .1, kpitch
>> ;printk .1, kspeed
>> fsig      pvstanal  kspeed, 1, octave(kpitch), gifil
>> aout      pvsynth   fsig
>>          out       aout
>> endin
>>
>> 
>> 
>> a 0 0 9
>> ;           speed pch
>> i 1 0 2.757 1     1
>> i 1 3 .     2     1
>> i 1 6 .     1     .75
>> i 2 9 10 ;random scratching
>> 
>> 
>>
>> ------------------------------------------------------------------------------
>> Gaining the trust of online customers is vital for the success of  
>> any company
>> that requires sensitive data to be transmitted over the Web.   Learn  
>> how to
>> best implement a security strategy that keeps consumers' information  
>> secure
>> and instills the confidence they need to proceed with transactions.
>> http://p.sf.net/sfu/oracle-sfdevnl
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of any company
> that requires sensitive data to be transmitted over the Web.   Learn how to 
> best implement a security strategy that keeps consumers' information secure 
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl 
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-09 10:55
FromVictor Lazzarini
SubjectRe: [Cs-dev] pvstanal
It will, but I suppose the end of your soundfile is silent? Anyway,  
once I tracked down the problem with the random crash, I can look into  
this.

On 9 Jan 2011, at 10:48, joachim heintz wrote:

> will this not repeat the last frame?
>
> Am 09.01.2011 11:40, schrieb Victor Lazzarini:
>> By the way, if you want to stop playback, just set the time parameter
>> to 0.
>> On 9 Jan 2011, at 09:15, joachim heintz wrote:
>>
>>> great new opcode, extremely useful. i could test it with your
>>> information.
>>>
>>> I'm not sure if there might be a problem at wrapping the table. i
>>> get a
>>> segmentation fault if i run the example below, exactly at the end of
>>> the
>>> table.
>>>
>>> moreover: is it possible to add a parameter for wrapping/looping or
>>> not,
>>> like in diskin?
>>>
>>> 	joachim
>>>
>>> 
>>> 
>>> --old-parser -odac
>>> 
>>> 
>>> sr = 44100
>>> ksmps = 32
>>> nchnls = 1
>>> 0dbfs = 1
>>>
>>> gifil     ftgen     0, 0, 0, 1, "fox.wav", 0, 0, 1
>>>
>>> instr 1
>>> fsig      pvstanal  p4, 1, p5, gifil
>>> aout      pvsynth   fsig
>>>         out       aout
>>> endin
>>>
>>> instr 2
>>> kspeed    randi     2, 1 ;speed randomly between -2 and 2
>>> kpitch    randi     2, 1 ;pitch betwenn 2 octaves lower or higher
>>> ;printk .1, kpitch
>>> ;printk .1, kspeed
>>> fsig      pvstanal  kspeed, 1, octave(kpitch), gifil
>>> aout      pvsynth   fsig
>>>         out       aout
>>> endin
>>>
>>> 
>>> 
>>> a 0 0 9
>>> ;           speed pch
>>> i 1 0 2.757 1     1
>>> i 1 3 .     2     1
>>> i 1 6 .     1     .75
>>> i 2 9 10 ;random scratching
>>> 
>>> 
>>>
>>> ------------------------------------------------------------------------------
>>> Gaining the trust of online customers is vital for the success of
>>> any company
>>> that requires sensitive data to be transmitted over the Web.   Learn
>>> how to
>>> best implement a security strategy that keeps consumers' information
>>> secure
>>> and instills the confidence they need to proceed with transactions.
>>> http://p.sf.net/sfu/oracle-sfdevnl
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Gaining the trust of online customers is vital for the success of  
>> any company
>> that requires sensitive data to be transmitted over the Web.    
>> Learn how to
>> best implement a security strategy that keeps consumers'  
>> information secure
>> and instills the confidence they need to proceed with transactions.
>> http://p.sf.net/sfu/oracle-sfdevnl
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of  
> any company
> that requires sensitive data to be transmitted over the Web.   Learn  
> how to
> best implement a security strategy that keeps consumers' information  
> secure
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-09 12:16
FromVictor Lazzarini
SubjectRe: [Cs-dev] pvstanal
Fixed in CVS. The problem was when the pitch was very high, the lookup  
went beyond the table, now I think this is sorted.
I've also added a parameter to control wrap-around:

fsig[, fsig, ... ]  pvstanal   ktime, kamp, kpitch, ktab, [kdetect,  
kwraparound, ioffset, ifftsize,  ihopsize,  kthresh]


ktime -> timescale (> 1 compress, < 1 stretch)
kamp -> amplitude
kpitch -> pitch tranposition ratio
ktab -> table number

kdetect -> 1 - detect onsets, 0 - don't  (default 1 )
kwraparound -> 1 wrap around,  0 stop at the end of the table (default  
1)
ioffset ->  start offset into table
ifftsize -> fftsize (default 2048)
ihopsize -> hopsize (default 512)
ithresh -> dB threshold for onset detection  (default 1 dB)


On 9 Jan 2011, at 10:55, Victor Lazzarini wrote:

> It will, but I suppose the end of your soundfile is silent? Anyway,
> once I tracked down the problem with the random crash, I can look into
> this.
>
> On 9 Jan 2011, at 10:48, joachim heintz wrote:
>
>> will this not repeat the last frame?
>>
>> Am 09.01.2011 11:40, schrieb Victor Lazzarini:
>>> By the way, if you want to stop playback, just set the time  
>>> parameter
>>> to 0.
>>> On 9 Jan 2011, at 09:15, joachim heintz wrote:
>>>
>>>> great new opcode, extremely useful. i could test it with your
>>>> information.
>>>>
>>>> I'm not sure if there might be a problem at wrapping the table. i
>>>> get a
>>>> segmentation fault if i run the example below, exactly at the end  
>>>> of
>>>> the
>>>> table.
>>>>
>>>> moreover: is it possible to add a parameter for wrapping/looping or
>>>> not,
>>>> like in diskin?
>>>>
>>>> 	joachim
>>>>
>>>> 
>>>> 
>>>> --old-parser -odac
>>>> 
>>>> 
>>>> sr = 44100
>>>> ksmps = 32
>>>> nchnls = 1
>>>> 0dbfs = 1
>>>>
>>>> gifil     ftgen     0, 0, 0, 1, "fox.wav", 0, 0, 1
>>>>
>>>> instr 1
>>>> fsig      pvstanal  p4, 1, p5, gifil
>>>> aout      pvsynth   fsig
>>>>        out       aout
>>>> endin
>>>>
>>>> instr 2
>>>> kspeed    randi     2, 1 ;speed randomly between -2 and 2
>>>> kpitch    randi     2, 1 ;pitch betwenn 2 octaves lower or higher
>>>> ;printk .1, kpitch
>>>> ;printk .1, kspeed
>>>> fsig      pvstanal  kspeed, 1, octave(kpitch), gifil
>>>> aout      pvsynth   fsig
>>>>        out       aout
>>>> endin
>>>>
>>>> 
>>>> 
>>>> a 0 0 9
>>>> ;           speed pch
>>>> i 1 0 2.757 1     1
>>>> i 1 3 .     2     1
>>>> i 1 6 .     1     .75
>>>> i 2 9 10 ;random scratching
>>>> 
>>>> 
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Gaining the trust of online customers is vital for the success of
>>>> any company
>>>> that requires sensitive data to be transmitted over the Web.    
>>>> Learn
>>>> how to
>>>> best implement a security strategy that keeps consumers'  
>>>> information
>>>> secure
>>>> and instills the confidence they need to proceed with transactions.
>>>> http://p.sf.net/sfu/oracle-sfdevnl
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Gaining the trust of online customers is vital for the success of
>>> any company
>>> that requires sensitive data to be transmitted over the Web.
>>> Learn how to
>>> best implement a security strategy that keeps consumers'
>>> information secure
>>> and instills the confidence they need to proceed with transactions.
>>> http://p.sf.net/sfu/oracle-sfdevnl
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Gaining the trust of online customers is vital for the success of
>> any company
>> that requires sensitive data to be transmitted over the Web.   Learn
>> how to
>> best implement a security strategy that keeps consumers' information
>> secure
>> and instills the confidence they need to proceed with transactions.
>> http://p.sf.net/sfu/oracle-sfdevnl
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of  
> any company
> that requires sensitive data to be transmitted over the Web.   Learn  
> how to
> best implement a security strategy that keeps consumers' information  
> secure
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-09 14:38
Fromjoachim heintz
SubjectRe: [Cs-dev] pvstanal
yes, works perfectly now. and great to have the wrap, even at k-rate.

i hear another oddity now. from "the quick brown ..." the first word
"the" is not there. can you see if there is a problem with the first
frame? test is below.

as a suggestion, i would prefer "kspeed" instead of "ktime". when i read
ktime, i am thinking this is the time in the table, like in pvsbufread
(which is also called ktime).

	joachim




-odac


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

gifil     ftgen     0, 0, 0, 1, "fox.wav", 0, 0, 1

instr 1
fsig      pvstanal  p4, 1, p5, gifil, p6, p7
aout      pvsynth   fsig
          out       aout
endin

instr 2
kspeed    randi     2, 2, 2 ;speed randomly between -2 and 2
kpitch    randi     2, 2, 2 ;pitch betwenn 2 octaves lower or higher
fsig      pvstanal  kspeed, 1, octave(kpitch), gifil
aout      pvsynth   fsig
          out       aout
endin




;           speed pch det wrap
i 1 0 2.757 1     1
i 1 3 .     2     1   0   0
i 1 6 .     2     1   0   1
i 1 9 .     1     .75
i 2 12 10 ;random scratching



------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-09 17:49
FromVictor Lazzarini
SubjectRe: [Cs-dev] pvstanal
See how this works now, it's starting from the beginning of the table  
now.
You might want to use pvslock with it, it might improve the quality in  
some cases.

fsig pvslock  fsig, klock

klock = 1 frequency lock, 0 bypass

Victor
On 9 Jan 2011, at 14:38, joachim heintz wrote:

> yes, works perfectly now. and great to have the wrap, even at k-rate.
>
> i hear another oddity now. from "the quick brown ..." the first word
> "the" is not there. can you see if there is a problem with the first
> frame? test is below.
>
> as a suggestion, i would prefer "kspeed" instead of "ktime". when i  
> read
> ktime, i am thinking this is the time in the table, like in pvsbufread
> (which is also called ktime).
>
> 	joachim
>
>
> 
> 
> -odac
> 
> 
> sr = 44100
> ksmps = 32
> nchnls = 1
> 0dbfs = 1
>
> gifil     ftgen     0, 0, 0, 1, "fox.wav", 0, 0, 1
>
> instr 1
> fsig      pvstanal  p4, 1, p5, gifil, p6, p7
> aout      pvsynth   fsig
>          out       aout
> endin
>
> instr 2
> kspeed    randi     2, 2, 2 ;speed randomly between -2 and 2
> kpitch    randi     2, 2, 2 ;pitch betwenn 2 octaves lower or higher
> fsig      pvstanal  kspeed, 1, octave(kpitch), gifil
> aout      pvsynth   fsig
>          out       aout
> endin
>
>
> 
> 
> ;           speed pch det wrap
> i 1 0 2.757 1     1
> i 1 3 .     2     1   0   0
> i 1 6 .     2     1   0   1
> i 1 9 .     1     .75
> i 2 12 10 ;random scratching
> 
> 
>
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of  
> any company
> that requires sensitive data to be transmitted over the Web.   Learn  
> how to
> best implement a security strategy that keeps consumers' information  
> secure
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-09 22:09
Fromjoachim heintz
SubjectRe: [Cs-dev] pvstanal
yes it's weak, but it's there. thanks for the tip to pvslock, too.
regards -

	joachim


Am 09.01.2011 18:49, schrieb Victor Lazzarini:
> See how this works now, it's starting from the beginning of the table  
> now.
> You might want to use pvslock with it, it might improve the quality in  
> some cases.
> 
> fsig pvslock  fsig, klock
> 
> klock = 1 frequency lock, 0 bypass
> 
> Victor
> On 9 Jan 2011, at 14:38, joachim heintz wrote:
> 
>> yes, works perfectly now. and great to have the wrap, even at k-rate.
>>
>> i hear another oddity now. from "the quick brown ..." the first word
>> "the" is not there. can you see if there is a problem with the first
>> frame? test is below.
>>
>> as a suggestion, i would prefer "kspeed" instead of "ktime". when i  
>> read
>> ktime, i am thinking this is the time in the table, like in pvsbufread
>> (which is also called ktime).
>>
>> 	joachim
>>
>>
>> 
>> 
>> -odac
>> 
>> 
>> sr = 44100
>> ksmps = 32
>> nchnls = 1
>> 0dbfs = 1
>>
>> gifil     ftgen     0, 0, 0, 1, "fox.wav", 0, 0, 1
>>
>> instr 1
>> fsig      pvstanal  p4, 1, p5, gifil, p6, p7
>> aout      pvsynth   fsig
>>          out       aout
>> endin
>>
>> instr 2
>> kspeed    randi     2, 2, 2 ;speed randomly between -2 and 2
>> kpitch    randi     2, 2, 2 ;pitch betwenn 2 octaves lower or higher
>> fsig      pvstanal  kspeed, 1, octave(kpitch), gifil
>> aout      pvsynth   fsig
>>          out       aout
>> endin
>>
>>
>> 
>> 
>> ;           speed pch det wrap
>> i 1 0 2.757 1     1
>> i 1 3 .     2     1   0   0
>> i 1 6 .     2     1   0   1
>> i 1 9 .     1     .75
>> i 2 12 10 ;random scratching
>> 
>> 
>>
>> ------------------------------------------------------------------------------
>> Gaining the trust of online customers is vital for the success of  
>> any company
>> that requires sensitive data to be transmitted over the Web.   Learn  
>> how to
>> best implement a security strategy that keeps consumers' information  
>> secure
>> and instills the confidence they need to proceed with transactions.
>> http://p.sf.net/sfu/oracle-sfdevnl
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of any company
> that requires sensitive data to be transmitted over the Web.   Learn how to 
> best implement a security strategy that keeps consumers' information secure 
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl 
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net