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

Art Hunkins abhunkin at uncg.edu
Tue Sep 8 17:00:09 EDT 2009


Followup:
I've now got audio with SoaS on my Windows box. (I think I used a 
differently prepared stick, probably one that was updated *correctly*). All 
results were as described below on my Asus EeePC900.

My remaining problem is MIDI input. Here are my <CsOptions>:
-odac -+rtaudio=alsa -+rtmidi=alsa -M 
hw:1,0 -m0d --expression-opt -b128 -B2048 -+raw_controller_mode=1
(It seems that *both* -+rtaudio=alsa and -+rtmidi=alsa are required here.)

No sound, and the log shows real confusion on the MIDI front. Here is the 
relevent portion:
ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC1D0 
failed: No such file or directory

ALSA: error opening MIDI input device

*** error opening MIDI in device: -1 (Unknown MIDI error)


Seems like there is something missing for alsa MIDI.

BTW, both -+rtmidi=pulse and -+rtmidi=portmidi fail; apparently these 
options don't exist.

Art Hunkins

----- Original Message ----- 
From: "Art Hunkins" <abhunkin at uncg.edu>
To: <csound at lists.bath.ac.uk>; <pbrobinson at gmail.com>
Cc: <sugar-devel at lists.sugarlabs.org>
Sent: Tuesday, September 08, 2009 2:10 PM
Subject: Re: [Csnd] Re: Re: Re: Re: csound on Fedora 11 and rawhide


> I've finally got sound, out of my Asus EeePC900 (Linux) - wonderful.
>
> 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.
> 2) Pulseaudio works with either -+rtaudio=pulse, or nothing (I guess that 
> means it is "patched").
> 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).
> 4) Portaudio is indeed completely absent; if you specify -+rtaudio=pa [or 
> portaudio], Csound crashes.
> 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.)
>
> 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