Csound beginner problem
Date | 2016-06-18 07:58 |
From | Ayush <000000a6f055669a-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Csound beginner problem |
Hi, I have been trying to use csound and i am a beginner at it. function run() { cs.Compile("./test.csd"); cs.Start(); cs.Perform(); cs.Cleanup(); cs.Reset(); } this is a thread call to the class that plays csound files. When I play it for the first time, everything works fine but when i call csound.start() next time on click of a button (Note csound.start invoked a call to run function), I cant hear any sound. The call goes through cs.Compile() and cs.Start() but doesnt perform anything. Could you help me find out what the error is. It seems like the buffer is empty. -- View this message in context: http://csound.1045644.n5.nabble.com/Csound-beginner-problem-tp5750200.html Sent from the Csound - General mailing list archive at Nabble.com. 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 |
Date | 2016-06-18 10:44 |
From | Victor Lazzarini |
Subject | Re: Csound beginner problem |
What is the context? Is this js with PNaCl? Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland > On 18 Jun 2016, at 07:58, Ayush <000000a6f055669a-dmarc-request@LISTSERV.HEANET.IE> wrote: > > Hi, > I have been trying to use csound and i am a beginner at it. > > function run() > { > cs.Compile("./test.csd"); > cs.Start(); > cs.Perform(); > cs.Cleanup(); > cs.Reset(); > } > this is a thread call to the class that plays csound files. > When I play it for the first time, everything works fine but when i call > csound.start() next time on click of a button (Note csound.start invoked a > call to run function), I cant hear any sound. The call goes through > cs.Compile() and cs.Start() but doesnt perform anything. > Could you help me find out what the error is. It seems like the buffer is > empty. > > > > -- > View this message in context: http://csound.1045644.n5.nabble.com/Csound-beginner-problem-tp5750200.html > Sent from the Csound - General mailing list archive at Nabble.com. > > 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 |
Date | 2016-06-18 12:27 |
From | Ayush <000000a6f055669a-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: Csound beginner problem |
Hi, I am using Qt to develop a csound application on Android. Anyways I just shifted setOpenSlCallbacks from constructor to the run function and it runs now successfully. So is it like the csoundReset also breaks the OpenSl connection also? Thanks -- View this message in context: http://csound.1045644.n5.nabble.com/Csound-beginner-problem-tp5750200p5750203.html Sent from the Csound - General mailing list archive at Nabble.com. 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 |