Csound Csound-dev Csound-tekno Search About

[Cs-dev] Question about inch

Date2010-12-06 08:24
Fromjohn ffitch
Subject[Cs-dev] Question about inch
The manual says that 
    If kchan is greater than
    nchnls_i, ain will be
    silent. Note that inch will give a warning
    but not an error in this case. 
but the code does not do this, but exits the opcode with a perf
error.  Which is best?  I can fix the code either way (I have both
versions).

...and while I have the keyboard, I implemented @1223 and @@1224 in
the new parser as input formats to the orchestra.  This is for
integers, that is it is not an operator.  I think I know how to add
this to the old parser (will look closer).

The other change yesterday was a first cut at a read-string-from-file
opcode, readks, modelled on readk.  Would appreciate any thoughts or
comments on what this should do.

==John ffitch
  Nearly end of term.....only two weeks

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-12-06 08:43
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] Question about inch
I have used inch with kchan>nchnls,
for me it would leave ain silent but print no error or warning.
This is a very useful feature, as I can code for multiple in/out and
still be able to run the same orchestra in stereo (when working on the
laptop, or when sending the orc to someone else).
It would be ok if Csound prints a warning, but it should not cause an error IMO.

all best
Oeyvind

2010/12/6 john ffitch :
> The manual says that
>    If kchan is greater than
>    nchnls_i, ain will be
>    silent. Note that inch will give a warning
>    but not an error in this case.
> but the code does not do this, but exits the opcode with a perf
> error.  Which is best?  I can fix the code either way (I have both
> versions).
>
> ...and while I have the keyboard, I implemented @1223 and @@1224 in
> the new parser as input formats to the orchestra.  This is for
> integers, that is it is not an operator.  I think I know how to add
> this to the old parser (will look closer).
>
> The other change yesterday was a first cut at a read-string-from-file
> opcode, readks, modelled on readk.  Would appreciate any thoughts or
> comments on what this should do.
>
> ==John ffitch
>  Nearly end of term.....only two weeks
>
> ------------------------------------------------------------------------------
> What happens now with your Lotus Notes apps - do you make another costly
> upgrade, or settle for being marooned without product support? Time to move
> off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
> use, and manage than apps on traditional platforms. Sign up for the Lotus
> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-12-06 10:19
Fromjoachim heintz
SubjectRe: [Cs-dev] Question about inch
this is my opinion, too, but i'd prefer a warning message.
	joachim


Am 06.12.2010 um 09:43 schrieb Oeyvind Brandtsegg:

> I have used inch with kchan>nchnls,
> for me it would leave ain silent but print no error or warning.
> This is a very useful feature, as I can code for multiple in/out and
> still be able to run the same orchestra in stereo (when working on the
> laptop, or when sending the orc to someone else).
> It would be ok if Csound prints a warning, but it should not cause  
> an error IMO.
>
> all best
> Oeyvind
>
> 2010/12/6 john ffitch :
>> The manual says that
>>    If kchan is greater than
>>    nchnls_i, ain will be
>>    silent. Note that inch will give a warning
>>    but not an error in this case.
>> but the code does not do this, but exits the opcode with a perf
>> error.  Which is best?  I can fix the code either way (I have both
>> versions).
>>
>> ...and while I have the keyboard, I implemented @1223 and @@1224 in
>> the new parser as input formats to the orchestra.  This is for
>> integers, that is it is not an operator.  I think I know how to add
>> this to the old parser (will look closer).
>>
>> The other change yesterday was a first cut at a read-string-from-file
>> opcode, readks, modelled on readk.  Would appreciate any thoughts or
>> comments on what this should do.
>>
>> ==John ffitch
>>  Nearly end of term.....only two weeks
>>
>> ------------------------------------------------------------------------------
>> What happens now with your Lotus Notes apps - do you make another  
>> costly
>> upgrade, or settle for being marooned without product support? Time  
>> to move
>> off Lotus Notes and onto the cloud with Force.com, apps are easier  
>> to build,
>> use, and manage than apps on traditional platforms. Sign up for the  
>> Lotus
>> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> What happens now with your Lotus Notes apps - do you make another  
> costly
> upgrade, or settle for being marooned without product support? Time  
> to move
> off Lotus Notes and onto the cloud with Force.com, apps are easier  
> to build,
> use, and manage than apps on traditional platforms. Sign up for the  
> Lotus
> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>


------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net