[Csnd-dev] GEN 53

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Csnd-dev] GEN 53

Victor Lazzarini-2
I’ve read the code and here’s a description. I will try and add a man page with an example.

f N time size 53  srcft  mode winft

takes a source table containing an impulse response or frequency response
and converts it into either a linear-phase or a minimum-phase  
impulse response, optionally applying a window to it.

srcft - source function table with either an impulse response or a frequency
response

mode - a sum of
  * output mode: 0 for linear-phase or 1 for minimum-phase
  * input type:  0 for frequency response or 2 for impulse response
  * windowing: 0 no windowing, 4 window input and/or 8 window output

e.g. - linear-phase, frequency response, no windowing = 0 (default)
       - minimum-phase, frequency response, no windowing = 1
       - linear-phase, impulse response = 2
       - min-phase, impulse response = 3
       - linear-phase, frequency response, windowing input = 4
       - minimum-phase, frequency response, windowing input = 5
       - linear-phase, impulse response, windowing input = 6

winft - window function table (for mode > 3) (default 0, none).


========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] GEN 53

Victor Lazzarini-2
Manual page & example committed to GIT. It looks like a useful GEN.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 7 Sep 2017, at 13:47, Victor Lazzarini <[hidden email]> wrote:
>
> I’ve read the code and here’s a description. I will try and add a man page with an example.
>
> f N time size 53  srcft  mode winft
>
> takes a source table containing an impulse response or frequency response
> and converts it into either a linear-phase or a minimum-phase  
> impulse response, optionally applying a window to it.
>
> srcft - source function table with either an impulse response or a frequency
> response
>
> mode - a sum of
>  * output mode: 0 for linear-phase or 1 for minimum-phase
>  * input type:  0 for frequency response or 2 for impulse response
>  * windowing: 0 no windowing, 4 window input and/or 8 window output
>
> e.g. - linear-phase, frequency response, no windowing = 0 (default)
>       - minimum-phase, frequency response, no windowing = 1
>       - linear-phase, impulse response = 2
>       - min-phase, impulse response = 3
>       - linear-phase, frequency response, windowing input = 4
>       - minimum-phase, frequency response, windowing input = 5
>       - linear-phase, impulse response, windowing input = 6
>
> winft - window function table (for mode > 3) (default 0, none).
>
>
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>

Reply | Threaded
Open this post in threaded view
|

Re: [Csnd-dev] GEN 53

joachim-3
indeed.  thanks for taking time to look at it and put it in a good shape!
        joachim


On 07/09/17 17:15, Victor Lazzarini wrote:

> Manual page & example committed to GIT. It looks like a useful GEN.
> ========================
> Prof. Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 7 Sep 2017, at 13:47, Victor Lazzarini <[hidden email]> wrote:
>>
>> I’ve read the code and here’s a description. I will try and add a man page with an example.
>>
>> f N time size 53  srcft  mode winft
>>
>> takes a source table containing an impulse response or frequency response
>> and converts it into either a linear-phase or a minimum-phase
>> impulse response, optionally applying a window to it.
>>
>> srcft - source function table with either an impulse response or a frequency
>> response
>>
>> mode - a sum of
>>  * output mode: 0 for linear-phase or 1 for minimum-phase
>>  * input type:  0 for frequency response or 2 for impulse response
>>  * windowing: 0 no windowing, 4 window input and/or 8 window output
>>
>> e.g. - linear-phase, frequency response, no windowing = 0 (default)
>>       - minimum-phase, frequency response, no windowing = 1
>>       - linear-phase, impulse response = 2
>>       - min-phase, impulse response = 3
>>       - linear-phase, frequency response, windowing input = 4
>>       - minimum-phase, frequency response, windowing input = 5
>>       - linear-phase, impulse response, windowing input = 6
>>
>> winft - window function table (for mode > 3) (default 0, none).
>>
>>
>> ========================
>> Prof. Victor Lazzarini
>> Dean of Arts, Celtic Studies, and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952
>>
>