Csound Csound-dev Csound-tekno Search About

[Csnd] new parser...

Date2011-10-14 12:35
FromRory Walsh
Subject[Csnd] new parser...
Although nchnls is set to two I only output to one channel. It's not
such a problem it runs with the new parser, the problem is that the
signal on the right channel is full of high pitched noise. Would it be
possible in such situations to send whatever is on the left channel to
the right channel also? Or simply add an error or warning stating the
problem? I know it's obvious to anyone who's used Csound before, but
to a beginner it's not.



-odac


nchnls = 2

instr 1
a1 oscil 30000, 220, 1
out a1
endin



f1 0 1024 10 1
i1 0 100




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"

Date2011-10-14 20:53
FromMartin Smith
SubjectRe: [Csnd] new parser...
Hi Rory,

Only beginning myself really but I think if you were to put:

"out a1, a1"

that it would send it equally to both channels.

Sorry if I've missed the point of your question by the way but I hope that helps.

On Fri, Oct 14, 2011 at 12:35 PM, Rory Walsh <rorywalsh@ear.ie> wrote:
Although nchnls is set to two I only output to one channel. It's not
such a problem it runs with the new parser, the problem is that the
signal on the right channel is full of high pitched noise. Would it be
possible in such situations to send whatever is on the left channel to
the right channel also? Or simply add an error or warning stating the
problem? I know it's obvious to anyone who's used Csound before, but
to a beginner it's not.

<CsoundSynthesizer>
<CsOptions>
-odac
</CsOptions>
<CsInstruments>
nchnls = 2

instr 1
a1 oscil 30000, 220, 1
out a1
endin

</CsInstruments>
<CsScore>
f1 0 1024 10 1
i1 0 100
</CsScore>
</CsoundSynthesizer>


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"



Date2011-10-14 21:12
FromRory Walsh
SubjectRe: [Csnd] new parser...
That probably would work, although to be syntactically correct it
should probably be "outs a1, a1". Anyhow, that's not really the point.
I was only posting to point out how the new parser doesn't print any
warnings or errors in this situation but the old parser does.

On 14 October 2011 20:53, Martin Smith  wrote:
> Hi Rory,
> Only beginning myself really but I think if you were to put:
> "out a1, a1"
> that it would send it equally to both channels.
> Sorry if I've missed the point of your question by the way but I hope that
> helps.
> On Fri, Oct 14, 2011 at 12:35 PM, Rory Walsh  wrote:
>>
>> Although nchnls is set to two I only output to one channel. It's not
>> such a problem it runs with the new parser, the problem is that the
>> signal on the right channel is full of high pitched noise. Would it be
>> possible in such situations to send whatever is on the left channel to
>> the right channel also? Or simply add an error or warning stating the
>> problem? I know it's obvious to anyone who's used Csound before, but
>> to a beginner it's not.
>>
>> 
>> 
>> -odac
>> 
>> 
>> nchnls = 2
>>
>> instr 1
>> a1 oscil 30000, 220, 1
>> out a1
>> endin
>>
>> 
>> 
>> f1 0 1024 10 1
>> i1 0 100
>> 
>> 
>>
>>
>> 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"