Csound Csound-dev Csound-tekno Search About

c api example not working?

Date2016-03-08 02:26
FromJustin Smith
Subjectc api example not working?
When I compile and run the example at https://github.com/csound/csoundAPI_examples/blob/master/c/example8.c I see the events happen without error, but there are no output amplitudes. Is this a problem with how the API is being used, or the orchestra, or?

I tried using a different output (jack) but still I got no amplitudes (though csound did successfully connect to jack).
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-03-08 06:29
FromVictor Lazzarini
SubjectRe: c api example not working?
Maybe a problem with the channels? Did you try setting freq/amp to fixed values?

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 8 Mar 2016, at 02:26, Justin Smith <noisesmith@GMAIL.COM> wrote:

When I compile and run the example at https://github.com/csound/csoundAPI_examples/blob/master/c/example8.c I see the events happen without error, but there are no output amplitudes. Is this a problem with how the API is being used, or the orchestra, or?

I tried using a different output (jack) but still I got no amplitudes (though csound did successfully connect to jack).
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-03-08 12:16
FromJustin Smith
SubjectRe: c api example not working?
Yes, replacing the chnget calls with constant values works.

What needs to be changed here to make the channel reads set the values properly?

On Mon, Mar 7, 2016 at 10:29 PM Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Maybe a problem with the channels? Did you try setting freq/amp to fixed values?

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 8 Mar 2016, at 02:26, Justin Smith <noisesmith@GMAIL.COM> wrote:

When I compile and run the example at https://github.com/csound/csoundAPI_examples/blob/master/c/example8.c I see the events happen without error, but there are no output amplitudes. Is this a problem with how the API is being used, or the orchestra, or?

I tried using a different output (jack) but still I got no amplitudes (though csound did successfully connect to jack).
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-03-08 12:19
FromVictor Lazzarini
SubjectRe: c api example not working?
Good question. I would have thought that it should work, esp. since it probably did when it was written. Maybe
Steven can check it?
========================
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 8 Mar 2016, at 12:16, Justin Smith  wrote:
> 
> Yes, replacing the chnget calls with constant values works.
> 
> What needs to be changed here to make the channel reads set the values properly?
> 
> On Mon, Mar 7, 2016 at 10:29 PM Victor Lazzarini  wrote:
> Maybe a problem with the channels? Did you try setting freq/amp to fixed values?
> 
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
> 
> On 8 Mar 2016, at 02:26, Justin Smith  wrote:
> 
>> When I compile and run the example at https://github.com/csound/csoundAPI_examples/blob/master/c/example8.c I see the events happen without error, but there are no output amplitudes. Is this a problem with how the API is being used, or the orchestra, or?
>> 
>> I tried using a different output (jack) but still I got no amplitudes (though csound did successfully connect to jack).
>> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-03-08 12:22
FromVictor Lazzarini
SubjectRe: c api example not working?
By the way, I just compiled it here and it works as expected. So I am not quite sure what the problem is, but it might be
your system.
========================
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 8 Mar 2016, at 12:16, Justin Smith  wrote:
> 
> Yes, replacing the chnget calls with constant values works.
> 
> What needs to be changed here to make the channel reads set the values properly?
> 
> On Mon, Mar 7, 2016 at 10:29 PM Victor Lazzarini  wrote:
> Maybe a problem with the channels? Did you try setting freq/amp to fixed values?
> 
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
> 
> On 8 Mar 2016, at 02:26, Justin Smith  wrote:
> 
>> When I compile and run the example at https://github.com/csound/csoundAPI_examples/blob/master/c/example8.c I see the events happen without error, but there are no output amplitudes. Is this a problem with how the API is being used, or the orchestra, or?
>> 
>> I tried using a different output (jack) but still I got no amplitudes (though csound did successfully connect to jack).
>> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-03-08 12:28
FromJustin Smith
SubjectRe: c api example not working?
6.02 here, maybe something that's been fixed in a newer release?

