| 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 |