Csound Csound-dev Csound-tekno Search About

Re: [Csnd] GUI INterfaces in CSOUND

Date2005-09-23 19:33
FromSteven Yi
SubjectRe: [Csnd] GUI INterfaces in CSOUND
AttachmentsNone  

Date2005-09-23 19:35
From"Art Hunkins"
SubjectRe: [Csnd] GUI INterfaces in CSOUND
Yes. There are, nonetheless, reasons for doing more:

1) csound -help would be more intuitive. I easily forget about the double
dash; and now we have the -+ as well. Information overload; frustration.

2) On WindowsME working from a performance window, my window does not
scroll. More frustration, given the length of the list. (I've gone nearly
wacko trying to get -z to stop listing where I needed it to.) This material
viewed in Notepad is easy to navigate (and can be left open).

3) I'd like to easily make a hard copy. (My memory isn't what it used to
be - if it ever was.)

Art Hunkins

----- Original Message -----
From: "Steven Yi" 
To: ; "Art Hunkins" 
Sent: Friday, September 23, 2005 1:52 PM
Subject: Re: [Csnd] GUI INterfaces in CSOUND


Why not just do:

csound --help

?


On 9/23/05, Art Hunkins  wrote:
> Or just put a semicolon at the beginning of the  line.
>
> BTW, there are now *so* many command-line flags that I'd suggest a text
file
> be added to any distribution enumerating them (canonical Csound5).
>
> Art Hunkins
>
> ----- Original Message -----
> From: "Istvan Varga" 
> To: 
> Sent: Friday, September 23, 2005 5:24 AM
> Subject: Re: [Csnd] GUI INterfaces in CSOUND
>
>
> > Art Hunkins wrote:
> >
> > > If you're interested in actual compositions using FLTK GUI, all my
> CsoundAV
> > > compositions do. They are available at:
> http://www31.brinkster.com/abhunkins
> > > .
> > >
> > > All are performable on Csound5 as well; all that has to be changed are
> the
> > > .
> >
> > Or just disable  completely by creating a file .csoundrc in
the
> > current directory and adding the line '-+ignore_csopts'.
> > --
> > Send bugs reports to this list.
> > To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
>
> --
> Send bugs reports to this list.
> To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk
>
--
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk

-- 
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk

Date2005-09-23 20:47
FromAnthony Kozar
SubjectRe: [Csnd] GUI INterfaces in CSOUND
Csound prints the short form of the help when you make a command-line error.

I have long thought that a helpful improvement to this would be to include
--help at the top (or bottom for scrolling reasons) of the short help.
Otherwise, I imagine that some people could go a long time without ever
knowing the long options exist.  (And there are now long options for which
their are no short equivalents).

Perhaps this has already been changed in Csound 5 though.

(I would really prefer the short help not be printed at all but just a
message about using -h or --help to get help -- every time I make a mistake,
the help is just long enough to scroll the error message off the screen,
making it unnoticeable.  *shrug*)

Anthony


Steven Yi wrote on 9/23/05 2:33 PM:

> One you know --help, all the other options are easy to find
> and look up.

-- 
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk

Date2005-09-23 21:32
FromIstvan Varga
SubjectRe: [Csnd] GUI INterfaces in CSOUND
Anthony Kozar wrote:

> Perhaps this has already been changed in Csound 5 though.

Yes, it is there. Any changes needed ?

static const char *shortUsageList[] = {
   "--help\tprint long usage options",
   "-U unam\trun utility program unam",
   "-C\tuse Cscore processing of scorefile",
   "-I\tI-time only orch run",
   "-n\tno sound onto disk",
   "-i fnam\tsound input filename",
   "-o fnam\tsound output filename",
   "-b N\tsample frames (or -kprds) per software sound I/O buffer",
   "-B N\tsamples per hardware sound I/O buffer",
   "-A\tcreate an AIFF format output soundfile",
   "-W\tcreate a WAV format output soundfile",
   "-J\tcreate an IRCAM format output soundfile",
   "-h\tno header on output soundfile",
   "-c\t8-bit signed_char sound samples",
#ifdef never
   "-a\talaw sound samples",
#endif
   "-8\t8-bit unsigned_char sound samples",
   "-u\tulaw sound samples",
   "-s\tshort_int sound samples",
   "-l\tlong_int sound samples",
   "-f\tfloat sound samples",
   "-3\t24bit sound samples",
   "-r N\torchestra srate override",
   "-k N\torchestra krate override",
   "-K\tDo not generate PEAK chunks",
   "-v\tverbose orch translation",
   "-m N\ttty message level. Sum of:",
   "\t\t1=note amps, 2=out-of-range msg, 4=warnings",
   "\t\t0/32/64/96=note amp format (raw,dB,colors)",
   "\t\t128=print benchmark information",
   "-d\tsuppress all displays",
   "-g\tsuppress graphics, use ascii displays",
   "-G\tsuppress graphics, use Postscript displays",
   "-x fnam\textract from score.srt using extract file 'fnam'",
   "-t N\tuse uninterpreted beats of the score, initially at tempo N",
   "-t 0\tuse score.srt for sorted score rather than a temporary",
   "-L dnam\tread Line-oriented realtime score events from device 'dnam'",
   "-M dnam\tread MIDI realtime events from device 'dnam'",
   "-F fnam\tread MIDIfile event stream from file 'fnam'",
   /*  "-P N\tMIDI sustain pedal threshold (0 - 128)", */
   "-R\tcontinually rewrite header while writing soundfile (WAV/AIFF)",
   "-H#\tprint a heartbeat style 1, 2 or 3 at each soundfile write",
   "-N\tnotify (ring the bell) when score or miditrack is done",
   "-T\tterminate the performance when miditrack is done",
   "-D\tdefer GEN01 soundfile loads until performance time",
   "-Q dnam\tselect MIDI output device",
   "-z\tList opcodes in this version",
   "-Z\tDither output",
#if defined(LINUX)
   "--sched     set real-time priority and lock memory",
   "            (requires -d and real time audio (-iadc/-odac))",
   "--sched=N   set specified scheduling priority, and lock memory",
   "            (requires -d and real time audio (-iadc/-odac))",
#endif
   NULL
};
-- 
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@lists.bath.ac.uk