On Tue, Mar 8, 2016 at 4:22 AM Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
By the way, I just compiled it here and it works as expected. So I am not quite sure what the problem is, but it might be
your system.
========================
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 8 Mar 2016, at 12:16, Justin Smith <noisesmith@gmail.com> wrote:
>
> Yes, replacing the chnget calls with constant values works.
>
> What needs to be changed here to make the channel reads set the values properly?
>
> On Mon, Mar 7, 2016 at 10:29 PM Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> Maybe a problem with the channels? Did you try setting freq/amp to fixed values?
>
> Victor Lazzarini
> Dean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
>
> On 8 Mar 2016, at 02:26, Justin Smith <noisesmith@GMAIL.COM> wrote:
>
>> When I compile and run the example at https://github.com/csound/csoundAPI_examples/blob/master/c/example8.c I see the events happen without error, but there are no output amplitudes. Is this a problem with how the API is being used, or the orchestra, or?
>>
>> I tried using a different output (jack) but still I got no amplitudes (though csound did successfully connect to jack).
>> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-03-08 12:42
FromVictor Lazzarini
SubjectRe: c api example not working?
Ah, possibly.
========================
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 8 Mar 2016, at 12:28, Justin Smith  wrote:
> 
> 6.02 here, maybe something that's been fixed in a newer release?
> 
> On Tue, Mar 8, 2016 at 4:22 AM Victor Lazzarini  wrote:
> By the way, I just compiled it here and it works as expected. So I am not quite sure what the problem is, but it might be
> your system.
> ========================
> 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 8 Mar 2016, at 12:16, Justin Smith  wrote:
> >
> > Yes, replacing the chnget calls with constant values works.
> >
> > What needs to be changed here to make the channel reads set the values properly?
> >
> > On Mon, Mar 7, 2016 at 10:29 PM Victor Lazzarini  wrote:
> > Maybe a problem with the channels? Did you try setting freq/amp to fixed values?
> >
> > Victor Lazzarini
> > Dean of Arts, Celtic Studies, and Philosophy
> > Maynooth University
> > Ireland
> >
> > On 8 Mar 2016, at 02:26, Justin Smith  wrote:
> >
> >> When I compile and run the example at https://github.com/csound/csoundAPI_examples/blob/master/c/example8.c I see the events happen without error, but there are no output amplitudes. Is this a problem with how the API is being used, or the orchestra, or?
> >>
> >> I tried using a different output (jack) but still I got no amplitudes (though csound did successfully connect to jack).
> >> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
> > Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
> > Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-03-12 14:44
FromJustin Smith
SubjectRe: c api example not working?
I finally got csound built and installed from git, and this issue was resolved, thanks again.

On Tue, Mar 8, 2016 at 4:42 AM Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Ah, possibly.
========================
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 8 Mar 2016, at 12:28, Justin Smith <noisesmith@gmail.com> wrote:
>
> 6.02 here, maybe something that's been fixed in a newer release?
>
> On Tue, Mar 8, 2016 at 4:22 AM Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> By the way, I just compiled it here and it works as expected. So I am not quite sure what the problem is, but it might be
> your system.
> ========================
> 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 8 Mar 2016, at 12:16, Justin Smith <noisesmith@gmail.com> wrote:
> >
> > Yes, replacing the chnget calls with constant values works.
> >
> > What needs to be changed here to make the channel reads set the values properly?
> >
> > On Mon, Mar 7, 2016 at 10:29 PM Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> > Maybe a problem with the channels? Did you try setting freq/amp to fixed values?
> >
> > Victor Lazzarini
> > Dean of Arts, Celtic Studies, and Philosophy
> > Maynooth University
> > Ireland
> >
> > On 8 Mar 2016, at 02:26, Justin Smith <noisesmith@GMAIL.COM> wrote:
> >
> >> When I compile and run the example at https://github.com/csound/csoundAPI_examples/blob/master/c/example8.c I see the events happen without error, but there are no output amplitudes. Is this a problem with how the API is being used, or the orchestra, or?
> >>
> >> I tried using a different output (jack) but still I got no amplitudes (though csound did successfully connect to jack).
> >> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
> > Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
> > Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
> Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here