[Qutecsound-users] dispfft / csoundQT

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Qutecsound-users] dispfft / csoundQT

christos carras
hello

sorry, this is probably a very basic question but:

i can't seem to get dispfft and the graph widget to collaborate. no doubt i'm doing something very stupid. i don't understand how the outvalue options, the dispfft opcode and the properties of the graph widget relate.

the graph example in QT runs as audio but does not display the fft spectrum whatever options i choose.

if someone could send a really basic example as a csound unified file i would greatly appreciate it.

many thanks

christos

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] dispfft / csoundQT

Tarmo Johannes

Hi Cristos,

 

I used the dispfft example from manual to test spectrum-> graph widget:

-------------

<CsoundSynthesizer>

<CsOptions>

; Select audio/midi flags here according to platform

-odac ;;;realtime audio out

;-iadc ;;;uncomment -iadc if realtime audio input is needed too

; For Non-realtime ouput leave only the line below:

; -o dispfft.wav -W ;;; for file output any platform

</CsOptions>;be sure to NOT have -d in the CsOptions...

<CsInstruments>

 

sr = 44100

ksmps = 32

nchnls = 2

0dbfs = 1

 

instr 1

 

kcps = 110

ifn = 1

 

knh line p4, p3, p5

asig buzz 0.1, kcps, knh, ifn

outs asig, asig

 

dispfft asig, .1, 2048, 0, 1

 

endin

</CsInstruments>

<CsScore>

;sine wave.

f 1 0 16384 10 1

 

i 1 0 3 20 20

i 1 + 3 3 3

i 1 + 3 150 1

e

 

</CsScore>

</CsoundSynthesizer>

 

-------------

 

and it works fine for me (Csound6 and CsoundQt built from git)

 

Make sure that you dont have csound flag -d (turn off displays) set somewhere (either in csd or the csound extra options inc CsoundQt->Configure->Run tab)

 

Also, there was a bug in csound6 that made dispfft crash that is fixed now in git develop branch (and soon out as csound 6.0.3 I think), I don't know which version you are using.

 

Take care!

tarmo

 

On Saturday 08 March 2014 10:46:54 christos carras wrote:

hello


sorry, this is probably a very basic question but:


i can't seem to get dispfft and the graph widget to collaborate. no doubt i'm doing something very stupid. i don't understand how the outvalue options, the dispfft opcode and the properties of the graph widget relate.


the graph example in QT runs as audio but does not display the fft spectrum whatever options i choose.


if someone could send a really basic example as a csound unified file i would greatly appreciate it.


many thanks


christos




------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] dispfft / csoundQT

Andres Cabrera
Administrator
In reply to this post by christos carras
Hi Christos,

dispfft is the command to send spectrum information from a signal to a graph widget. The graph widget can additionally receive on channels to set what it displays. A graph widget can display any f-table as well as signals from the display and dispfft opcodes, so you may want to use outvalue or chnset to select which table/signal is displayed. There is more detail about this as Tarmo said in the Graph Widget example.

Cheers,
Andrés


On Sat, Mar 8, 2014 at 12:46 AM, christos carras <[hidden email]> wrote:
hello

sorry, this is probably a very basic question but:

i can't seem to get dispfft and the graph widget to collaborate. no doubt i'm doing something very stupid. i don't understand how the outvalue options, the dispfft opcode and the properties of the graph widget relate.

the graph example in QT runs as audio but does not display the fft spectrum whatever options i choose.

if someone could send a really basic example as a csound unified file i would greatly appreciate it.

many thanks

christos

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users



------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Qutecsound-users] dispfft / csoundQT

christos carras
In reply to this post by Tarmo Johannes
thank you Tarmo


On 9 March 2014 11:49, Tarmo Johannes <[hidden email]> wrote:

Hi Cristos,

 

I used the dispfft example from manual to test spectrum-> graph widget:

-------------

<CsoundSynthesizer>

<CsOptions>

; Select audio/midi flags here according to platform

-odac ;;;realtime audio out

;-iadc ;;;uncomment -iadc if realtime audio input is needed too

; For Non-realtime ouput leave only the line below:

; -o dispfft.wav -W ;;; for file output any platform

</CsOptions>;be sure to NOT have -d in the CsOptions...

<CsInstruments>

 

sr = 44100

ksmps = 32

nchnls = 2

0dbfs = 1

 

instr 1

 

kcps = 110

ifn = 1

 

knh line p4, p3, p5

asig buzz 0.1, kcps, knh, ifn

outs asig, asig

 

dispfft asig, .1, 2048, 0, 1

 

endin

</CsInstruments>

<CsScore>

;sine wave.

f 1 0 16384 10 1

 

i 1 0 3 20 20

i 1 + 3 3 3

i 1 + 3 150 1

e

 

</CsScore>

</CsoundSynthesizer>

 

-------------

 

and it works fine for me (Csound6 and CsoundQt built from git)

 

Make sure that you dont have csound flag -d (turn off displays) set somewhere (either in csd or the csound extra options inc CsoundQt->Configure->Run tab)

 

Also, there was a bug in csound6 that made dispfft crash that is fixed now in git develop branch (and soon out as csound 6.0.3 I think), I don't know which version you are using.

 

Take care!

tarmo

 

On Saturday 08 March 2014 10:46:54 christos carras wrote:

hello


sorry, this is probably a very basic question but:


i can't seem to get dispfft and the graph widget to collaborate. no doubt i'm doing something very stupid. i don't understand how the outvalue options, the dispfft opcode and the properties of the graph widget relate.


the graph example in QT runs as audio but does not display the fft spectrum whatever options i choose.


if someone could send a really basic example as a csound unified file i would greatly appreciate it.


many thanks


christos




------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users



------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Loading...