[Csnd] Displaying results (disfft, display)

Not getting the graphics displays for,…

dispfft (asig1+asig3), .25, 2048, 0, 1

… for FFT spectral displays and

display asig1, 2, 1

… for time base stop like displays.
Used to work fine, back when I was running Mac Csound
on an earlier Mac. Can’t get it to display like it used to.

What am I overlooking???

Thank you all,
-Partev

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Before I forget,….

MacBook Pro, running 10.15.7 Catalina,
2GHz quad core i5,
16 GB full load of RAM.

Thanks,
-Partev

Hi Partev,
There is probably just an option missing telling Csound where to put the graphics.
If you use -g, the display will be approximated in ASCII (not very beautiful, but it will tell you that the process is working),
and you can use --displays to have it displayed nicely in a separate window (although that window shows all ftables and you might need to select the right signal from a list).
I seem to recall there was yet another way of displaying the graphics, but this was all I could remember at the moment :slight_smile:
Øyvind

There is probably just an option missing telling Csound where to put the graphics. <— Good.
Was wondering about that, nice I’m on your track on that.

If you use -g, <— Tried that,…

-odac -g <— … put it under the -odac.

sr = 44100
ksmps = 64
nchnls = 2
0dbfs = 1

… still nothing. It all renders fine, just no display.

… the display will be approximated in ASCII (not very beautiful,
but it will tell you that the process is working), <— Yes, at this point that would be fine.

…and you can use --displays to have it displayed nicely in a separate window
(although that window shows all ftables and you might need to select the right
signal from a list). <— Showing the display in a different window is what it used
to do when I was running Mac Csound on my G4 Titanium laptop. Was beautiful
until the laptop crashed.

I do get an initiation error related to an fable,… I’ll check that out.

Thanks Øyvind,… next time you’re in LA, I owe a meal. Say hello to Josh for me,
you will probably be seeing him before I do. I owe him a meal too. :slight_smile:

Cheers,
-Partev

You need a graphical frontend to display graphics, like CsoundQT or Cabbage. In a Mac, on the command-line it’s only ASCII, because there is no support for graphics.
Things have a changed a lot from the G4 time (it’s about 20 years now). MacOS does not support X Windows very easily, the other solution we had was FLTK, but that is also unworkable now and
it was taken out. The terminal command is strictly non-graphic,

However, it works fine with GUI frontends (there is an example showing it in CsoundQT - Graph Widget).

Terminal command, as in the “-g” I used???
I need to re-familiarize myself with “command line” again. Thanks.

BTW,… I still keep an eye out for typos in JAES for you and others,
whenever get my issues in the mail. Malcolm Hawksford once told me
That they hand copy and enter it, so typos are rare, but possible.

Thanks again,
-Partev

Matt Ingalls had a GUI that made it easy, back when
Mac Csound was out there. Miss that. I’ll check that out.
So far nothing in ACII. Hmm,…

Thanks,
-Partev

CsoundQT and Cabbage are the most used graphical frontends today. They can display graphs.

Prof. Victor Lazzarini
Maynooth University
Ireland

Have QT, still no dispfft or time base display. Hmmm,… Thinking face

-PBS