----- Original Message -----
Sent: Thursday, April 15, 2010 3:23
PM
Subject: [Csnd] Re: Re: MIDI
playback
On April 15, 2010 at 4:00
PM Art Hunkins <
abhunkin@uncg.edu> wrote:
>
Also, if you're on the XO and having trouble with the default pulseaudio
> output, try
-+rtaudio=alsa. It works much better.
I /had/ to specify "alsa" on my "standard" Fedora 12
notebook, since I had removed pulseaudio from it (doesn't work in that
system); however, I may not have done the same for the XO; can't remember at
this point (don't have the setup at the moment, to verify)
However! You tips have led to my successful
midi-csound-tone generation on the XO, as well as on standard Fedora 12.
Curiously, the lag on the standard system was an awful one to two seconds, but
on the XO there was barely any noticeable lag. There is slight audio
distortion on the XO, but that's probably the limitation of the XO audio
hardware (wish it was a tad louder, too)
Again, thanks for not passing by this newbie and coming
to my rescue
(I will return to this project in a couple of days;
currently in a crunch with deadlines)
thank you all
andrew
> Art
Hunkins>
> ----- Original Message -----
> From: "Steven Yi"
<stevenyi@gmail.com>
> To: <csound@lists.bath.ac.uk>
>
Sent: Wednesday, April 14, 2010 6:21 PM
> Subject: [Csnd] Re: MIDI
playback
>
>
> Hi Andrew,
>
> This error message
seems to be the main clue:
>
> outs inconsistent with global
nchnls (1); replaced with out
>
> I have not seen the CSD but my
guess is that it has a line setting
> nchnls to 1 like
this:
>
> nchnls=1
>
> probably in the head of the
<CsInstruments> section. I'd try changing that
>
to:
>
> nchnls=2
>
> steven
>
>
> On
Wed, Apr 14, 2010 at 5:58 PM, See Sound <csound@flight.us>
wrote:
> > Hi, all
> >
> >
> >
>
> I am following the example on
> >
http://wiki.laptop.org/go/Csound#MIDI_playback
> >
> >
Copying and pasting the "GM_example.csd" code (also modifying the path
to
> > the sound font), but "csound ./GM_example.csd" gives
me:
> >
> >
> > time resolution is 1000.000
ns
> > virtual_keyboard real time MIDI plugin for Csound
> >
0dBFS level = 32768.0
> > Csound version 5.10 beta (double samples)
Dec 3 2009
> > libsndfile-1.0.20
> > UnifiedCSD:
./GM_example.csd
> > STARTING FILE
> > Creating
orchestra
> > Creating score
> > orchname:
/tmp/filepv0vlb.orc
> > scorename: /tmp/fileMOARQL.sco
> >
rtaudio: pulseaudio module enabled
> > orch compiler:
> >
122 lines read
> > instr 1
> > instr 10
> > outs
inconsistent with global nchnls (1); replaced with out
> > error: too
many input args, line 122:
> > outs a1*kvol*(0.5-kpan/2)*kenv,
a2*kvol*(0.5+kpan/2)*kenv
> > error: input arg
'a2*kvol*(0.5+kpan/2)*kenv' of type a not allowed when
> > expecting
i, line 122:
> > outs a1*kvol*(0.5-kpan/2)*kenv,
a2*kvol*(0.5+kpan/2)*kenv
> >
################################################################
> >
# WARNING: OPCODEDIR64 IS NOT SET ! #
> > # Csound requires this
environment variable to be set to find #
> > # its plugin libraries.
If it is not set, you may experience #
> > # missing opcodes,
audio/MIDI drivers, or utilities. #
> >
################################################################
> >
2 syntax errors in orchestra. compilation invalid
> > Removing
temporary file /tmp/fileMOARQL.sco ...
> > Removing temporary file
/tmp/filepv0vlb.orc ...
> >
> > ------------
>
>
> > What am I doing wrong?
> >
> > I could not
get any help on the OLPC mailing list, nor on IRC.
> >
> >
TIA
> >
> > andrew
>
>
> Send bugs reports
to the Sourceforge bug tracker
>
https://sourceforge.net/tracker/?group_id=81968&atid=564599
>
Discussions of bugs and features can be posted here
> To unsubscribe,
send email sympa@lists.bath.ac.uk with body "unsubscribe
>
csound"
>
> =
>
>
>
> Send bugs reports to
the Sourceforge bug tracker
>
https://sourceforge.net/tracker/?group_id=81968&atid=564599
>
Discussions of bugs and features can be posted here
> To unsubscribe,
send email sympa@lists.bath.ac.uk with body "unsubscribe
csound"
>