Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Csound rtaudio choice

Date2009-08-19 20:12
From"Art Hunkins"
SubjectRe: [Cs-dev] Csound rtaudio choice
AttachmentsNone  None  
+1
 
For sure, let's have a default of something that we can count on being present.
 
Art Hunkins
----- Original Message -----
Sent: Wednesday, August 19, 2009 2:04 PM
Subject: Re: [Cs-dev] Csound rtaudio choice

I think we could change this to default to ALSA on linux
as it will probably always be there.

Can we have a vote?

Victor
----- Original Message -----
From: Felipe Sateler <fsateler@gmail.com>
Date: Wednesday, August 19, 2009 2:55 pm
Subject: Re: [Cs-dev] Csound rtaudio choice
To: Developer discussions <csound-devel@lists.sourceforge.net>

> The "fault" seems to me is in Top/csound.c, around line 932 (of 5.10):
>
>    s = csoundQueryGlobalVariable(p, "_RTAUDIO");
> #ifdef OLPC
>     strcpy(s, "alsa");
> #else
>     strcpy(s, "PortAudio");
> #endif
>     csoundCreateConfigurationVariable(p,
> "rtaudio", s, CSOUNDCFG_STRING,
>                                       0, NULL, &max_len,
>                                       "Real time audio module name", NULL);
>
> Am I right in interpreting this as setting the default rtaudio
> module to alsa
> on OLPC (which IIUC from the recent discussions, will never be
> different
> again), and PortAudio elsewhere? As a quick hack, setting s to
> the
> distribution's preferred sound system should work?
>
> El miércoles 19 de agosto, Victor.Lazzarini@nuim.ie escribió:
> > In my experience, if you don't have portaudio, then youneed to add
> > -+rtaudio=alsa. I always thought that this was wrong and if
> portaudio was
> > not there, then thertaudio should default to alsa.-----
> Original Message
> > -----From: Michael Gogins <michael.gogins@gmail.com>Date:
> Wednesday, August
> > 19, 2009 2:20 pmSubject: Re: [Cs-dev] Csound rtaudio choiceTo:
> Developer> discussions <csound-devel@lists.sourceforge.net>>
> Thanks for your attention
> > to this issue. I think this is just a bug> that should be
> fixed, and your
> > suggestion sounds good.> > Regards,> Mike> > On 8/19/09,
> Felipe Sateler
> > <fsateler@gmail.com> wrote:> > I've been in talking with
> Peter Robinson to
> > help him with the > csound issues> > in> > Fedora/Sugar on a
> Stick, and we
> > have made some progress. > However, in the> > resulting tests,
> we found out
> > that csound will try to use > PortAudio even> > when> > it is
> built with
> > usePortAudio=0. It all ends up in a > segmentation fault,> >
> since> > the
> > module does not exist. Is this expected behaviour? I seem > to
> recall that>
> > > there was some discussion about this previously, but I
> cannot > find it
> > now,> > and> > I don't remember if it came to a conclusion.
> What is csound
> > > doing when> > loading> > rtaudio plugins? I think each
> plugin should have
> > a priority, > and csound> > would> > load them in order of
> decreasing> priority, falling back on the > next one when> > the
> current plugin is
> > unavailable/not working.> >> >> > Saludos,> > Felipe Sateler>
> >> > > -- >
> > Michael Gogins> Irreducible Productions> http://www.michael-
> gogins.com>> Michael dot Gogins at gmail dot com> >
> > ---------------------------------------------------------------
> -->
> > -------------> Let Crystal Reports handle the reporting - Free
> Crystal> Reports > 2008 30-Day > trial. Simplify your report
> design, integration and
> > deployment - > and focus on > what you do best, core
> application coding.
> > Discover what's new > with > Crystal Reports now.
> > http://p.sf.net/sfu/bobj-july>
> > _______________________________________________> Csound-devel
> mailing list>
> > Csound-devel@lists.sourceforge.net>
> > https://lists.sourceforge.net/lists/listinfo/csound-develDr Victor
> > Lazzarini, Senior Lecturer, Dept. of Music,National University
> of Ireland,
> > Maynooth
>
>
>
> Saludos,
> Felipe Sateler> -----------------------------------------------------------------
> -------------
> Let Crystal Reports handle the reporting - Free Crystal Reports
> 2008 30-Day
> trial. Simplify your report design, integration and deployment -
> and focus on
> what you do best, core application coding. Discover what's new
> with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
National University of Ireland, Maynooth


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july


_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel