Csound Csound-dev Csound-tekno Search About

chnsend error

Date2015-09-03 15:32
Fromhlolli
Subjectchnsend error
Hi, I'm trying to use chnsend to send to csound API a metro tick count. But
whatever variable I put in chnsend (i,k,a rates) I always get:

error: syntax error, unexpected T_IDENT

Im using this code;

instr 1
kstack init 0
ktrig metro 32
if (ktrig == 1) then
kstack += 1
endif
chnsend kstack, "stack"
endin



--
View this message in context: http://csound.1045644.n5.nabble.com/chnsend-error-tp5743407.html
Sent from the Csound - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-03 15:46
Fromjpff
SubjectRe: chnsend error
I suspect chnsend is not in your system -- look with -z option

it is not in mine eiter


On Thu, 3 Sep 2015, hlolli wrote:

> Hi, I'm trying to use chnsend to send to csound API a metro tick count. But
> whatever variable I put in chnsend (i,k,a rates) I always get:
>
> error: syntax error, unexpected T_IDENT
>
> Im using this code;
>
> instr 1
> kstack init 0
> ktrig metro 32
> if (ktrig == 1) then
> kstack += 1
> endif
> chnsend kstack, "stack"
> endin
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/chnsend-error-tp5743407.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-03 15:53
FromHlöðver Sigurðsson
SubjectRe: chnsend error
AttachmentsNone  None  
Nope;

 chn_S               chn_a               chn_k
chnclear            chnexport           chnget              chnmix
chnparams           chnset              chuap

2015-09-03 16:46 GMT+02:00 jpff <jpff@codemist.co.uk>:
I suspect chnsend is not in your system -- look with -z option

it is not in mine eiter


On Thu, 3 Sep 2015, hlolli wrote:

> Hi, I'm trying to use chnsend to send to csound API a metro tick count. But
> whatever variable I put in chnsend (i,k,a rates) I always get:
>
> error: syntax error, unexpected T_IDENT
>
> Im using this code;
>
> instr 1
> kstack init 0
> ktrig metro 32
> if (ktrig == 1) then
> kstack += 1
> endif
> chnsend kstack, "stack"
> endin
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/chnsend-error-tp5743407.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here


Date2015-09-03 15:54
FromVictor Lazzarini
SubjectRe: chnsend error
You should use chnset.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 3 Sep 2015, at 15:32, hlolli  wrote:
> 
> Hi, I'm trying to use chnsend to send to csound API a metro tick count. But
> whatever variable I put in chnsend (i,k,a rates) I always get:
> 
> error: syntax error, unexpected T_IDENT
> 
> Im using this code;
> 
> instr 1
> kstack init 0
> ktrig metro 32
> if (ktrig == 1) then
> kstack += 1
> endif
> chnsend kstack, "stack"
> endin
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/chnsend-error-tp5743407.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-03 15:57
FromHlöðver Sigurðsson
SubjectRe: chnsend error
AttachmentsNone  None  
Ok, I misunderstood chnset, thought it was to recieve data from API, I will try that!

2015-09-03 16:54 GMT+02:00 Victor Lazzarini <Victor.Lazzarini@nuim.ie>:
You should use chnset.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 3 Sep 2015, at 15:32, hlolli <hlolli@gmail.com> wrote:
>
> Hi, I'm trying to use chnsend to send to csound API a metro tick count. But
> whatever variable I put in chnsend (i,k,a rates) I always get:
>
> error: syntax error, unexpected T_IDENT
>
> Im using this code;
>
> instr 1
> kstack init 0
> ktrig metro 32
> if (ktrig == 1) then
> kstack += 1
> endif
> chnsend kstack, "stack"
> endin
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/chnsend-error-tp5743407.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here


Date2015-09-03 15:58
FromVictor Lazzarini
SubjectRe: chnsend error
I see it is in the manual, but I don’t think it has been implemented. We should take it off for now.

Use chnset/chnget or invalue/outvalue, depending on how you are implementing it via the
API (with GetChannel()/SetChannel() or with callbacks).

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 3 Sep 2015, at 15:53, Hlöðver Sigurðsson  wrote:
> 
> Nope;
> 
>  chn_S               chn_a               chn_k
> chnclear            chnexport           chnget              chnmix
> chnparams           chnset              chuap 
> 
> 2015-09-03 16:46 GMT+02:00 jpff :
> I suspect chnsend is not in your system -- look with -z option
> 
> it is not in mine eiter
> 
> 
> On Thu, 3 Sep 2015, hlolli wrote:
> 
> > Hi, I'm trying to use chnsend to send to csound API a metro tick count. But
> > whatever variable I put in chnsend (i,k,a rates) I always get:
> >
> > error: syntax error, unexpected T_IDENT
> >
> > Im using this code;
> >
> > instr 1
> > kstack init 0
> > ktrig metro 32
> > if (ktrig == 1) then
> > kstack += 1
> > endif
> > chnsend kstack, "stack"
> > endin
> >
> >
> >
> > --
> > View this message in context: http://csound.1045644.n5.nabble.com/chnsend-error-tp5743407.html
> > Sent from the Csound - General mailing list archive at Nabble.com.
> >
> > ------------------------------------------------------------------------------
> > Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> > Get real-time metrics from all of your servers, apps and tools
> > in one place.
> > SourceForge users - Click here to start your Free Trial of Datadog now!
> > http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> > _______________________________________________
> > Csound-users mailing list
> > Csound-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-users
> > Send bugs reports to
> >        https://github.com/csound/csound/issues
> > Discussions of bugs and features can be posted here
> >
> 
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> 
> ------------------------------------------------------------------------------
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140_______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here