Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] tests and examples for Cs5

Date2005-03-26 22:04
From"Art Hunkins"
SubjectRe: [Cs-dev] tests and examples for Cs5
Istvan,

I appreciate your sending this info some time ago. Has any of it changed
since?

With regard to Windows, I know that the value of -B still needs to be set to
ksmps. Questions:

1) Can -B be *any* integer corresponding to ksmps - the larger being better
for no "stutter" and smaller being better for low latency?

2) To what does -b default if not specified?

3) Are values for -b still =< -B with the multiple relationship still
applying?

Thanks for your help with these. I want to experiment with Csound5 and less
powerful Windows systems, to see what settings can get "no-stutter" sound
(or at least minimize stutter).

Art Hunkins

----- Original Message -----
From: "Istvan Varga" 
To: 
Sent: Tuesday, February 22, 2005 4:52 PM
Subject: Re: [Cs-dev] tests and examples for Cs5


> Art Hunkins wrote:
>
> > On the recent survey of real-time Csound I sent out, I toyed with the
idea
> > of asking for the flags each version used to call for various options -
> > especially MIDI in and audio out.
>
> For Csound5 the flags are:
>
> Real time audio
> ---------------
>
>    -+rtaudio=NAME            select module 'NAME' for handling real time
>                              audio I/O; choices are: null (no audio),
portaudio,
>                              alsa (Linux only), jack (Linux only, but
maybe also
>                              OS X). The default is portaudio.
>
>    -i adc                    enable real time audio input from default
device
>    -i adcN                   use device number 'N' for audio input
>    -i adc:NAME               use the device named 'NAME' for audio input
>    -o dac                    enable real time audio output to default
device
>    -o dacN                   use device number 'N' for audio output
>    -o dac:NAME               use the device named 'NAME' for audio output
>
>    NOTE: it depends on the system and selected module if a number or a
name
>    should be specified for -iadc/-odac. PortAudio takes a device number,
>    the others a device name, but on Linux PortAudio can also be used with
>    a device name.
>
>    -b NFRAMES                 set buffer fragment size to NFRAMES sample
frames;
>                               sound I/O will block at this interval (a
lower
>                               value means less timing jitter but higher
CPU
>                               usage)
>    -B NFRAMES                 set total buffer size to NFRAMES sample
frames;
>                               should be greater than, and an integer
multiple of
>                               the value specified for -b;
>                               a lower value means better latency but
buffer
>                               underruns are more likely to occur
>
>    Some plugins may have additional options (csound --help prints any such
>    flags); these are for JACK only:
>
>    -+jack_client=NAME         JACK client name (default: csound5)
>    -+jack_inportname=NAME     JACK input port name prefix (default: input)
>    -+jack_outportname=NAME    JACK output port name prefix (default:
output)
>    -+jack_sleep_time=N        JACK sleep time in microseconds (default:
1000)
>
> MIDI
> ----
>
>    -+rtmidi=NAME              use module 'NAME' for handling real time
MIDI
>                               choices at this time are limited to null (no
MIDI)
>                               and portmidi (the default)
>
>    -M INDEV                   read MIDI input from device 'INDEV'; device
>                               identifiers may be numbers or names
depending on
>                               system, but are always numbers starting from
zero
>                               with PortMIDI
>
>    -Q OUTDEV                  write MIDI output to device 'OUTDEV'; device
>                               identifiers may be numbers or names
depending on
>                               system, but are always numbers starting from
zero
>                               with PortMIDI
>
>    -F FILENAME                read MIDI file 'FILENAME'; file should not
have
>                               more than one track
>
>    Some plugins may have additional options (csound --help prints any such
>    flags); currently, there are none.
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-03-26 22:09
FromIstvan Varga
SubjectRe: [Cs-dev] tests and examples for Cs5
Art Hunkins wrote:

> I appreciate your sending this info some time ago. Has any of it changed
> since?

No, the flags are still the same.

> With regard to Windows, I know that the value of -B still needs to be set to
> ksmps.

If this is true, then the PortAudio plugin is not correctly written, and should
be fixed to be consistent with the other modules.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net