Csound Csound-dev Csound-tekno Search About

[Csnd] Displays of FFT

Date2014-09-02 17:08
Frommenno
Subject[Csnd] Displays of FFT
Since 6.03 this is new:
Displays of FFT (via dispfft) improved with scaling/zooming options 

How is this scaling and zooming done?



--
View this message in context: http://csound.1045644.n5.nabble.com/Displays-of-FFT-tp5737294.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-09-07 13:27
Frommenno
Subject[Csnd] Re: Displays of FFT
bumpy bump



--
View this message in context: http://csound.1045644.n5.nabble.com/Displays-of-FFT-tp5737294p5737346.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-09-07 14:59
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re:
AttachmentsNone  

Date2014-09-07 21:09
FromVictor Lazzarini
SubjectRe: [Csnd]
Sorry, I could not recall what I did with this. It is documented here

https://github.com/csound/csound/issues/198

The relevant bit is: "dispfft has two new optional parameters at the end, 
minbin and maxbin, which can be used to zoom into a range."

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








On 7 Sep 2014, at 14:59, jpff@cs.bath.ac.uk wrote:

> I do not know the answer to your question.  I know that the changes were written by Victor Lazzarini.
> ==John ff
> 
> Quoting menno :
> 
>> bumpy bump
>> 
>> 
>> 
>> --
>> View this message in context: http://csound.1045644.n5.nabble.com/Displays-of-FFT-tp5737294p5737346.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>> 
>> 
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 
> 
> 
> 
> Send bugs reports to
>       https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 
> 



Date2014-09-08 19:09
Frommenno
Subject[Csnd] Re: Re:
Victor, can you try this csd and tell me if this example shows 2 bins only on
your machine?
Here it shows all the bins, no matter what values i put in for the last 2
parameters.



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



sr=48000
ksmps=32
nchnls=2
0dbfs =1

instr 2 ; original sound for comparison

a1 diskin2 "fox.wav", 1
   outs a1, a1
dispfft	a1, .1, 1024, 0, 1, 10, 11
endin




i2 0 3

e

 

My csound version is from september 1st, on Kubuntu14.04






--
View this message in context: http://csound.1045644.n5.nabble.com/Displays-of-FFT-tp5737294p5737362.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-09-08 20:17
FromVictor Lazzarini
SubjectRe: [Csnd]
Hi Menno,

you are missing one parameter. Try this:

 dispfft	a1, .1, 1024, 1,0,0, 10, 11

It works here (I tested on CsoundQT).

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








On 8 Sep 2014, at 19:09, menno  wrote:

> Victor, can you try this csd and tell me if this example shows 2 bins only on
> your machine?
> Here it shows all the bins, no matter what values i put in for the last 2
> parameters.
> 
> 
> 
> ; Select audio/midi flags here according to platform
> -odac     ;;;real-time audio out
> ;-iadc    ;;;uncomment -iadc if RT audio input is needed too
> ; For Non-realtime ouput leave only the line below:
> ; -o exciter.wav -W ;;; for file output any platform
> 
> 
> 
> sr=48000
> ksmps=32
> nchnls=2
> 0dbfs =1
> 
> instr 2 ; original sound for comparison
> 
> a1 diskin2 "fox.wav", 1
>   outs a1, a1
> dispfft	a1, .1, 1024, 0, 1, 10, 11
> endin
> 
> 
> 
> 
> i2 0 3
> 
> e
> 
>  
> 
> My csound version is from september 1st, on Kubuntu14.04
> 
> 
> 
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Displays-of-FFT-tp5737294p5737362.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 
> 



Date2014-09-08 21:32
Frommenno
Subject[Csnd] Re: Re:
yes, it works here too. My fault. 
Thanks for this addition to dispfft.

Do you also happen to know if it possible to set the window size of this
FLTK window?
I know FLTK is not supported anymore, but it may be that you just happen to
remember...



--
View this message in context: http://csound.1045644.n5.nabble.com/Displays-of-FFT-tp5737294p5737367.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-09-08 21:50
FromVictor Lazzarini
SubjectRe: [Csnd]
I think you need to resize it manually. On CsoundQT, you can use a graph widget.
========================
Dr Victor Lazzarini
Dean of Arts, Philosophy and Celtic Studies,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 








On 8 Sep 2014, at 21:32, menno  wrote:

> yes, it works here too. My fault. 
> Thanks for this addition to dispfft.
> 
> Do you also happen to know if it possible to set the window size of this
> FLTK window?
> I know FLTK is not supported anymore, but it may be that you just happen to
> remember...
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Displays-of-FFT-tp5737294p5737367.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 
>