Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Proposed use of function tables as windows in phase vocoders

Date2007-08-18 16:09
FromMichael Gogins
SubjectRe: [Cs-dev] Proposed use of function tables as windows in phase vocoders
The phase vocoders currently in Csound include pvs, pvoc, and ats. Each sports a different set of windows:

pvanal  Hann, Hamming, Kaiser
atsa    Blackman, Blackman-Harris, Hamming, Hann
pvsanal Hamming, Hann

What Judy wanted was to use the Blackman window with pvoc. It is available for ATSA, but not for the pvoc or pvs. As far as I can see, the Blackman and Blackman-Harris windows are variations on the "raised cosine" window.

GEN20 provides the following windows:

Hamming
Hanning (i.e. Hann)
Bartlett (triangle)
Blackman (3-term)
Blackman - Harris (4-term)
Gaussian
Kaiser
Rectangle
Sync

Questions: what is the Sync window, and is the Kaiser window "defined in cosines?" At any rate, this is a superset of the windows provided by all of the phase vocoders.

Using a function table allows the user to use any of these predefined GEN20 windows and as well as to define his or her own window. It does not force the user to use an inappropriate window.

Regards,
Mike

-----Original Message-----
>From: root 
>Sent: Aug 18, 2007 10:29 AM
>To: Michael Gogins , Developer discussions 
>Subject: Re: [Cs-dev] Proposed use of function tables as windows in phase vocoders
>
>This wil; cause me real problems.  The SDFT can only use windows that are 
>defined in cosines.  Arbitrary windows will not work at all.
>==John ff
>
>
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc.
>Still grepping through log files to find problems?  Stop.
>Now Search log events and configuration files using AJAX and a browser.
>Download your FREE copy of Splunk now >>  http://get.splunk.com/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-08-18 18:03
Fromjpff
SubjectRe: [Cs-dev] Proposed use of function tables as windows in phase vocoders
In pvsanal I have Rectangular, Hamming, von Hann, Blackman,
Blackman_exact, Nuttall_C3, Blackman-Harris_3 and Blackman-Harris_min

==John ffitch

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-08-20 15:51
FromAndres Cabrera
SubjectRe: [Cs-dev] Proposed use of function tables as windows in phase vocoders
Hi,

I've always wondered if the sync function in csound is correct...
http://en.wikipedia.org/wiki/Sinc_function
but the function produces:
http://www.csounds.com/manual/html/MiscWindows.html

Cheers,
Andrés


Michael Gogins escribió:
> The phase vocoders currently in Csound include pvs, pvoc, and ats. Each sports a different set of windows:
>
> pvanal  Hann, Hamming, Kaiser
> atsa    Blackman, Blackman-Harris, Hamming, Hann
> pvsanal Hamming, Hann
>
> What Judy wanted was to use the Blackman window with pvoc. It is available for ATSA, but not for the pvoc or pvs. As far as I can see, the Blackman and Blackman-Harris windows are variations on the "raised cosine" window.
>
> GEN20 provides the following windows:
>
> Hamming
> Hanning (i.e. Hann)
> Bartlett (triangle)
> Blackman (3-term)
> Blackman - Harris (4-term)
> Gaussian
> Kaiser
> Rectangle
> Sync
>
> Questions: what is the Sync window, and is the Kaiser window "defined in cosines?" At any rate, this is a superset of the windows provided by all of the phase vocoders.
>
> Using a function table allows the user to use any of these predefined GEN20 windows and as well as to define his or her own window. It does not force the user to use an inappropriate window.
>
> Regards,
> Mike
>
> -----Original Message-----
>   
>> From: root 
>> Sent: Aug 18, 2007 10:29 AM
>> To: Michael Gogins , Developer discussions 
>> Subject: Re: [Cs-dev] Proposed use of function tables as windows in phase vocoders
>>
>> This wil; cause me real problems.  The SDFT can only use windows that are 
>> defined in cosines.  Arbitrary windows will not work at all.
>> ==John ff
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>     
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-08-20 16:06
FromVictor Lazzarini
SubjectRe: [Cs-dev] Proposed use of function tables as windows in phase vocoders
It's sinc alright, from fgens.c:

case 9:                     /* Sinc */
         arg = TWOPI / ff->flen;
         for (i = 0, x = -PI ; i < ((int) ff->flen >> 1) ; i++, x += arg)
           ft[i] = (MYFLT) (xarg * sin(x) / x);
         ft[i++] = (MYFLT) xarg;
         for (x = arg ; i <= (int) ff->flen ; i++, x += arg)
           ft[i] = (MYFLT) (xarg * sin(x) / x);
         return OK;

Victor

At 15:51 20/08/2007, you wrote:
>Hi,
>
>I've always wondered if the sync function in csound is correct...
>http://en.wikipedia.org/wiki/Sinc_function
>but the function produces:
>http://www.csounds.com/manual/html/MiscWindows.html
>
>Cheers,
>Andrés
>
>
>Michael Gogins escribió:
> > The phase vocoders currently in Csound include pvs, pvoc, and ats. Each 
> sports a different set of windows:
> >
> > pvanal  Hann, Hamming, Kaiser
> > atsa    Blackman, Blackman-Harris, Hamming, Hann
> > pvsanal Hamming, Hann
> >
> > What Judy wanted was to use the Blackman window with pvoc. It is 
> available for ATSA, but not for the pvoc or pvs. As far as I can see, the 
> Blackman and Blackman-Harris windows are variations on the "raised 
> cosine" window.
> >
> > GEN20 provides the following windows:
> >
> > Hamming
> > Hanning (i.e. Hann)
> > Bartlett (triangle)
> > Blackman (3-term)
> > Blackman - Harris (4-term)
> > Gaussian
> > Kaiser
> > Rectangle
> > Sync
> >
> > Questions: what is the Sync window, and is the Kaiser window "defined 
> in cosines?" At any rate, this is a superset of the windows provided by 
> all of the phase vocoders.
> >
> > Using a function table allows the user to use any of these predefined 
> GEN20 windows and as well as to define his or her own window. It does not 
> force the user to use an inappropriate window.
> >
> > Regards,
> > Mike
> >
> > -----Original Message-----
> >
> >> From: root 
> >> Sent: Aug 18, 2007 10:29 AM
> >> To: Michael Gogins , Developer discussions 
> 
> >> Subject: Re: [Cs-dev] Proposed use of function tables as windows in 
> phase vocoders
> >>
> >> This wil; cause me real problems.  The SDFT can only use windows that are
> >> defined in cosines.  Arbitrary windows will not work at all.
> >> ==John ff
> >>
> >>
> >>
> >> -------------------------------------------------------------------------
> >> This SF.net email is sponsored by: Splunk Inc.
> >> Still grepping through log files to find problems?  Stop.
> >> Now Search log events and configuration files using AJAX and a browser.
> >> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> >> _______________________________________________
> >> Csound-devel mailing list
> >> Csound-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>
> >
> >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >>  http://get.splunk.com/
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> >
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc.
>Still grepping through log files to find problems?  Stop.
>Now Search log events and configuration files using AJAX and a browser.
>Download your FREE copy of Splunk now >>  http://get.splunk.com/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net