Csound Csound-dev Csound-tekno Search About

[Csnd] AW: Re: Display?

Date2009-01-14 11:52
FromMarco Stroppa
Subject[Csnd] AW: Re: Display?
Hello, Andrés,

Thank you for your advice. I still do not get any output (also with the additional 2 and using qutesound), but it works OK if I write a postcript file (-G). So, in one way or another, I will find a solution to diplay a-rate variables (with k-rate, no problem).

Best,


Marco


----- Ursprüngliche Mail ----
> Von: Andres Cabrera 
> An: csound@lists.bath.ac.uk
> Gesendet: Dienstag, den 13. Januar 2009, 16:56:46 Uhr
> Betreff: [Csnd] Re: Display?
> 
> Hi Marco,
> 
> Just trying it now with QuteCsound, I can get it to work if I specify
> a number like 2 for the third optional argument.
> 
> Cheers,
> Andrés
> 
> On Mon, Jan 12, 2009 at 9:16 AM, Marco Stroppa wrote:
> > Hello, Csounders,
> >
> > I wonder whether display is working correctly. There is already a problem with 
> the manual (Csound5), since the same argument is explained in two very different 
> ways (see below).
> > Then, when trying to display (without X11) an audio variable, such as:
> >
> > sr= 44100
> > kr= 44100
> > ksmps= 1
> > nchnls= 1
> > instr 1; *****************************************************************
> >   a1      poscil 32767, 1000.0, 1
> >      display a1, 1.0
> > out a1
> > endin
> >
> >
> > f1  0   4097   9  1  1  0
> > i1 0 1
> > e
> >
> > nothing is shown on the terminal (whereas with k-variables it is all right). 
> Have I misunderstood the way display works, or is this due to not having 
> installed X11?
> >
> > Thanks a lot.
> >
> >
> >
> > Marco
> >
> >
> > displayxsig, iprd [, inprds] [, iwtflg]
> > Initialization
> > iprd-- the period of display in seconds.
> > inprds(optional, default=1) -- Number of display periods retained in each 
> display graph. A value of
> > 2 or more will provide a larger perspective of the signal motion. The default 
> value is 1 (each graph
> > completely new).
> > inprds(optional, default=1) -- a scaling factor for the displayed waveform, 
> controlling how many
> > iprd-sized frames of samples are drawn in the window (the default and minimum 
> value is 1.0).
> > Higher inprds values are slower to draw (more points to draw) but will show 
> the waveform scrolling
> > through the window, which is useful with low iprd values.
> > iwtflg(optional, default=0) -- wait flag. If non-zero, each display is held 
> until released by the user.
> > The default value is 0 (no wait).
> >
> >
> >
> >
> >
> >
> > Send bugs reports to this list.
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound"
> 
> 
> 
> -- 
> 
> 
> Andrés
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"






Date2009-01-14 15:12
From"Andres Cabrera"
Subject[Csnd] Re: AW: Re: Display?
AttachmentsNone