[Sugar-devel] [Csnd] Re: Re: Re: Re: csound on Fedora 11 and rawhide

Peter Robinson pbrobinson at gmail.com
Tue Sep 8 17:26:57 EDT 2009


On Tue, Sep 8, 2009 at 7:10 PM, Art Hunkins<abhunkin at uncg.edu> wrote:
> I've finally got sound, out of my Asus EeePC900 (Linux) - wonderful.

Good news..... finally YAY!

> I'm also in a position to comment on much of what has been communicated over
> the last few hours.
>
> 1) The pulseaudio module *must* be downloaded/installed for Csound to work
> at all. Pulseaudio-libs is not required.

Which module in particular?

> 2) Pulseaudio works with either -+rtaudio=pulse, or nothing (I guess that
> means it is "patched").

Correct.

> 3) As long as the separate pulseaudio module is present, ALSA also works
> (via -+rtaudio=alsa). ALSA is obviously in the main package already
> (apparently as part of pulseaudio).

well not as part of pulse audio but both options are compiled.

> 4) Portaudio is indeed completely absent; if you specify -+rtaudio=pa [or
> portaudio], Csound crashes.

Correct. Is there a demand for it? Between pulseaudio and alsa we
cover the vast majority of audio in Fedora.

> 5) IMPORTANT: Pulseaudio latency is very poor; at the end of random
> envelopes, it even gives a short additional burst of sound (as if needing to
> empty an old buffer). ALSA (-+rtaudio=alsa), OTOH, is very responsive and
> totally satisfactory.
>
> Bottom line: if I had my druthers, I'd vote for ALSA as the default.
> Nonetheless, I agree with Victor; there is no real problem - as long as we
> remember to specify -+rtaudio=alsa, and install the pulseaudio module. (I do
> admit this seems a bit convoluted, but such is life and Csound.)

Well I've defaulted it to pulse because that's the default for Fedora.
There's also quite a bit of tweaking that can be done on the
application side of things. I use it with VoIP which is very sensitive
to latency so I suspect there's some improvements that can be done on
both the csound side as well and possibly the PA config as well.

Cheers,
Peter

> As an aside: I'm still working on getting sound from my Windows box.
>
> Art Hunkins
>
> ----- Original Message ----- From: <Victor.Lazzarini at nuim.ie>
> To: <csound at lists.bath.ac.uk>
> Sent: Tuesday, September 08, 2009 11:48 AM
> Subject: [Csnd] Re: Re: Re: Re: csound on Fedora 11 and rawhide
>
>
> But there is no problem then, we just have to install the
> csound-alsa package (possibly if the alsa module is not in
> the main package) and use -+rtaudio=alsa.
>
> Victor
>
> ----- Original Message -----
> From: Felipe Sateler <fsateler at gmail.com>
> Date: Tuesday, September 8, 2009 4:45 pm
> Subject: [Csnd] Re: Re: Re: csound on Fedora 11 and rawhide
> To: csound at lists.bath.ac.uk
>
>> AFAIK, yes, it was patched. The thing is that apparently the SoaS
>> package is exactly the same one as in fedora. In fedora it might make
>> sense to use pulseaudio (since pulseaudio will be running anyway and
>> lots of soundcards/drivers do not allow multiple applications
>> writing to
>> them at the same time). I agree that pulseaudio in Sugar does
>> not make
>> much sense, but as long as it's the same package as in fedora, I think
>> it will keep being pulse.
>>
>> On Tue, 2009-09-08 at 08:01 +0100, victor wrote:
>> > Well, you can try adding -+rtaudio=pulse. If Csound was not
>> patched, it
>> > would
>> > still look for portaudio.
>> >
>> > Was it patched to find pulseaudio by default? My only
>> misgiving about this
>> > is
>> > that pulseaudio is very high-latency.
>> >
>> > Victor
>> > ----- Original Message ----- > From: "Art Hunkins" <abhunkin at uncg.edu>
>> > To: "Peter Robinson" <pbrobinson at gmail.com>; "Felipe
>> Sateler"
>> > <fsateler at gmail.com>
>> > Cc: <csound at lists.bath.ac.uk>
>> > Sent: Tuesday, September 08, 2009 1:46 AM
>> > Subject: [Csnd] Re: csound on Fedora 11 and rawhide
>> >
>> >
>> > > I'm really excited that Csound now seems to be working on
>> > > Sugar-on-a-Stick.
>> > >
>> > > I'm getting sound written to -odac, but unfortunately am
>> still not hearing
>> > > audio. I imagine my problem is my audio setup.
>> > >
>> > > My <CsOptions> are:
>> > > -odac -m0d --expression-opt -b128 -B2048
>> > >
>> > > This set of options work fine on the XO-1, which is of
>> course Csound5.08
>> > > with alsa as default rtaudio.
>> > >
>> > > SoaS default is now Pulseaudio, about which I know nothing;
>> my log shows
>> > > it is being used, as expected.
>> > >
>> > > I noted that there were also "updates" available for
>> pulseaudio and
>> > > pulseaudio-libs. (I don't believe they were part of Soas
>> Strawberry.) Not
>> > > knowing whether these are now needed, I installed them as
>> well. Still no
>> > > audio.
>> > >
>> > > FWIW, I'm on my WindowsXP system, which has several audio
>> drivers
>> > > installed on it along with a specified (Windows) default.
>> I've no idea if
>> > > this matters.
>> > >
>> > > What am I missing? I assume it's something in <CsOptions>.
>> > >
>> > > I'm hoping that for purposes of my Sugar activity, that the
>> additional
>> > > pulseaudio files will not need to be installed. For kids and
>> their
>> > > teachers and support people, the less that needs to be done
>> the better.
>> > >
>> > > Art Hunkins
>> > >
>> > > ----- Original Message ----- > > From: "Peter Robinson"
>> > > <pbrobinson at gmail.com>
>> > > To: "Art Hunkins" <abhunkin at uncg.edu>; "Felipe Sateler"
>> > > <fsateler at gmail.com>
>> > > Cc: <csound at lists.bath.ac.uk>; "Sugar devel"
>> > > <sugar-devel at lists.sugarlabs.org>
>> > > Sent: Sunday, September 06, 2009 5:12 PM
>> > > Subject: csound on Fedora 11 and rawhide
>> > >
>> > >
>> > >> Hi All,
>> > >>
>> > >> I think (with the help of Felipe) and after around a
>> million test
>> > >> recompiles :-) I've finally fixed the issues with the
>> csound python
>> > >> bindings on Fedora. The build is now in rawhide and fedora-
>> testing for
>> > >> Fedora 11 as of today. The build that your after is 5.10.1-
>> 12. For me
>> > >> at least it seems to work OK on Fedora 11 rawhide.
>> PulseAudio is set
>> > >> as the default. I would like to know how it looks to
>> everyone else.
>> > >>
>> > >> Cheers,
>> > >> Peter
>> > >
>> > >
>> > >
>> > > Send bugs reports to this list.
>> > > To unsubscribe, send email sympa at lists.bath.ac.uk with body
>> "unsubscribe
>> > > csound"
>> >
>> >
>> >
>> > Send bugs reports to this list.
>> > To unsubscribe, send email sympa at lists.bath.ac.uk with body
>> "unsubscribe csound"
>
> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
> National University of Ireland, Maynooth
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa at lists.bath.ac.uk with body "unsubscribe
> csound"=
>


More information about the Sugar-devel mailing list