| I see Victor got there before I did. (The wiki is indeed correct currently.)
Art Hunkins
----- Original Message -----
From: "Victor Lazzarini"
To:
Sent: Wednesday, April 14, 2010 6:39 PM
Subject: [Csnd] Re: Re: MIDI playback
>I fixed the wiki!
> On 14 Apr 2010, at 23:24, Steven Yi wrote:
>
>> I just took a look at the CSD and there's no header that one would
>> normally expect, so you should add nchnls=2 at the top of the
>> CsInstruments section. It's odd too as it means the project is just
>> using default settings; maybe OLPC Csound was modified to default to
>> nchnls=2, I don't know, but they must be doing something or the
>> project would fail as it does for you.
>>
>> On Wed, Apr 14, 2010 at 6:21 PM, Steven Yi wrote:
>>> Hi Andrew,
>>>
>>> This error message seems to be the main clue:
>>>
>>> outs inconsistent with global nchnls (1); replaced with out
>>>
>>> I haveO 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 section. I'd try changing
>>> that to:
>>>
>>> nchnls=2
>>>
>>> steven
>>>
>>>
>>> On Wed, Apr 14, 2010 at 5:58 PM, See Sound 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"
>
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"
|