<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-481</id>
	<title>Nabble - Csound - Dev</title>
	<updated>2009-11-27T07:20:20Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Csound---Dev-f481.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Csound---Dev-f481.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26543813</id>
	<title>Re: bus opcodes</title>
	<published>2009-11-27T07:20:20Z</published>
	<updated>2009-11-27T07:20:20Z</updated>
	<author>
		<name>michael.gogins</name>
	</author>
	<content type="html">This didn't seem to go through to the list though I sent it last night, 
&lt;br&gt;sending it again and also to the Csound list...
&lt;br&gt;&lt;br&gt;MKG
&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543813&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Michael.Gogins@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;quot;Developer discussions&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543813&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;csound-devel@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Thursday, November 26, 2009 11:16 PM
&lt;br&gt;Subject: Re: [Cs-dev] bus opcodes
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;I have mentioned before that Peter Brinkmann's jReality package, written in
&lt;br&gt;&amp;gt; Java, for mathematics visualization and sonification can use Csound to
&lt;br&gt;&amp;gt; attach sounds to visual objects. Here is Peter's source code, which I 
&lt;br&gt;&amp;gt; helped
&lt;br&gt;&amp;gt; him to write, from jReality SVN for sending audio output from Csound to 
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; audio backend of jReality. I have heard this code run. I imagine similar
&lt;br&gt;&amp;gt; code would work in Lua, and I may verify that if I have time.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The key lines are as follows, with my comments added:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; // SWIG-generated wrapper for an array of MYFLT.
&lt;br&gt;&amp;gt; &amp;nbsp;spout = new CsoundMYFLTArray();
&lt;br&gt;&amp;gt; // Set the SWIG wrapper for Csound's spout buffer pointer to the MYFLT 
&lt;br&gt;&amp;gt; array
&lt;br&gt;&amp;gt; wrapper. The &amp;quot;Ptr&amp;quot; is a SWIG wrapper for a C MYFLT * pointer.
&lt;br&gt;&amp;gt; // In other words, in SWIG-generated code you never see a truly raw 
&lt;br&gt;&amp;gt; pointer.
&lt;br&gt;&amp;gt; // THIS IS PROBABLY YOUR MISSING STEP, GENTLEMEN.
&lt;br&gt;&amp;gt; &amp;nbsp;spout.SetPtr(csnd.GetSpout());
&lt;br&gt;&amp;gt; // Create a native host language buffer for sending monophonic audio to 
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; backend.
&lt;br&gt;&amp;gt; &amp;nbsp;cumulativeBuffer = new float[ksmps];
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; // Call on Csound to synthesize ksmps worth of audio.
&lt;br&gt;&amp;gt; // ANOTHER POSSIBLE &amp;quot;GOTCHA&amp;quot;: MUST USE csoundPerformKsmps NOT
&lt;br&gt;&amp;gt; csoundPerformBuffer.
&lt;br&gt;&amp;gt; &amp;nbsp; csnd.PerformKsmps();
&lt;br&gt;&amp;gt; // Transfer audio, framewise, from the SWIG wrapper for spout to my native
&lt;br&gt;&amp;gt; buffer.
&lt;br&gt;&amp;gt; // I.e., j is the SAMPLE FRAME index.
&lt;br&gt;&amp;gt; &amp;nbsp; for(int j=0; j&amp;lt;ksmps; j++) {
&lt;br&gt;&amp;gt; // Average N-channel output to my monophonic native buffer.
&lt;br&gt;&amp;gt; // Note that v collects only one sample if nchnls = 1.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;float v = 0;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;// I.e., k is the CHANNEL index (and ksmps is the channel &amp;quot;stride&amp;quot; in
&lt;br&gt;&amp;gt; spout).
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;for(int k=j; k&amp;lt;bufSize; k+=ksmps) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; v += spout.GetValue(k);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;cumulativeBuffer[j] = v/scale;
&lt;br&gt;&amp;gt; &amp;nbsp; }
&lt;br&gt;&amp;gt; // Write my native audio buffer to my backend.
&lt;br&gt;&amp;gt; &amp;nbsp; ringBuffer.write(cumulativeBuffer, 0, ksmps);
&lt;br&gt;&amp;gt; &amp;nbsp;}
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; For N-channel final output, instead of
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; v+= spout.GetValue(k)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; you should have
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; frame[channel] = spout.getValue(k)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In spite of the fact that this works, I will add to the API more direct,
&lt;br&gt;&amp;gt; samplewise access to spout and spin. The above would be more efficient for
&lt;br&gt;&amp;gt; ksmps above a certain size, but I'm not sure what that size would be; I
&lt;br&gt;&amp;gt; expect for low latency (ksmps of 20 or so) samplewise access should be 
&lt;br&gt;&amp;gt; about
&lt;br&gt;&amp;gt; as fast.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I imagine the reason SWIG takes this circuitous route is that, in some
&lt;br&gt;&amp;gt; languages, you can directly index a pointer as though it is an array,
&lt;br&gt;&amp;gt; whereas in other languages pointers do not directly appear. The array
&lt;br&gt;&amp;gt; wrapper makes both kinds of languages act the same way.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hope this helps,
&lt;br&gt;&amp;gt; Mike
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----- Original Message ----- 
&lt;br&gt;&amp;gt; From: &amp;quot;jhearon&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543813&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;j_hearon@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543813&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;csound-devel@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sent: Thursday, November 26, 2009 8:51 PM
&lt;br&gt;&amp;gt; Subject: Re: [Cs-dev] bus opcodes
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; You may remember that i failed to get the JAVA API to access audio
&lt;br&gt;&amp;gt;&amp;gt; channels last summer, and there still is no explanation
&lt;br&gt;&amp;gt;&amp;gt; ==John ffitch
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi John,
&lt;br&gt;&amp;gt;&amp;gt; This was some old java code posted a long time ago which is supposed to
&lt;br&gt;&amp;gt;&amp;gt; show
&lt;br&gt;&amp;gt;&amp;gt; channel communication to/from a java host using .csnd.jar methods. &amp;nbsp;I'm 
&lt;br&gt;&amp;gt;&amp;gt; no
&lt;br&gt;&amp;gt;&amp;gt; Java expert but sort of have this working. &amp;nbsp;Maybe Steven Yi or J.P.
&lt;br&gt;&amp;gt;&amp;gt; Lemoine
&lt;br&gt;&amp;gt;&amp;gt; are better at java. &amp;nbsp;The code I was working on was mostly using chnget to
&lt;br&gt;&amp;gt;&amp;gt; get a k-value for frequency from the java host using the
&lt;br&gt;&amp;gt;&amp;gt; csoundGetChannelPtr
&lt;br&gt;&amp;gt;&amp;gt; method and passing the java wrapped value of MYFLT **p to csound.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; //Main.java
&lt;br&gt;&amp;gt;&amp;gt; public class Main {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;public static void main(String[] args) {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chntest_thread &amp;nbsp;c = new chntest_thread();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt;&amp;gt; }
&lt;br&gt;&amp;gt;&amp;gt; //--------------
&lt;br&gt;&amp;gt;&amp;gt; //chntest_thread.java
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; import csnd.*;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; public class chntest_thread {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;SWIGTYPE_p_void myvoid;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;//SWIGTYPE_p_void myvoid = null;//if above gives compiler error
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;SWIGTYPE_p_CSOUND_ mycsound = csnd.csoundCreate(myvoid);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;Csound csound = new Csound();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;CsoundMYFLTArray myfltarray = new CsoundMYFLTArray();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;CsoundMYFLTArray chn1 = new CsoundMYFLTArray();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;CsoundMYFLTArray chn2 = new CsoundMYFLTArray();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;CsoundMYFLTArray chn3 = new CsoundMYFLTArray();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;CsoundMYFLTArray chn4 = new CsoundMYFLTArray();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;CsoundMYFLTArray chn5 = new CsoundMYFLTArray();
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;chntest_thread() {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;run();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;public void run() {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;int err, ksmps, kcnt = 0;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;double phs = 0.0, phs_inc;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;err = csound.Compile(&amp;quot;chnTest.csd&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;if (err == 0) {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;err |= csnd.csoundGetChannelPtr(mycsound, chn1.GetPtr(), &amp;quot;k_in&amp;quot;,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;csndConstants.CSOUND_CONTROL_CHANNEL
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| csndConstants.CSOUND_INPUT_CHANNEL);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;err |= csnd.csoundGetChannelPtr(mycsound, chn2.GetPtr(), &amp;quot;a_in&amp;quot;,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;csndConstants.CSOUND_AUDIO_CHANNEL
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| csndConstants.CSOUND_INPUT_CHANNEL);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;err |= csnd.csoundGetChannelPtr(mycsound, chn3.GetPtr(), &amp;quot;S_in&amp;quot;,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;csndConstants.CSOUND_STRING_CHANNEL
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| csndConstants.CSOUND_INPUT_CHANNEL);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;err |= csnd.csoundGetChannelPtr(mycsound, chn4.GetPtr(), &amp;quot;k_out&amp;quot;,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;csndConstants.CSOUND_CONTROL_CHANNEL
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| csndConstants.CSOUND_OUTPUT_CHANNEL);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;err |= csnd.csoundGetChannelPtr(mycsound, chn5.GetPtr(), &amp;quot;S_out&amp;quot;,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;csndConstants.CSOUND_STRING_CHANNEL
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| csndConstants.CSOUND_OUTPUT_CHANNEL);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (err == 0) {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chn1.SetValue(0, 3.14159265);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chn3.SetStringValue(&amp;quot;String Input Value&amp;quot;,
&lt;br&gt;&amp;gt;&amp;gt; csound.GetStrVarMaxLen());
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;phs_inc = 2.0 * 3.14159265 * 440.0 / csound.GetSr();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ksmps = csound.GetKsmps();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;do {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; ksmps; i++) {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chn2.SetValue(i, 0.7071 * Math.sin(phs));
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;phs += phs_inc;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;err = csound.PerformKsmps();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (kcnt == 0) {
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String s = chn5.GetStringValue();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.err.printf(&amp;quot;Values sent: %g, '%s'\n&amp;quot;, chn4.GetValue(0),
&lt;br&gt;&amp;gt;&amp;gt; s);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;kcnt++;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} while (err == 0);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; csound.Reset();
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;java.lang.System.exit(1);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;} //end run method
&lt;br&gt;&amp;gt;&amp;gt; }//ends chntest_thread
&lt;br&gt;&amp;gt;&amp;gt; //-----------
&lt;br&gt;&amp;gt;&amp;gt; //chnTest.csd
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;CsoundSynthesizer&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;CsOptions&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -s -d -+rtaudio=ALSA -odac:hw:0,0 -b1024 -B16384
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;/CsOptions&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;CsInstruments&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; sr = &amp;nbsp;44100
&lt;br&gt;&amp;gt;&amp;gt; ksmps = &amp;nbsp;32
&lt;br&gt;&amp;gt;&amp;gt; nchnls = &amp;nbsp;2
&lt;br&gt;&amp;gt;&amp;gt; 0dbfs = &amp;nbsp;1
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chn_k &amp;quot;k_in&amp;quot;, 1
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chn_a &amp;quot;a_in&amp;quot;, 1
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chn_S &amp;quot;S_in&amp;quot;, 1
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chn_k &amp;quot;k_out&amp;quot;, 2
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chn_S &amp;quot;S_out&amp;quot;, 2
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chnset 2.71828, &amp;quot;k_out&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chnset &amp;quot;Output String Value&amp;quot;, &amp;quot;S_out&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;instr 1
&lt;br&gt;&amp;gt;&amp;gt; ichn1 chnget &amp;quot;k_in&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; achn2 chnget &amp;quot;a_in&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; Schn3 chnget &amp;quot;S_in&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf_i &amp;quot;Values received: %g, '%s'\n&amp;quot;, 1, ichn1, Schn3
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;outs achn2, achn2
&lt;br&gt;&amp;gt;&amp;gt; endin
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;/CsInstruments&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;CsScore&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; i 1 0 2
&lt;br&gt;&amp;gt;&amp;gt; e
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;/CsScore&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;/CsoundSynthesizer&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/bus-opcodes-tp26362662p26535852.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/bus-opcodes-tp26362662p26535852.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; Sent from the Csound - Dev mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008
&lt;br&gt;&amp;gt;&amp;gt; 30-Day
&lt;br&gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - and 
&lt;br&gt;&amp;gt;&amp;gt; focus
&lt;br&gt;&amp;gt;&amp;gt; on
&lt;br&gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543813&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543813&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bus-opcodes-tp26362662p26543813.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26537790</id>
	<title>Re: bus opcodes</title>
	<published>2009-11-26T20:16:26Z</published>
	<updated>2009-11-26T20:16:26Z</updated>
	<author>
		<name>michael.gogins</name>
	</author>
	<content type="html">I have mentioned before that Peter Brinkmann's jReality package, written in 
&lt;br&gt;Java, for mathematics visualization and sonification can use Csound to 
&lt;br&gt;attach sounds to visual objects. Here is Peter's source code, which I helped 
&lt;br&gt;him to write, from jReality SVN for sending audio output from Csound to the 
&lt;br&gt;audio backend of jReality. I have heard this code run. I imagine similar 
&lt;br&gt;code would work in Lua, and I may verify that if I have time.
&lt;br&gt;&lt;br&gt;The key lines are as follows, with my comments added:
&lt;br&gt;&lt;br&gt;// SWIG-generated wrapper for an array of MYFLT.
&lt;br&gt;&amp;nbsp; spout = new CsoundMYFLTArray();
&lt;br&gt;// Set the SWIG wrapper for Csound's spout buffer pointer to the MYFLT array 
&lt;br&gt;wrapper. The &amp;quot;Ptr&amp;quot; is a SWIG wrapper for a C MYFLT * pointer.
&lt;br&gt;// In other words, in SWIG-generated code you never see a truly raw pointer.
&lt;br&gt;// THIS IS PROBABLY YOUR MISSING STEP, GENTLEMEN.
&lt;br&gt;&amp;nbsp; spout.SetPtr(csnd.GetSpout());
&lt;br&gt;// Create a native host language buffer for sending monophonic audio to the 
&lt;br&gt;backend.
&lt;br&gt;&amp;nbsp; cumulativeBuffer = new float[ksmps];
&lt;br&gt;&lt;br&gt;// Call on Csound to synthesize ksmps worth of audio.
&lt;br&gt;// ANOTHER POSSIBLE &amp;quot;GOTCHA&amp;quot;: MUST USE csoundPerformKsmps NOT 
&lt;br&gt;csoundPerformBuffer.
&lt;br&gt;&amp;nbsp; &amp;nbsp;csnd.PerformKsmps();
&lt;br&gt;// Transfer audio, framewise, from the SWIG wrapper for spout to my native 
&lt;br&gt;buffer.
&lt;br&gt;// I.e., j is the SAMPLE FRAME index.
&lt;br&gt;&amp;nbsp; &amp;nbsp;for(int j=0; j&amp;lt;ksmps; j++) {
&lt;br&gt;// Average N-channel output to my monophonic native buffer.
&lt;br&gt;// Note that v collects only one sample if nchnls = 1.
&lt;br&gt;&amp;nbsp; &amp;nbsp; float v = 0;
&lt;br&gt;&amp;nbsp; &amp;nbsp; // I.e., k is the CHANNEL index (and ksmps is the channel &amp;quot;stride&amp;quot; in 
&lt;br&gt;spout).
&lt;br&gt;&amp;nbsp; &amp;nbsp; for(int k=j; k&amp;lt;bufSize; k+=ksmps) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;v += spout.GetValue(k);
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; cumulativeBuffer[j] = v/scale;
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;// Write my native audio buffer to my backend.
&lt;br&gt;&amp;nbsp; &amp;nbsp;ringBuffer.write(cumulativeBuffer, 0, ksmps);
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&lt;br&gt;For N-channel final output, instead of
&lt;br&gt;&lt;br&gt;v+= spout.GetValue(k)
&lt;br&gt;&lt;br&gt;you should have
&lt;br&gt;&lt;br&gt;frame[channel] = spout.getValue(k)
&lt;br&gt;&lt;br&gt;In spite of the fact that this works, I will add to the API more direct, 
&lt;br&gt;samplewise access to spout and spin. The above would be more efficient for 
&lt;br&gt;ksmps above a certain size, but I'm not sure what that size would be; I 
&lt;br&gt;expect for low latency (ksmps of 20 or so) samplewise access should be about 
&lt;br&gt;as fast.
&lt;br&gt;&lt;br&gt;I imagine the reason SWIG takes this circuitous route is that, in some 
&lt;br&gt;languages, you can directly index a pointer as though it is an array, 
&lt;br&gt;whereas in other languages pointers do not directly appear. The array 
&lt;br&gt;wrapper makes both kinds of languages act the same way.
&lt;br&gt;&lt;br&gt;Hope this helps,
&lt;br&gt;Mike
&lt;br&gt;&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;quot;jhearon&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26537790&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;j_hearon@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26537790&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;csound-devel@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Thursday, November 26, 2009 8:51 PM
&lt;br&gt;Subject: Re: [Cs-dev] bus opcodes
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You may remember that i failed to get the JAVA API to access audio
&lt;br&gt;&amp;gt; channels last summer, and there still is no explanation
&lt;br&gt;&amp;gt; ==John ffitch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi John,
&lt;br&gt;&amp;gt; This was some old java code posted a long time ago which is supposed to 
&lt;br&gt;&amp;gt; show
&lt;br&gt;&amp;gt; channel communication to/from a java host using .csnd.jar methods. &amp;nbsp;I'm no
&lt;br&gt;&amp;gt; Java expert but sort of have this working. &amp;nbsp;Maybe Steven Yi or J.P. 
&lt;br&gt;&amp;gt; Lemoine
&lt;br&gt;&amp;gt; are better at java. &amp;nbsp;The code I was working on was mostly using chnget to
&lt;br&gt;&amp;gt; get a k-value for frequency from the java host using the 
&lt;br&gt;&amp;gt; csoundGetChannelPtr
&lt;br&gt;&amp;gt; method and passing the java wrapped value of MYFLT **p to csound.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; //Main.java
&lt;br&gt;&amp;gt; public class Main {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;public static void main(String[] args) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chntest_thread &amp;nbsp;c = new chntest_thread();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; //--------------
&lt;br&gt;&amp;gt; //chntest_thread.java
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; import csnd.*;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; public class chntest_thread {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;SWIGTYPE_p_void myvoid;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;//SWIGTYPE_p_void myvoid = null;//if above gives compiler error
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;SWIGTYPE_p_CSOUND_ mycsound = csnd.csoundCreate(myvoid);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Csound csound = new Csound();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;CsoundMYFLTArray myfltarray = new CsoundMYFLTArray();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;CsoundMYFLTArray chn1 = new CsoundMYFLTArray();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;CsoundMYFLTArray chn2 = new CsoundMYFLTArray();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;CsoundMYFLTArray chn3 = new CsoundMYFLTArray();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;CsoundMYFLTArray chn4 = new CsoundMYFLTArray();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;CsoundMYFLTArray chn5 = new CsoundMYFLTArray();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;chntest_thread() {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;run();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;public void run() {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;int err, ksmps, kcnt = 0;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;double phs = 0.0, phs_inc;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;err = csound.Compile(&amp;quot;chnTest.csd&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;if (err == 0) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;err |= csnd.csoundGetChannelPtr(mycsound, chn1.GetPtr(), &amp;quot;k_in&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;csndConstants.CSOUND_CONTROL_CHANNEL
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| csndConstants.CSOUND_INPUT_CHANNEL);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;err |= csnd.csoundGetChannelPtr(mycsound, chn2.GetPtr(), &amp;quot;a_in&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;csndConstants.CSOUND_AUDIO_CHANNEL
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| csndConstants.CSOUND_INPUT_CHANNEL);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;err |= csnd.csoundGetChannelPtr(mycsound, chn3.GetPtr(), &amp;quot;S_in&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;csndConstants.CSOUND_STRING_CHANNEL
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| csndConstants.CSOUND_INPUT_CHANNEL);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;err |= csnd.csoundGetChannelPtr(mycsound, chn4.GetPtr(), &amp;quot;k_out&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;csndConstants.CSOUND_CONTROL_CHANNEL
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| csndConstants.CSOUND_OUTPUT_CHANNEL);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;err |= csnd.csoundGetChannelPtr(mycsound, chn5.GetPtr(), &amp;quot;S_out&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;csndConstants.CSOUND_STRING_CHANNEL
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| csndConstants.CSOUND_OUTPUT_CHANNEL);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (err == 0) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chn1.SetValue(0, 3.14159265);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chn3.SetStringValue(&amp;quot;String Input Value&amp;quot;, 
&lt;br&gt;&amp;gt; csound.GetStrVarMaxLen());
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;phs_inc = 2.0 * 3.14159265 * 440.0 / csound.GetSr();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ksmps = csound.GetKsmps();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;do {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; ksmps; i++) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chn2.SetValue(i, 0.7071 * Math.sin(phs));
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;phs += phs_inc;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;err = csound.PerformKsmps();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (kcnt == 0) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String s = chn5.GetStringValue();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.err.printf(&amp;quot;Values sent: %g, '%s'\n&amp;quot;, chn4.GetValue(0),
&lt;br&gt;&amp;gt; s);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;kcnt++;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} while (err == 0);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; csound.Reset();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;java.lang.System.exit(1);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;} //end run method
&lt;br&gt;&amp;gt; }//ends chntest_thread
&lt;br&gt;&amp;gt; //-----------
&lt;br&gt;&amp;gt; //chnTest.csd
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;CsoundSynthesizer&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;CsOptions&amp;gt;
&lt;br&gt;&amp;gt; -s -d -+rtaudio=ALSA -odac:hw:0,0 -b1024 -B16384
&lt;br&gt;&amp;gt; &amp;lt;/CsOptions&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;CsInstruments&amp;gt;
&lt;br&gt;&amp;gt; sr = &amp;nbsp;44100
&lt;br&gt;&amp;gt; ksmps = &amp;nbsp;32
&lt;br&gt;&amp;gt; nchnls = &amp;nbsp;2
&lt;br&gt;&amp;gt; 0dbfs = &amp;nbsp;1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chn_k &amp;quot;k_in&amp;quot;, 1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chn_a &amp;quot;a_in&amp;quot;, 1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chn_S &amp;quot;S_in&amp;quot;, 1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chn_k &amp;quot;k_out&amp;quot;, 2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chn_S &amp;quot;S_out&amp;quot;, 2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chnset 2.71828, &amp;quot;k_out&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;chnset &amp;quot;Output String Value&amp;quot;, &amp;quot;S_out&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;instr 1
&lt;br&gt;&amp;gt; ichn1 chnget &amp;quot;k_in&amp;quot;
&lt;br&gt;&amp;gt; achn2 chnget &amp;quot;a_in&amp;quot;
&lt;br&gt;&amp;gt; Schn3 chnget &amp;quot;S_in&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;printf_i &amp;quot;Values received: %g, '%s'\n&amp;quot;, 1, ichn1, Schn3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;outs achn2, achn2
&lt;br&gt;&amp;gt; endin
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/CsInstruments&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;CsScore&amp;gt;
&lt;br&gt;&amp;gt; i 1 0 2
&lt;br&gt;&amp;gt; e
&lt;br&gt;&amp;gt; &amp;lt;/CsScore&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/CsoundSynthesizer&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; View this message in context: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/bus-opcodes-tp26362662p26535852.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/bus-opcodes-tp26362662p26535852.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Csound - Dev mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
&lt;br&gt;&amp;gt; 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus 
&lt;br&gt;&amp;gt; on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26537790&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;/div&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26537790&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;CsoundSource.java&lt;/strong&gt; (2K) &lt;a href=&quot;http://old.nabble.com/attachment/26537790/0/CsoundSource.java&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bus-opcodes-tp26362662p26537790.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26537389</id>
	<title>Re: bus opcodes</title>
	<published>2009-11-26T18:57:36Z</published>
	<updated>2009-11-26T18:57:36Z</updated>
	<author>
		<name>Steven Yi</name>
	</author>
	<content type="html">Hi Jim,
&lt;br&gt;&lt;br&gt;I think the problems for John and Java were for working with a-sig
&lt;br&gt;variables and not k-vars. I haven't had much luck myself but was going
&lt;br&gt;to look into it. (Got sidetracked)
&lt;br&gt;&lt;br&gt;Steven
&lt;br&gt;&lt;br&gt;On 11/26/09, jhearon &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26537389&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;j_hearon@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You may remember that i failed to get the JAVA API to access audio
&lt;br&gt;&amp;gt; channels last summer, and there still is no explanation
&lt;br&gt;&amp;gt; ==John ffitch
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi John,
&lt;br&gt;&amp;gt; This was some old java code posted a long time ago which is supposed to show
&lt;br&gt;&amp;gt; channel communication to/from a java host using .csnd.jar methods. &amp;nbsp;I'm no
&lt;br&gt;&amp;gt; Java expert but sort of have this working. &amp;nbsp;Maybe Steven Yi or J.P. Lemoine
&lt;br&gt;&amp;gt; are better at java. &amp;nbsp;The code I was working on was mostly using chnget to
&lt;br&gt;&amp;gt; get a k-value for frequency from the java host using the csoundGetChannelPtr
&lt;br&gt;&amp;gt; method and passing the java wrapped value of MYFLT **p to csound.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; //Main.java
&lt;br&gt;&amp;gt; public class Main {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; public static void main(String[] args) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chntest_thread &amp;nbsp;c = new chntest_thread();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; //--------------
&lt;br&gt;&amp;gt; //chntest_thread.java
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; import csnd.*;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; public class chntest_thread {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; SWIGTYPE_p_void myvoid;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; //SWIGTYPE_p_void myvoid = null;//if above gives compiler error
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; SWIGTYPE_p_CSOUND_ mycsound = csnd.csoundCreate(myvoid);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Csound csound = new Csound();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; CsoundMYFLTArray myfltarray = new CsoundMYFLTArray();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; CsoundMYFLTArray chn1 = new CsoundMYFLTArray();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; CsoundMYFLTArray chn2 = new CsoundMYFLTArray();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; CsoundMYFLTArray chn3 = new CsoundMYFLTArray();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; CsoundMYFLTArray chn4 = new CsoundMYFLTArray();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; CsoundMYFLTArray chn5 = new CsoundMYFLTArray();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; chntest_thread() {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; run();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; public void run() {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; int err, ksmps, kcnt = 0;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; double phs = 0.0, phs_inc;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; err = csound.Compile(&amp;quot;chnTest.csd&amp;quot;);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; if (err == 0) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; err |= csnd.csoundGetChannelPtr(mycsound, chn1.GetPtr(), &amp;quot;k_in&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; csndConstants.CSOUND_CONTROL_CHANNEL
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | csndConstants.CSOUND_INPUT_CHANNEL);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; err |= csnd.csoundGetChannelPtr(mycsound, chn2.GetPtr(), &amp;quot;a_in&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; csndConstants.CSOUND_AUDIO_CHANNEL
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | csndConstants.CSOUND_INPUT_CHANNEL);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; err |= csnd.csoundGetChannelPtr(mycsound, chn3.GetPtr(), &amp;quot;S_in&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; csndConstants.CSOUND_STRING_CHANNEL
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | csndConstants.CSOUND_INPUT_CHANNEL);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; err |= csnd.csoundGetChannelPtr(mycsound, chn4.GetPtr(), &amp;quot;k_out&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; csndConstants.CSOUND_CONTROL_CHANNEL
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | csndConstants.CSOUND_OUTPUT_CHANNEL);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; err |= csnd.csoundGetChannelPtr(mycsound, chn5.GetPtr(), &amp;quot;S_out&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; csndConstants.CSOUND_STRING_CHANNEL
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | csndConstants.CSOUND_OUTPUT_CHANNEL);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (err == 0) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chn1.SetValue(0, 3.14159265);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chn3.SetStringValue(&amp;quot;String Input Value&amp;quot;, csound.GetStrVarMaxLen());
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; phs_inc = 2.0 * 3.14159265 * 440.0 / csound.GetSr();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ksmps = csound.GetKsmps();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; do {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt; ksmps; i++) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chn2.SetValue(i, 0.7071 * Math.sin(phs));
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; phs += phs_inc;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; err = csound.PerformKsmps();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (kcnt == 0) {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String s = chn5.GetStringValue();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.err.printf(&amp;quot;Values sent: %g, '%s'\n&amp;quot;, chn4.GetValue(0),
&lt;br&gt;&amp;gt; s);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; kcnt++;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } while (err == 0);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;csound.Reset();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; java.lang.System.exit(1);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; } //end run method
&lt;br&gt;&amp;gt; }//ends chntest_thread
&lt;br&gt;&amp;gt; //-----------
&lt;br&gt;&amp;gt; //chnTest.csd
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;CsoundSynthesizer&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;CsOptions&amp;gt;
&lt;br&gt;&amp;gt; -s -d -+rtaudio=ALSA -odac:hw:0,0 -b1024 -B16384
&lt;br&gt;&amp;gt; &amp;lt;/CsOptions&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;CsInstruments&amp;gt;
&lt;br&gt;&amp;gt; sr = &amp;nbsp;44100
&lt;br&gt;&amp;gt; ksmps = &amp;nbsp;32
&lt;br&gt;&amp;gt; nchnls = &amp;nbsp;2
&lt;br&gt;&amp;gt; 0dbfs = &amp;nbsp;1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chn_k &amp;quot;k_in&amp;quot;, 1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chn_a &amp;quot;a_in&amp;quot;, 1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chn_S &amp;quot;S_in&amp;quot;, 1
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chn_k &amp;quot;k_out&amp;quot;, 2
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chn_S &amp;quot;S_out&amp;quot;, 2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chnset 2.71828, &amp;quot;k_out&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chnset &amp;quot;Output String Value&amp;quot;, &amp;quot;S_out&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; instr 1
&lt;br&gt;&amp;gt; ichn1 chnget &amp;quot;k_in&amp;quot;
&lt;br&gt;&amp;gt; achn2 chnget &amp;quot;a_in&amp;quot;
&lt;br&gt;&amp;gt; Schn3 chnget &amp;quot;S_in&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf_i &amp;quot;Values received: %g, '%s'\n&amp;quot;, 1, ichn1, Schn3
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; outs achn2, achn2
&lt;br&gt;&amp;gt; endin
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/CsInstruments&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;CsScore&amp;gt;
&lt;br&gt;&amp;gt; i 1 0 2
&lt;br&gt;&amp;gt; e
&lt;br&gt;&amp;gt; &amp;lt;/CsScore&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/CsoundSynthesizer&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/bus-opcodes-tp26362662p26535852.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/bus-opcodes-tp26362662p26535852.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Csound - Dev mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus
&lt;br&gt;&amp;gt; on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26537389&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Sent from my mobile device
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26537389&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bus-opcodes-tp26362662p26537389.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26535852</id>
	<title>Re: bus opcodes</title>
	<published>2009-11-26T17:51:46Z</published>
	<updated>2009-11-26T17:51:46Z</updated>
	<author>
		<name>jhearon</name>
	</author>
	<content type="html">&lt;br&gt;&lt;quote author=&quot;john ffitch&quot;&gt;&lt;br&gt;You may remember that i failed to get the JAVA API to access audio
&lt;br&gt;channels last summer, and there still is no explanation
&lt;br&gt;==John ffitch
&lt;br&gt;&lt;br&gt;Hi John,
&lt;br&gt;This was some old java code posted a long time ago which is supposed to show channel communication to/from a java host using .csnd.jar methods. &amp;nbsp;I'm no Java expert but sort of have this working. &amp;nbsp;Maybe Steven Yi or J.P. Lemoine are better at java. &amp;nbsp;The code I was working on was mostly using chnget to get a k-value for frequency from the java host using the csoundGetChannelPtr method and passing the java wrapped value of MYFLT **p to csound.
&lt;br&gt;&lt;br&gt;//Main.java
&lt;br&gt;public class Main {
&lt;br&gt;&amp;nbsp; &amp;nbsp; public static void main(String[] args) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chntest_thread &amp;nbsp;c = new chntest_thread();
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;//--------------
&lt;br&gt;//chntest_thread.java
&lt;br&gt;&lt;br&gt;import csnd.*;
&lt;br&gt;&lt;br&gt;public class chntest_thread {
&lt;br&gt;&amp;nbsp; &amp;nbsp; SWIGTYPE_p_void myvoid;
&lt;br&gt;&amp;nbsp; &amp;nbsp; //SWIGTYPE_p_void myvoid = null;//if above gives compiler error
&lt;br&gt;&amp;nbsp; &amp;nbsp; SWIGTYPE_p_CSOUND_ mycsound = csnd.csoundCreate(myvoid);
&lt;br&gt;&amp;nbsp; &amp;nbsp; Csound csound = new Csound();
&lt;br&gt;&amp;nbsp; &amp;nbsp; CsoundMYFLTArray myfltarray = new CsoundMYFLTArray();
&lt;br&gt;&amp;nbsp; &amp;nbsp; CsoundMYFLTArray chn1 = new CsoundMYFLTArray();
&lt;br&gt;&amp;nbsp; &amp;nbsp; CsoundMYFLTArray chn2 = new CsoundMYFLTArray();
&lt;br&gt;&amp;nbsp; &amp;nbsp; CsoundMYFLTArray chn3 = new CsoundMYFLTArray();
&lt;br&gt;&amp;nbsp; &amp;nbsp; CsoundMYFLTArray chn4 = new CsoundMYFLTArray();
&lt;br&gt;&amp;nbsp; &amp;nbsp; CsoundMYFLTArray chn5 = new CsoundMYFLTArray();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; chntest_thread() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; run();
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; public void run() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; int err, ksmps, kcnt = 0;
&lt;br&gt;&amp;nbsp; &amp;nbsp; double phs = 0.0, phs_inc;
&lt;br&gt;&amp;nbsp; &amp;nbsp; err = csound.Compile(&amp;quot;chnTest.csd&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; if (err == 0) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; err |= csnd.csoundGetChannelPtr(mycsound, chn1.GetPtr(), &amp;quot;k_in&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; csndConstants.CSOUND_CONTROL_CHANNEL
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | csndConstants.CSOUND_INPUT_CHANNEL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; err |= csnd.csoundGetChannelPtr(mycsound, chn2.GetPtr(), &amp;quot;a_in&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; csndConstants.CSOUND_AUDIO_CHANNEL
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | csndConstants.CSOUND_INPUT_CHANNEL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; err |= csnd.csoundGetChannelPtr(mycsound, chn3.GetPtr(), &amp;quot;S_in&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; csndConstants.CSOUND_STRING_CHANNEL
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | csndConstants.CSOUND_INPUT_CHANNEL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; err |= csnd.csoundGetChannelPtr(mycsound, chn4.GetPtr(), &amp;quot;k_out&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; csndConstants.CSOUND_CONTROL_CHANNEL
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | csndConstants.CSOUND_OUTPUT_CHANNEL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; err |= csnd.csoundGetChannelPtr(mycsound, chn5.GetPtr(), &amp;quot;S_out&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; csndConstants.CSOUND_STRING_CHANNEL
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | csndConstants.CSOUND_OUTPUT_CHANNEL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if (err == 0) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chn1.SetValue(0, 3.14159265);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chn3.SetStringValue(&amp;quot;String Input Value&amp;quot;, csound.GetStrVarMaxLen());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; phs_inc = 2.0 * 3.14159265 * 440.0 / csound.GetSr();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ksmps = csound.GetKsmps();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; do {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt; ksmps; i++) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chn2.SetValue(i, 0.7071 * Math.sin(phs));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; phs += phs_inc;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; err = csound.PerformKsmps();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (kcnt == 0) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String s = chn5.GetStringValue();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.err.printf(&amp;quot;Values sent: %g, '%s'\n&amp;quot;, chn4.GetValue(0), s);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; kcnt++;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } while (err == 0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;csound.Reset();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; java.lang.System.exit(1);
&lt;br&gt;&amp;nbsp; &amp;nbsp; } //end run method
&lt;br&gt;}//ends chntest_thread
&lt;br&gt;//-----------
&lt;br&gt;//chnTest.csd
&lt;br&gt;&lt;br&gt;&amp;lt;CsoundSynthesizer&amp;gt;
&lt;br&gt;&amp;lt;CsOptions&amp;gt;
&lt;br&gt;-s -d -+rtaudio=ALSA -odac:hw:0,0 -b1024 -B16384
&lt;br&gt;&amp;lt;/CsOptions&amp;gt;
&lt;br&gt;&amp;lt;CsInstruments&amp;gt;
&lt;br&gt;sr = &amp;nbsp;44100
&lt;br&gt;ksmps = &amp;nbsp;32
&lt;br&gt;nchnls = &amp;nbsp;2
&lt;br&gt;0dbfs = &amp;nbsp;1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chn_k &amp;quot;k_in&amp;quot;, 1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chn_a &amp;quot;a_in&amp;quot;, 1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chn_S &amp;quot;S_in&amp;quot;, 1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chn_k &amp;quot;k_out&amp;quot;, 2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chn_S &amp;quot;S_out&amp;quot;, 2
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chnset 2.71828, &amp;quot;k_out&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chnset &amp;quot;Output String Value&amp;quot;, &amp;quot;S_out&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; instr 1
&lt;br&gt;ichn1 chnget &amp;quot;k_in&amp;quot;
&lt;br&gt;achn2 chnget &amp;quot;a_in&amp;quot;
&lt;br&gt;Schn3 chnget &amp;quot;S_in&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf_i &amp;quot;Values received: %g, '%s'\n&amp;quot;, 1, ichn1, Schn3
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; outs achn2, achn2
&lt;br&gt;endin
&lt;br&gt;&lt;br&gt;&amp;lt;/CsInstruments&amp;gt;
&lt;br&gt;&amp;lt;CsScore&amp;gt;
&lt;br&gt;i 1 0 2
&lt;br&gt;e
&lt;br&gt;&amp;lt;/CsScore&amp;gt;
&lt;br&gt;&amp;lt;/CsoundSynthesizer&amp;gt;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bus-opcodes-tp26362662p26535852.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26535587</id>
	<title>Re: can't open device</title>
	<published>2009-11-26T14:13:55Z</published>
	<updated>2009-11-26T14:13:55Z</updated>
	<author>
		<name>Felipe Sateler</name>
	</author>
	<content type="html">On Thu, 2009-11-26 at 19:27 +0000, victor wrote:
&lt;br&gt;&amp;gt; Sounds like a dmix issue. There was a patch fixing the buffer size issue for 
&lt;br&gt;&amp;gt; use with the dmix only last week or the week before.
&lt;br&gt;&lt;br&gt;Ah, I see that CVS auto-corrects the -b and -B values. I've checked the
&lt;br&gt;sources, though, and thought the default for alsa should change from
&lt;br&gt;&amp;quot;plughw&amp;quot; to &amp;quot;default&amp;quot;. I'm not quite sure how to make portaudio use the
&lt;br&gt;default alsa interface instead of whatever it is choosing. Does anyone
&lt;br&gt;object to that change?
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Saludos,
&lt;br&gt;Felipe Sateler
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26535587&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (853 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26535587/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/can%27t-open-device-tp26533259p26535587.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26533982</id>
	<title>Re: can't open device</title>
	<published>2009-11-26T11:27:39Z</published>
	<updated>2009-11-26T11:27:39Z</updated>
	<author>
		<name>Victor Lazzarini</name>
	</author>
	<content type="html">Sounds like a dmix issue. There was a patch fixing the buffer size issue for 
&lt;br&gt;use with the dmix only last week or the week before.
&lt;br&gt;&lt;br&gt;Victor
&lt;br&gt;----- Original Message ----- 
&lt;br&gt;From: &amp;quot;Felipe Sateler&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533982&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fsateler@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: &amp;quot;Developer discussions&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533982&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;csound-devel@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Sent: Thursday, November 26, 2009 6:22 PM
&lt;br&gt;Subject: [Cs-dev] can't open device
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
&lt;br&gt;&amp;gt; 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus 
&lt;br&gt;&amp;gt; on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--------------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533982&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533982&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/can%27t-open-device-tp26533259p26533982.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26533259</id>
	<title>can't open device</title>
	<published>2009-11-26T10:22:12Z</published>
	<updated>2009-11-26T10:22:12Z</updated>
	<author>
		<name>Felipe Sateler</name>
	</author>
	<content type="html">When I have my music player paused (or any program with audio, but not
&lt;br&gt;necessarily audio running), csound can't play, either portaudio or alsa.
&lt;br&gt;When using portaudio I get:
&lt;br&gt;&lt;br&gt;PortAudio V19-devel (built Sep &amp;nbsp;1 2009)
&lt;br&gt;PortAudio: available output devices:
&lt;br&gt;&amp;nbsp; &amp;nbsp;0: HDA Intel: STAC92xx Digital (hw:0,1)
&lt;br&gt;&amp;nbsp; &amp;nbsp;1: iec958
&lt;br&gt;&amp;nbsp; &amp;nbsp;2: spdif
&lt;br&gt;&amp;nbsp; &amp;nbsp;3: default
&lt;br&gt;&amp;nbsp; &amp;nbsp;4: dmix
&lt;br&gt;PortAudio: failed to obtain device info.
&lt;br&gt;Failed to initialize real time audio output
&lt;br&gt;&lt;br&gt;&lt;br&gt;And with alsa I get
&lt;br&gt;&lt;br&gt;&amp;nbsp;*** Can't open device 'plughw' for audio output: Device or resource busy
&lt;br&gt;&lt;br&gt;Now, I could say that the ALSA driver is buggy and doesn't allow
&lt;br&gt;multiple apps at the same time, but I can open any number of other audio
&lt;br&gt;applications at the same time (eg, mplayer, vlc, youtube videos) without
&lt;br&gt;problems.
&lt;br&gt;&lt;br&gt;Any hints on why is this? My soundcard is an Intel HDA (the integrated
&lt;br&gt;chip on my inspiron 1420 notebook).
&lt;br&gt;&lt;br&gt;&lt;br&gt;Hmm, I just discovered that if I use -odac:default -B 1881 -b 1881 I can
&lt;br&gt;get sound. csound insisted that I set -B 1881 and the only way to do
&lt;br&gt;that was to set -b 1881, since otherwise csound rounds up to the next
&lt;br&gt;multiple of -b.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Saludos,
&lt;br&gt;Felipe Sateler
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26533259&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (853 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26533259/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/can%27t-open-device-tp26533259p26533259.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26527725</id>
	<title>Re: bus opcodes</title>
	<published>2009-11-26T03:01:23Z</published>
	<updated>2009-11-26T03:01:23Z</updated>
	<author>
		<name>john ffitch</name>
	</author>
	<content type="html">You may remember that i failed to get the JAVA API to access audio
&lt;br&gt;channels last summer, and there still is no explanation
&lt;br&gt;==John ffitch
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527725&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bus-opcodes-tp26362662p26527725.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26526075</id>
	<title>Re: UB binary of csound framework</title>
	<published>2009-11-26T00:40:20Z</published>
	<updated>2009-11-26T00:40:20Z</updated>
	<author>
		<name>Victor Lazzarini</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.6001.18344&quot; name=GENERATOR&gt;

&lt;/HEAD&gt;
&lt;BODY style=&quot;WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space&quot; bgColor=#ffffff&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;I don't want to discourage you completely, I think 
if you feel strongly about it you should&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;have a go. The main place to look in are files in 
the InOut directory. The best thing is to try to keep&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;the behaviour of FileOpen, FileOpen2, 
etc&amp;nbsp;unchanged. I think most of the code will access files 
through&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;these functions.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Victor&lt;/FONT&gt;&lt;/DIV&gt;
&lt;BLOCKQUOTE style=&quot;PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px&quot;&gt;
  &lt;DIV style=&quot;FONT: 10pt arial&quot;&gt;----- Original Message ----- &lt;/DIV&gt;
  &lt;DIV style=&quot;BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black&quot;&gt;&lt;B&gt;From:&lt;/B&gt; 
  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26526075&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt; &lt;/DIV&gt;
  &lt;DIV style=&quot;FONT: 10pt arial&quot;&gt;&lt;B&gt;To:&lt;/B&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26526075&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;csound-devel@...&lt;/a&gt; 
  &lt;/DIV&gt;
  &lt;DIV style=&quot;FONT: 10pt arial&quot;&gt;&lt;B&gt;Sent:&lt;/B&gt; Wednesday, November 25, 2009 10:19 
  PM&lt;/DIV&gt;
  &lt;DIV style=&quot;FONT: 10pt arial&quot;&gt;&lt;B&gt;Subject:&lt;/B&gt; Re: [Cs-dev] UB binary of csound 
  framework&lt;/DIV&gt;
  &lt;DIV&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;BR&gt;
  &lt;DIV&gt;
  &lt;DIV&gt;On Nov 25, 2009, at 1:38 PM, victor wrote:&lt;/DIV&gt;&lt;BR class=Apple-interchange-newline&gt;
  &lt;BLOCKQUOTE type=&quot;cite&quot;&gt;&lt;SPAN class=Apple-style-span style=&quot;WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot;&gt;
    &lt;DIV style=&quot;WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space&quot; bgcolor=&quot;#ffffff&quot;&gt;
    &lt;DIV&gt;I think they are both (difficult and dangerous). Also will require an 
    API bump.&lt;/DIV&gt;
    &lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
    &lt;DIV&gt;&lt;FONT face=Arial size=2&gt;As for &quot;in&quot;, the same could be done with an 
    opcode.&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;
  &lt;DIV&gt;&lt;BR&gt;&lt;/DIV&gt;fair enough&lt;/DIV&gt;
  &lt;DIV&gt;&lt;BR&gt;
  &lt;BLOCKQUOTE type=&quot;cite&quot;&gt;&lt;SPAN class=Apple-style-span style=&quot;WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot;&gt;
    &lt;DIV style=&quot;WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space&quot; bgcolor=&quot;#ffffff&quot;&gt;
    &lt;DIV&gt;&lt;FONT face=Arial size=2&gt;If you want to send in the 
    filename,&lt;/FONT&gt;&lt;/DIV&gt;
    &lt;DIV&gt;&lt;FONT face=Arial size=2&gt;a macro would do the job. But you can also run 
    lots of soundfiles in one csound run. My opinion&lt;/FONT&gt;&lt;/DIV&gt;
    &lt;DIV&gt;&lt;FONT face=Arial size=2&gt;of -i and in (regarding soundfiles) does not 
    change, it's not that useful or flexible. IMHO it is a&lt;/FONT&gt;&lt;/DIV&gt;
    &lt;DIV&gt;&lt;FONT face=Arial size=2&gt;legacy 
  feature.&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;
  &lt;DIV&gt;&lt;BR&gt;&lt;/DIV&gt;
  &lt;DIV&gt;well the MacCsound soundfile effects feature does rely heavily on 
  it..&lt;/DIV&gt;&lt;/DIV&gt;
  &lt;DIV&gt;&lt;BR&gt;
  &lt;BLOCKQUOTE type=&quot;cite&quot;&gt;&lt;SPAN class=Apple-style-span style=&quot;WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px&quot;&gt;
    &lt;DIV style=&quot;WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space&quot; bgcolor=&quot;#ffffff&quot;&gt;
    &lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
    &lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Implementing MP3 output as a plugin is (IMHO) 
    the best option.&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;
  &lt;DIV&gt;&lt;BR&gt;&lt;/DIV&gt;perhaps, but it definitely would be a smoother user experience 
  to have mp3 work just like any other file in all places throughout the 
  program. &amp;nbsp;anyway, i was just citing mp3 as ONE EXAMPLE why&amp;nbsp;&lt;/DIV&gt;
  &lt;DIV&gt;having the flexibility to optionally not use libsndfile seems desirable. 
  &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
  &lt;DIV&gt;&lt;BR&gt;&lt;/DIV&gt;
  &lt;DIV&gt;&amp;nbsp;but if it is going to be a pain in the butt i don't see it as worth 
  the effort at this point and i actually was more interested in just being able 
  to compile and/or run csound without it.&lt;/DIV&gt;
  &lt;DIV&gt;&lt;BR&gt;
  &lt;DIV&gt;-m&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR&gt;&lt;BR&gt;
  &lt;DIV&gt;&lt;SPAN class=Apple-style-span style=&quot;WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; border-spacing: 0px 0px; -khtml-text-decorations-in-effect: none; -apple-text-size-adjust: auto&quot;&gt;
  &lt;DIV&gt;matt ingalls&lt;/DIV&gt;
  &lt;DIV&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26526075&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt;&lt;/DIV&gt;
  &lt;DIV&gt;&lt;BR class=khtml-block-placeholder&gt;&lt;/DIV&gt;&lt;BR class=Apple-interchange-newline&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR&gt;
  &lt;P&gt;
  &lt;HR&gt;

  &lt;P&gt;&lt;/P&gt;------------------------------------------------------------------------------&lt;BR&gt;Let 
  Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
  &lt;BR&gt;trial. Simplify your report design, integration and deployment - and focus 
  on &lt;BR&gt;what you do best, core application coding. Discover what's new 
  with&lt;BR&gt;Crystal Reports now.&amp;nbsp; http://p.sf.net/sfu/bobj-july
  &lt;P&gt;
  &lt;HR&gt;

  &lt;P&gt;&lt;/P&gt;_______________________________________________&lt;BR&gt;Csound-devel mailing 
  list&lt;BR&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26526075&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;&lt;BR&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;BR&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26526075&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/UB-binary-of-csound-framework-tp26414818p26526075.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26521273</id>
	<title>Re: UB binary of csound framework</title>
	<published>2009-11-25T14:19:51Z</published>
	<updated>2009-11-25T14:19:51Z</updated>
	<author>
		<name>Matt Ingalls</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;br&gt;&lt;div&gt;&lt;div&gt;On Nov 25, 2009, at 1:38 PM, victor wrote:&lt;/div&gt;&lt;br class=&quot;Apple-interchange-newline&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;div bgcolor=&quot;#ffffff&quot; style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;div&gt;I think they are both (difficult and dangerous). Also will require an API bump.&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;As for &quot;in&quot;, the same could be done with an opcode.&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;fair enough&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;div bgcolor=&quot;#ffffff&quot; style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt; If you want to send in the filename,&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;a macro would do the job. But you can also run lots of soundfiles in one csound run. My opinion&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;of -i and in (regarding soundfiles) does not change, it's not that useful or flexible. IMHO it is a&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;legacy feature.&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;well the MacCsound soundfile effects feature does rely heavily on it..&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;div bgcolor=&quot;#ffffff&quot; style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;&lt;/font&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot;&gt;Implementing MP3 output as a plugin is (IMHO) the best option.&amp;nbsp;&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;perhaps, but it definitely would be a smoother user experience to have mp3 work just like any other file in all places throughout the program. &amp;nbsp;anyway, i was just citing mp3 as ONE EXAMPLE why&amp;nbsp;&lt;/div&gt;&lt;div&gt;having the flexibility to optionally not use libsndfile seems desirable. &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;but if it is going to be a pain in the butt i don't see it as worth the effort at this point and i actually was more interested in just being able to compile and/or run csound without it.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;div&gt;-m&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; &quot;&gt;&lt;div&gt;matt ingalls&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26521273&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br class=&quot;khtml-block-placeholder&quot;&gt;&lt;/div&gt;&lt;br class=&quot;Apple-interchange-newline&quot;&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;br&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26521273&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/UB-binary-of-csound-framework-tp26414818p26521273.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26520928</id>
	<title>Re: bus opcodes</title>
	<published>2009-11-25T13:52:55Z</published>
	<updated>2009-11-25T13:52:55Z</updated>
	<author>
		<name>Andres Cabrera</name>
	</author>
	<content type="html">Hi Matt,
&lt;br&gt;&lt;br&gt;On Wed, Nov 25, 2009 at 12:05 AM, matt ingalls &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520928&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; and strings, please.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; at least at one point you could put strings inside of the invalue/outvalue.
&lt;br&gt;&amp;gt; although it was kind of a hack and it might have been removed
&lt;br&gt;&amp;gt; (it doesn't seem to be working for me right now)
&lt;br&gt;&lt;br&gt;It's working, I use it in QuteCsound.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Andrés
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520928&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bus-opcodes-tp26362662p26520928.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26520898</id>
	<title>Re: bus opcodes</title>
	<published>2009-11-25T13:50:21Z</published>
	<updated>2009-11-25T13:50:21Z</updated>
	<author>
		<name>Andres Cabrera</name>
	</author>
	<content type="html">I think you could do a bit of a hack using fractional instrument
&lt;br&gt;numbers, and then doing something like:
&lt;br&gt;&lt;br&gt;Schan sprinfk &amp;quot;id_%f&amp;quot;, p1
&lt;br&gt;kval invalue Schan
&lt;br&gt;&lt;br&gt;But I do agree the situation with invalue vs. chnrecv is not ideal. I
&lt;br&gt;would think that since the functionality of invalue and outvalue is
&lt;br&gt;covered and extended by chnrecv and chnsend, they should be merged, to
&lt;br&gt;use a single code base, marking one of the API functions to set the
&lt;br&gt;callbacks as deprecated to remove in the future (and discouranging use
&lt;br&gt;of the string passing hack in invalue/outvalue).
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Andrés
&lt;br&gt;&lt;br&gt;On Tue, Nov 24, 2009 at 1:40 PM, Jonatan Liljedahl &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520898&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lijon@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Regarding this... there's a lot:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; chnset/chnget is not callback based, both k and a-rate.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; chani/chano is not callback based, both k and a-rate.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; invalue/outvalue is callback based but doesn't support a-rate.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; chnrecv/chnsend is callback and supports a-rate according to csound.h
&lt;br&gt;&amp;gt; but they are not documented in the manual, do they exist?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This surely is a bit messy. Also there are differences regarding channel
&lt;br&gt;&amp;gt; names vs channel numbers. It's a lot easier to dynamically change a
&lt;br&gt;&amp;gt; channel if it's a number, like passing in 5 in a p4 and use p4+0, p4+1,
&lt;br&gt;&amp;gt; p4+2, p4+3 as channelnumbers in the instrument...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm currently looking for a way to dynamically connect csound instrument
&lt;br&gt;&amp;gt; _instances_ to/from each other and to/from the host through the API to
&lt;br&gt;&amp;gt; have a timeline-based graphical signal flow language. (AlgoScore2)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This means I need to use a callback-based approach, and that the
&lt;br&gt;&amp;gt; callback needs to identify which instr instance is sending/getting a
&lt;br&gt;&amp;gt; value. This doesn't seem to be possible right now?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; One work-around would be to pass in an unique ID in a p-field and in the
&lt;br&gt;&amp;gt; instr use something like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; chnsend &amp;quot;_id&amp;quot;, p4
&lt;br&gt;&amp;gt; k1 chnrecv &amp;quot;foo&amp;quot;
&lt;br&gt;&amp;gt; a1 chnrecv &amp;quot;bar&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The callback would then react on a value on channel &amp;quot;_id&amp;quot; by storing the
&lt;br&gt;&amp;gt; ID in a variable in the Csound host data, so that in the other calls it
&lt;br&gt;&amp;gt; will know which instr instance is asking for data.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Surely this would work. But then comes another problem: if this is used
&lt;br&gt;&amp;gt; to send stuff between instr instances, then how do I control the order
&lt;br&gt;&amp;gt; of their performance? If I have A-&amp;gt;B-&amp;gt;C then they must be performed in
&lt;br&gt;&amp;gt; that order for the data to be available for the next instance down the
&lt;br&gt;&amp;gt; chain. Note that this is about instrument _instances_, not the static
&lt;br&gt;&amp;gt; instrument declarations. A,B, and C could be instances of the same
&lt;br&gt;&amp;gt; instr. Or if it's different instruments, they could later on be used
&lt;br&gt;&amp;gt; A-&amp;gt;C-&amp;gt;B, etc.. So the order of instrument declarations in the orchestra
&lt;br&gt;&amp;gt; file is of no use.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The only thing I can think of is if the order of events sent to csound
&lt;br&gt;&amp;gt; affects their order of performance, is this the case?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; i1 2 1
&lt;br&gt;&amp;gt; i1 0 3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; does the second instance perform after the first when both instances is
&lt;br&gt;&amp;gt; performing? A quick test indicates no. :(
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any ideas? How about the new signal flow opcodes, do they work on
&lt;br&gt;&amp;gt; instance-level or only a global instrument-level?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520898&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jpff@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Perhaps it is time to remove chani and chano as no one else seems to
&lt;br&gt;&amp;gt;&amp;gt; use/want them.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; And because Csound does everything for you (creates channels, keeps
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; track of bus names etc).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On 16 Nov 2009, at 07:19, Andres Cabrera wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi James,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; There are two channel busses. One using chnget/chnset and the other
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; using invalue/outvalue. I prefer invalue/outvalue as they are callback
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; based, so you can know and act whenever a value is changed on either
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; side, while chnget/chnset are updated at k-rate. The chnget/chnset
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; system is better in the way it passes strings, so this would be a
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; reason to use it.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Andrés
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Sun, Nov 15, 2009 at 8:21 PM, Victor Lazzarini
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520898&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Victor.Lazzarini@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; in C:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; int csoundGetChannelPtr(CSOUND *,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;                                  MYFLT **p, const char *name, int
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; type);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; in C++:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Csound::GetChannel() and Csound::SetChannel() (not audio rate)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; or
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Csound::GetChannelPtr() (any rate)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On 15 Nov 2009, at 19:55, James Hearon wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I compiled vers. 5.11 and am looking at API trying to figure out
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; what is
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; appropriate method for control and events using bus opcodes chnget,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; chnset?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hotmail: Trusted email with powerful SPAM protection. Sign up
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; now.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 2008 30-Day
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment -
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; and focus
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; on
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Crystal Reports now.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july_______________________________________________&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july_______________________________________________&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520898&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 2008 30-Day
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment -
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; and focus
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; on
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520898&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Andrés
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 30-Day
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; focus on
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520898&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 30-Day
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; on
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520898&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520898&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520898&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Andrés
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520898&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bus-opcodes-tp26362662p26520898.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26520738</id>
	<title>Re: UB binary of csound framework</title>
	<published>2009-11-25T13:38:07Z</published>
	<updated>2009-11-25T13:38:07Z</updated>
	<author>
		<name>Victor Lazzarini</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.6001.18344&quot; name=GENERATOR&gt;

&lt;/HEAD&gt;
&lt;BODY style=&quot;WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space&quot; bgColor=#ffffff&gt;
&lt;DIV&gt;I think they are both (difficult and dangerous). Also will require an API 
bump.&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;As for &quot;in&quot;, the same could be done with an opcode. 
If you want to send in the filename,&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;a macro would do the job. But you can also run lots 
of soundfiles in one csound run. My opinion&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;of -i and in (regarding soundfiles) does not 
change, it's not that useful or flexible. IMHO it is a&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;legacy feature.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Implementing MP3 output as a plugin is (IMHO) the 
best option. But we won't be able to distribute&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;it in soucerforge AFAIK.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Victor&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;/DIV&gt;
&lt;BLOCKQUOTE style=&quot;PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px&quot;&gt;
  &lt;DIV&gt;
  &lt;DIV&gt;
  &lt;DIV&gt;
  &lt;DIV&gt;maybe it was not clear -- i was offering to do this work myself - i 
  was&lt;/DIV&gt;
  &lt;DIV&gt;just asking if any of you thought it was too difficult or 
  dangerous.&amp;nbsp;&lt;/DIV&gt;
  &lt;DIV&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR&gt;
  &lt;DIV&gt;&lt;SPAN class=Apple-style-span style=&quot;WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px; -khtml-text-decorations-in-effect: none; -apple-text-size-adjust: auto; orphans: 2; widows: 2&quot;&gt;
  &lt;DIV&gt;matt ingalls&lt;/DIV&gt;
  &lt;DIV&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520738&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt;&lt;/DIV&gt;
  &lt;DIV&gt;&lt;BR class=khtml-block-placeholder&gt;&lt;/DIV&gt;&lt;BR class=Apple-interchange-newline&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR&gt;
  &lt;P&gt;
  &lt;HR&gt;

  &lt;P&gt;&lt;/P&gt;------------------------------------------------------------------------------&lt;BR&gt;Let 
  Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
  &lt;BR&gt;trial. Simplify your report design, integration and deployment - and focus 
  on &lt;BR&gt;what you do best, core application coding. Discover what's new 
  with&lt;BR&gt;Crystal Reports now.&amp;nbsp; http://p.sf.net/sfu/bobj-july
  &lt;P&gt;
  &lt;HR&gt;

  &lt;P&gt;&lt;/P&gt;_______________________________________________&lt;BR&gt;Csound-devel mailing 
  list&lt;BR&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520738&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;&lt;BR&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;BR&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520738&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/UB-binary-of-csound-framework-tp26414818p26520738.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519010</id>
	<title>Re: UB binary of csound framework</title>
	<published>2009-11-25T11:38:42Z</published>
	<updated>2009-11-25T11:38:42Z</updated>
	<author>
		<name>Matt Ingalls</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;div&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;Using in with soundfiles is not particularly useful,&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;what? passing an input file on the commandline is *definitely*&amp;nbsp;useful!&lt;/div&gt;&lt;div&gt;it is great for any kind of file processing -- i use this a lot for post-&lt;/div&gt;&lt;div&gt;render. &amp;nbsp;like this normalizing instr:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; color: rgb(33, 0, 181); &quot;&gt;instr&lt;span style=&quot;color: #000000&quot;&gt; 1&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; &quot;&gt;ipeak &lt;span style=&quot;color: #2100b5&quot;&gt;filepeak&lt;/span&gt; &quot;-i&quot;&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; &quot;&gt;iscale &lt;span style=&quot;color: #2100b5&quot;&gt;=&lt;/span&gt; (ipeak &lt;span style=&quot;color: #2100b5&quot;&gt;==&lt;/span&gt; 0 ? 1 : &lt;span style=&quot;color: #2100b5&quot;&gt;0dbfs&lt;/span&gt;/ipeak)&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; &quot;&gt;aout1, aout2 &lt;span style=&quot;color: #2100b5&quot;&gt;ins&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; &quot;&gt;&lt;span style=&quot;color: #2100b5&quot;&gt;outs&lt;/span&gt; iscale*aout1, iscale*aout2&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; color: rgb(33, 0, 181); &quot;&gt;endin&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Monaco; color: rgb(33, 0, 181); &quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;Not too much of a limitation, IMHO. Certainly not a reason to ditch &amp;nbsp;&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;blockquote type=&quot;cite&quot;&gt;libsndfile.&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;i never suggested to &quot;ditch&quot; libsndfile!&lt;div&gt;&lt;br&gt;&lt;div&gt;all i was suggesting is&amp;nbsp;to not have it hard-wired to csound, so one&lt;/div&gt;&lt;div&gt;would have the FLEXIBILITY to not&amp;nbsp;include it&amp;nbsp;for whatever sensible&amp;nbsp;&lt;/div&gt;&lt;div&gt;or stupid reason.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;it really surprised me that you do not find this suggestion reasonable or useful.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;maybe it was not clear -- i was offering to do this work myself - i was&lt;/div&gt;&lt;div&gt;just asking if any of you thought it was too difficult or dangerous.&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; &quot;&gt;&lt;div&gt;matt ingalls&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519010&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br class=&quot;khtml-block-placeholder&quot;&gt;&lt;/div&gt;&lt;br class=&quot;Apple-interchange-newline&quot;&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;br&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519010&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/UB-binary-of-csound-framework-tp26414818p26519010.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26516580</id>
	<title>Re: bus opcodes</title>
	<published>2009-11-25T09:11:51Z</published>
	<updated>2009-11-25T09:11:51Z</updated>
	<author>
		<name>jhearon</name>
	</author>
	<content type="html">I never answered Victor's initial reply to this thread. &amp;nbsp;Sorry for the late reply. &amp;nbsp;I should have asked a more detailed question to avoid you guys having to rewrite what has been very well described here before about the bus opcodes. &amp;nbsp;
&lt;br&gt;&lt;br&gt;What I was confused about in the latest API for 5.11 which is 2.20, I think, was how to pass the MYFLT **p &amp;nbsp;param from the csoundGetChannelPtr method to the bus using chnget in the .csd. &amp;nbsp;It's not so hard in c/c++ but I was trying with Java, then Lua. 
&lt;br&gt;&lt;br&gt;&amp;nbsp; PUBLIC int csoundGetChannelPtr(CSOUND *,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MYFLT **p, const char *name, int type);
&lt;br&gt;-------------
&lt;br&gt;chn_k &amp;quot;pitch&amp;quot;, 1
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; instr 1
&lt;br&gt;kval chnget &amp;quot;pitch&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printk2 kval
&lt;br&gt;a1 oscil 3000, kval, 1
&lt;br&gt;outs a1, a1
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; endin
&lt;br&gt;----------------
&lt;br&gt;&amp;nbsp;With C, &amp;nbsp;I can pass MYFLT &amp;nbsp;by giving a value to the pointer.
&lt;br&gt;&lt;br&gt;MYFLT *pvalue;
&lt;br&gt;double myhz = 600.00;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while(csound-&amp;gt;PerformKsmps()==0)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (csound-&amp;gt;GetChannelPtr (*&amp;pvalue, &amp;quot;pitch&amp;quot;, CSOUND_INPUT_CHANNEL | CSOUND_CONTROL_CHANNEL) == 0 )	
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *pvalue = myhz;		
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;--------
&lt;br&gt;But with Java, SetValue disappeared for a while but is now back and working.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int result = csound.Compile(args.argc(), args.argv());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int myinputch = csndConstants.CSOUND_INPUT_CHANNEL;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int mycontch = csndConstants.CSOUND_CONTROL_CHANNEL;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SWIGTYPE_p_p_double &amp;nbsp;myptr = myfltarray.GetPtr();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (result == 0) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (csound.PerformKsmps() == 0) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (csnd.csoundGetChannelPtr(mycsound, myptr, &amp;quot;pitch&amp;quot;, myinputch | mycontch) == 0) //int index, double value
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //myfltarray.SetValue(0, myvalue);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; csound.SetChannel(&amp;quot;pitch&amp;quot; , myvalue); //or use SetChannel
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;------
&lt;br&gt;I'm still trying to figure it out with Lua and having problems with MYFLT, but Mike has said he would add better bus support in the wrapper for Lua, so hopefully that will become clearer soon.
&lt;br&gt;&lt;br&gt;I guess to chime in on the rest of the thread, I'd be up for more streamlined bus opcode functionality too; but would hope the construction would translate well thru SWIG to the interface wrappers, since for some methods the path back to the original method from the library can be really narly.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bus-opcodes-tp26362662p26516580.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26511873</id>
	<title>Re: table methods API</title>
	<published>2009-11-25T04:35:53Z</published>
	<updated>2009-11-25T04:35:53Z</updated>
	<author>
		<name>Victor Lazzarini</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;div&gt;I think these should be OK to be called after compilation. &amp;nbsp;But I need to check.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;br&gt;&lt;div&gt;&lt;div&gt;On 25 Nov 2009, at 03:46, James Hearon wrote:&lt;/div&gt;&lt;br class=&quot;Apple-interchange-newline&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;div class=&quot;hmmessage&quot; style=&quot;font-size: 10pt; font-family: Verdana; &quot;&gt;&lt;br&gt;Hi,&lt;br&gt;Working with table methods from API csoundTableLength, and csoundGetTable.&amp;nbsp; It seems they need to be called while csound is performing to return the proper values, else I get -1.&amp;nbsp;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;br&gt;I'm wondering what is best practice for doing that?&amp;nbsp; I'm using a while statement to perform csound, for ex., but when I call one of the table methods from within the loop it really causes problems with the performance.&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int cs_performing = 1;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while( cs_performing )&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; cs_performing = !csoundPerformKsmps(csound);&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; csoundCleanup(csound);&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 1;&lt;br&gt;&lt;br&gt;I came up with a kludge to just perform one control sample to return the table values, then continue on to the regular performance by resetting the cs_performing flag variable and continuing with the while loop above, but this is not very elegant.&amp;nbsp;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MYFLT *pvalue;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( cs_performing = 1)&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; csoundPerformKsmps(csound);&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int csound_tablelength = csoundTableLength(csound, 1);&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;---RESULT of TABLE LENGTH: %d\n&quot;,csound_tablelength);&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int csound_gettable = csoundGetTable(csound, &amp;amp;pvalue, 2);&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;---RESULT of GET TABLE LENGTH: %d\n&quot;,csound_gettable);&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br&gt;&amp;nbsp;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cs_performing = 2;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cs_performing = 1; //reset flag to &quot;1&quot;&lt;br&gt;&lt;br&gt;I'm wondering how best to approach API methods which seem to only return proper values when csound is performing?&amp;nbsp; The is within one thread.&amp;nbsp; Do I need separate threads?&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Jim Hearon&lt;br&gt;&lt;br&gt;&lt;hr&gt;Windows 7: It works the way you want.&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen:112009v2&quot; target=&quot;_new&quot; rel=&quot;nofollow&quot;&gt;Learn more.&lt;/a&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;------------------------------------------------------------------------------&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br&gt;what you do best, core application coding. Discover what's new with&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july_______________________________________________&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july_______________________________________________&lt;/a&gt;&lt;br&gt;Csound-devel mailing list&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26511873&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26511873&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/table-methods-API-tp26507150p26511873.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26512365</id>
	<title>Re: UB binary of csound framework</title>
	<published>2009-11-25T04:16:13Z</published>
	<updated>2009-11-25T04:16:13Z</updated>
	<author>
		<name>jpff-2</name>
	</author>
	<content type="html">There is already MP3input opcode and GEN. &amp;nbsp;One could construct an output
&lt;br&gt;opcode, or use the piping facility that already exists to use lane or some
&lt;br&gt;other external compressor.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Add a new GEN, which can be a plugin too.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Using in with soundfiles is not particularly useful, and while out is
&lt;br&gt;&amp;gt; used for soundfiles,
&lt;br&gt;&amp;gt; it is also handy to write files with opcodes like fout.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Not too much of a limitation, IMHO. Certainly not a reason to ditch
&lt;br&gt;&amp;gt; libsndfile.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Victor
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On 25 Nov 2009, at 00:27, matt ingalls wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Nov 23, 2009, at 1:14 PM, Victor Lazzarini wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; No, all you need is to add an opcode linked to an mp3 lib of your
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; choice.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; you mean a csound external opcode?
&lt;br&gt;&amp;gt;&amp;gt; how will this work for Gen01, in/out family opcodes, etc?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; matt ingalls
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26512365&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008
&lt;br&gt;&amp;gt;&amp;gt; 30-Day
&lt;br&gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - and
&lt;br&gt;&amp;gt;&amp;gt; focus on
&lt;br&gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26512365&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008
&lt;br&gt;&amp;gt; 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus
&lt;br&gt;&amp;gt; on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26512365&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26512365&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/UB-binary-of-csound-framework-tp26414818p26512365.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26512207</id>
	<title>Re: table methods API</title>
	<published>2009-11-25T04:12:34Z</published>
	<updated>2009-11-25T04:12:34Z</updated>
	<author>
		<name>Victor Lazzarini</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;Note that this will always be true.&lt;div&gt;&lt;br&gt;&lt;div&gt;&lt;div&gt;On 25 Nov 2009, at 03:46, James Hearon wrote:&lt;/div&gt;&lt;br class=&quot;Apple-interchange-newline&quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana; font-size: 13px; &quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( cs_performing = 1)&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26512207&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/table-methods-API-tp26507150p26512207.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26511159</id>
	<title>Re: UB binary of csound framework</title>
	<published>2009-11-25T03:28:47Z</published>
	<updated>2009-11-25T03:28:47Z</updated>
	<author>
		<name>Victor Lazzarini</name>
	</author>
	<content type="html">Add a new GEN, which can be a plugin too.
&lt;br&gt;&lt;br&gt;Using in with soundfiles is not particularly useful, and while out is &amp;nbsp;
&lt;br&gt;used for soundfiles,
&lt;br&gt;it is also handy to write files with opcodes like fout.
&lt;br&gt;&lt;br&gt;Not too much of a limitation, IMHO. Certainly not a reason to ditch &amp;nbsp;
&lt;br&gt;libsndfile.
&lt;br&gt;&lt;br&gt;Victor
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 25 Nov 2009, at 00:27, matt ingalls wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Nov 23, 2009, at 1:14 PM, Victor Lazzarini wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; No, all you need is to add an opcode linked to an mp3 lib of your
&lt;br&gt;&amp;gt;&amp;gt; choice.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; you mean a csound external opcode?
&lt;br&gt;&amp;gt; how will this work for Gen01, in/out family opcodes, etc?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; matt ingalls
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26511159&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 &amp;nbsp;
&lt;br&gt;&amp;gt; 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and &amp;nbsp;
&lt;br&gt;&amp;gt; focus on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26511159&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26511159&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/UB-binary-of-csound-framework-tp26414818p26511159.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26507150</id>
	<title>table methods API</title>
	<published>2009-11-24T19:46:20Z</published>
	<updated>2009-11-24T19:46:20Z</updated>
	<author>
		<name>jhearon</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;head&gt;

&lt;/head&gt;
&lt;body class='hmmessage'&gt;
&lt;br&gt;Hi,&lt;br&gt;Working with table methods from API csoundTableLength, and csoundGetTable.&amp;nbsp; It seems they need to be called while csound is performing to return the proper values, else I get -1.&amp;nbsp; &lt;br&gt;&lt;br&gt;I'm wondering what is best practice for doing that?&amp;nbsp; I'm using a while statement to perform csound, for ex., but when I call one of the table methods from within the loop it really causes problems with the performance.&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int cs_performing = 1;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while( cs_performing )
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; cs_performing = !csoundPerformKsmps(csound);
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; csoundCleanup(csound);
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 1;&lt;br&gt;&lt;br&gt;I came up with a kludge to just perform one control sample to return the table values, then continue on to the regular performance by resetting the cs_performing flag variable and continuing with the while loop above, but this is not very elegant.&amp;nbsp; &lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MYFLT *pvalue;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( cs_performing = 1)
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; csoundPerformKsmps(csound);
&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int csound_tablelength = csoundTableLength(csound, 1);
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;---RESULT of TABLE LENGTH: %d\n&quot;,csound_tablelength);
&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int csound_gettable = csoundGetTable(csound, &amp;amp;pvalue, 2);
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;---RESULT of GET TABLE LENGTH: %d\n&quot;,csound_gettable);
&lt;br&gt;&amp;nbsp;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cs_performing = 2; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cs_performing = 1; //reset flag to &quot;1&quot;&lt;br&gt;&lt;br&gt;I'm wondering how best to approach API methods which seem to only return proper values when csound is performing?&amp;nbsp; The is within one thread.&amp;nbsp; Do I need separate threads?&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Jim Hearon&lt;br&gt; 		 	   		  &lt;br /&gt;&lt;hr /&gt;Windows 7: It works the way you want. &lt;a href='http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen:112009v2' target='_new' rel=&quot;nofollow&quot;&gt;Learn more.&lt;/a&gt;&lt;/body&gt;
&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507150&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/table-methods-API-tp26507150p26507150.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26506378</id>
	<title>Re: bus opcodes</title>
	<published>2009-11-24T17:50:19Z</published>
	<updated>2009-11-24T17:50:19Z</updated>
	<author>
		<name>Jonatan Liljedahl</name>
	</author>
	<content type="html">matt ingalls wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; Say you have a generic sampleplayer instrument, and at some point the 
&lt;br&gt;&amp;gt;&amp;gt; score creates two instances of this. One you want to connect to an 
&lt;br&gt;&amp;gt;&amp;gt; output-instrument, and the other through some effect-instrument. This is 
&lt;br&gt;&amp;gt;&amp;gt; not possible?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; i'm in the middle of doing this kind of thing myself.
&lt;br&gt;&amp;gt; the 2 solutions i came up with was:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;to either pass a unique ID as a p-field to the instrument 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; instr 1
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; iID = p7 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; outvalue iID+1, kval1
&lt;br&gt;&amp;gt; outvalue iID+2, kval2
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; endin
&lt;/div&gt;&lt;br&gt;This also needs to know how many channels an instrument needs, so that 
&lt;br&gt;the next ID doesn't overlap.. Or have a fixed MAX_CHANS=100 and pass 
&lt;br&gt;id*MAX_CHANS in the p-field.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; or use fractional instrument numbers and then use the fractional part as a unique ID
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ; host sends something like csoundInputMessage(myCsoundInstance, &amp;quot;i4.03 0 10&amp;quot;);
&lt;br&gt;&amp;gt; instr 4
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; iID = 100*(p1-4) 
&lt;br&gt;&amp;gt; outvalue iID+1, kval1
&lt;br&gt;&amp;gt; outvalue iID+2, kval2
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; endin
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; i like the fractional p1 a bit better because that is also a way to turnoff the instrument instance.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; either way the host app will need to keep track of all allocation/deallocation of instruments
&lt;/div&gt;&lt;br&gt;Yep, this is how I did it in current AlgoScore, to be able to have instr 
&lt;br&gt;instances plot k-values graphically.
&lt;br&gt;But I plan to pass an ID in a p-field in AlgoScore2 (when that project 
&lt;br&gt;happens), since I think the fractional thing is a bit too hackish. and 
&lt;br&gt;I'll have special algoscore-csound-instrument snippets that are 
&lt;br&gt;assembled into an orc file, and a custom opcode for communication with 
&lt;br&gt;AlgoScore (since outvalue/invalue doesn't support audio and I need 
&lt;br&gt;callback-approach for per-instance communication).
&lt;br&gt;&lt;br&gt;Would be better if csoundInputMessage() returned a unique ID (for 
&lt;br&gt;example, the pointervalue to the event) and that the CSOUND struct 
&lt;br&gt;contained a current_event field that callbacks could match against..
&lt;br&gt;&lt;br&gt;But this will probably never happen, maybe I should just write my own 
&lt;br&gt;DSP language/system based on JavaScript, LADSPA and Faust :)
&lt;br&gt;&lt;br&gt;/Jonatan
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506378&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bus-opcodes-tp26362662p26506378.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26505673</id>
	<title>Re: UB binary of csound framework</title>
	<published>2009-11-24T16:27:55Z</published>
	<updated>2009-11-24T16:27:55Z</updated>
	<author>
		<name>Matt Ingalls</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 23, 2009, at 1:14 PM, Victor Lazzarini wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; No, all you need is to add an opcode linked to an mp3 lib of your &amp;nbsp;
&lt;br&gt;&amp;gt; choice.
&lt;br&gt;&lt;br&gt;you mean a csound external opcode? &amp;nbsp;
&lt;br&gt;how will this work for Gen01, in/out family opcodes, etc?
&lt;br&gt;&lt;br&gt;&lt;br&gt;matt ingalls
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505673&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505673&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/UB-binary-of-csound-framework-tp26414818p26505673.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26505645</id>
	<title>Re: bus opcodes</title>
	<published>2009-11-24T16:23:30Z</published>
	<updated>2009-11-24T16:23:30Z</updated>
	<author>
		<name>Matt Ingalls</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;div&gt;&lt;div&gt;&lt;br&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;Say you have a generic sampleplayer instrument, and at some point the &lt;br&gt;score creates two instances of this. One you want to connect to an &lt;br&gt;output-instrument, and the other through some effect-instrument. This is &lt;br&gt;not possible?&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;i'm in the middle of doing this kind of thing myself.&lt;/div&gt;the 2 solutions i came up with was:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;to either pass a unique ID as a p-field to the instrument&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;instr 1&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;iID = p7&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;outvalue iID+1, kval1&lt;/div&gt;&lt;div&gt;outvalue iID+2,&amp;nbsp;kval2&lt;/div&gt;&lt;div&gt;...&lt;/div&gt;&lt;div&gt;endin&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;or use fractional instrument numbers and then use the fractional part as a unique ID&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;; host sends something like&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Menlo; font-size: 11px; &quot;&gt;csoundInputMessage(myCsoundInstance, &lt;font class=&quot;Apple-style-span&quot; color=&quot;#CC00A2&quot;&gt;&quot;i4.03 0 10&quot;&lt;/font&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;instr 4&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;iID = 100*(p1-4)&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;outvalue iID+1, kval1&lt;/div&gt;&lt;div&gt;outvalue iID+2,&amp;nbsp;kval2&lt;/div&gt;&lt;/div&gt;&lt;div&gt;...&lt;/div&gt;&lt;div&gt;endin&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;i like the fractional p1 a bit better because that is also a way to turnoff the instrument instance.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;either way the host app will need to keep track of all allocation/deallocation of instruments&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; &quot;&gt;&lt;div&gt;matt ingalls&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505645&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br class=&quot;khtml-block-placeholder&quot;&gt;&lt;/div&gt;&lt;br class=&quot;Apple-interchange-newline&quot;&gt;&lt;/span&gt;
&lt;/div&gt;

&lt;br&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505645&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bus-opcodes-tp26362662p26505645.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26505487</id>
	<title>Re: bus opcodes</title>
	<published>2009-11-24T16:05:31Z</published>
	<updated>2009-11-24T16:05:31Z</updated>
	<author>
		<name>Matt Ingalls</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;blockquote type=&quot;cite&quot;&gt;and strings, please.&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;at least at one point you could put strings inside of the invalue/outvalue.&lt;div&gt;although it was kind of a hack and it might have been removed&amp;nbsp;&lt;/div&gt;&lt;div&gt;(it doesn't seem to be working for me right now)&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;but the comment is still in the csound.h:&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(0, 139, 0); &quot;&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#000000&quot; face=&quot;Helvetica&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: medium;&quot;&gt;&lt;font class=&quot;Apple-style-span&quot; color=&quot;#008B00&quot; face=&quot;Menlo&quot; size=&quot;3&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(0, 139, 0); &quot;&gt;&lt;span style=&quot;color: #000000&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;/**&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(0, 139, 0); &quot;&gt;&amp;nbsp;&amp;nbsp; * Called by external software to set a function for Csound to&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(0, 139, 0); &quot;&gt;&amp;nbsp;&amp;nbsp; * fetch input control values.&amp;nbsp; The 'invalue' opcodes will&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(0, 139, 0); &quot;&gt;&amp;nbsp;&amp;nbsp; * directly call this function. If 'channelName' starts with a&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(0, 139, 0); &quot;&gt;&amp;nbsp;&amp;nbsp; * '$', then 'invalue' opcode is expecting a C string, to be copied&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(0, 139, 0); &quot;&gt;&amp;nbsp;&amp;nbsp; * to 'value', with maximum size csoundGetStrVarMaxLen().&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(0, 139, 0); &quot;&gt;&amp;nbsp;&amp;nbsp; */&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; &quot;&gt;&amp;nbsp; PUBLIC &lt;span style=&quot;color: #cc00a2&quot;&gt;void&lt;/span&gt; csoundSetInputValueCallback(CSOUND *,&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; &quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #cc00a2&quot;&gt;void&lt;/span&gt; (*inputValueCalback_)(CSOUND *,&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #cc00a2&quot;&gt;const&lt;/span&gt; &lt;span style=&quot;color: #cc00a2&quot;&gt;char&lt;/span&gt; *channelName,&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; &quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MYFLT *&lt;span style=&quot;color: #470083&quot;&gt;value&lt;/span&gt;));&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; min-height: 13px; &quot;&gt;&lt;br&gt;&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(0, 139, 0); &quot;&gt;&lt;span style=&quot;color: #000000&quot;&gt;&amp;nbsp; &lt;/span&gt;/**&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(0, 139, 0); &quot;&gt;&amp;nbsp;&amp;nbsp; * Called by external software to set a function for Csound to&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(0, 139, 0); &quot;&gt;&amp;nbsp;&amp;nbsp; * send output control values.&amp;nbsp; The 'outvalue' opcodes will&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(0, 139, 0); &quot;&gt;&amp;nbsp;&amp;nbsp; * directly call this function.&amp;nbsp; If 'channelName' starts with a&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(0, 139, 0); &quot;&gt;&amp;nbsp;&amp;nbsp; * '$', then the 'outvalue' opcode is sending a string appended&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(0, 139, 0); &quot;&gt;&amp;nbsp;&amp;nbsp; * to channelName in the format: &quot;$channelName$stringOutput&quot;.&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(0, 139, 0); &quot;&gt;&amp;nbsp;&amp;nbsp; * and 'value' will be the index number into 'channelName' where&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(0, 139, 0); &quot;&gt;&amp;nbsp;&amp;nbsp; * the stringOutput begins.&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(0, 139, 0); &quot;&gt;&amp;nbsp;&amp;nbsp; */&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; &quot;&gt;&amp;nbsp; PUBLIC &lt;span style=&quot;color: #cc00a2&quot;&gt;void&lt;/span&gt; csoundSetOutputValueCallback(CSOUND *,&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; &quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #cc00a2&quot;&gt;void&lt;/span&gt; (*outputValueCalback_)(CSOUND *,&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; &quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #cc00a2&quot;&gt;const&lt;/span&gt; &lt;span style=&quot;color: #cc00a2&quot;&gt;char&lt;/span&gt; *channelName,&lt;/div&gt;&lt;div style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; &quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MYFLT &lt;span style=&quot;color: #470083&quot;&gt;value&lt;/span&gt;));&lt;/div&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; &quot;&gt;&lt;div&gt;matt ingalls&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505487&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br class=&quot;khtml-block-placeholder&quot;&gt;&lt;/div&gt;&lt;br class=&quot;Apple-interchange-newline&quot;&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;br&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505487&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bus-opcodes-tp26362662p26505487.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26504797</id>
	<title>Re: bus opcodes</title>
	<published>2009-11-24T14:57:46Z</published>
	<updated>2009-11-24T14:57:46Z</updated>
	<author>
		<name>joachim heintz</name>
	</author>
	<content type="html">and strings, please.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Am 24.11.2009 um 21:59 schrieb Jonatan Liljedahl:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; It would be nice if invalue/outvalue supported a-rate signals too.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Victor Lazzarini wrote:
&lt;br&gt;&amp;gt;&amp;gt; My opinion is that the two systems complement each other, one &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; callback
&lt;br&gt;&amp;gt;&amp;gt; based, Matt's and the other polling (well kind of)-based, Istvan's.
&lt;br&gt;&amp;gt;&amp;gt; What I meant to say below is that Csound manages the channel lists,
&lt;br&gt;&amp;gt;&amp;gt; whereas with the callback system, it's the host that needs to hold &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; them.
&lt;br&gt;&amp;gt;&amp;gt; Also the chn system does not depend on a host supporting it, you can
&lt;br&gt;&amp;gt;&amp;gt; use channels to pass data between instruments as well, and it &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; supports
&lt;br&gt;&amp;gt;&amp;gt; audio signals too.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; There are pros and cons of both systems. I think it's worth keeping
&lt;br&gt;&amp;gt;&amp;gt; them all, IMHO, of course.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Victor
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On 18 Nov 2009, at 19:39, matt ingalls wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; hi everyone
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ( recently unemployed and looking forward to get back into csound
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; dev! )
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; And because Csound does everything for you (creates channels, &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; keeps
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; track of bus names etc).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; if there is interest, i could easily add code to interface files &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; like
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; CppSound (or cs_glue -- what's the difference?) &amp;nbsp;to handle the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; invalue/
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; outvalue channel management.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; i personally am bothered by all the different channel bus methods --
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; it is a pain for host apps to support all of them -- what about
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; consolidating them internally at least? this way hosts only need to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; support one API and then users can use any opcodes they want. &amp;nbsp;the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; duplicating opcodes could eventually be deprecated, or not (see &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; below)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I do think that people keep using old opcodes instead of newer,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; better
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ones simply out of habit, so maybe we should move deprecated &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; opcodes
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; to an appendix in the reference manual.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; what about making a library of legacy opcodes that would be an &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; option
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; for users to install?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; then you can mark opcodes as deprecated and then 2 releases later or
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; something like that move them to the legacy library.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; if a user wants to run an old orc they still can with one extra &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; step,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; but everyone else gets to have a leaner and forward-looking csound.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; matt ingalls
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26504797&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 30-Day
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; focus on
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26504797&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; 2008 30-Day
&lt;br&gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; and focus on
&lt;br&gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26504797&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 &amp;nbsp;
&lt;br&gt;&amp;gt; 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and &amp;nbsp;
&lt;br&gt;&amp;gt; focus on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26504797&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26504797&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bus-opcodes-tp26362662p26504797.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26503765</id>
	<title>Re: bus opcodes</title>
	<published>2009-11-24T13:41:09Z</published>
	<updated>2009-11-24T13:41:09Z</updated>
	<author>
		<name>Victor Lazzarini</name>
	</author>
	<content type="html">All it needs is a couple of new API functions to set callbacks for &amp;nbsp;
&lt;br&gt;audio signals.
&lt;br&gt;&lt;br&gt;Victor
&lt;br&gt;On 24 Nov 2009, at 20:59, Jonatan Liljedahl wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; It would be nice if invalue/outvalue supported a-rate signals too.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Victor Lazzarini wrote:
&lt;br&gt;&amp;gt;&amp;gt; My opinion is that the two systems complement each other, one &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; callback
&lt;br&gt;&amp;gt;&amp;gt; based, Matt's and the other polling (well kind of)-based, Istvan's.
&lt;br&gt;&amp;gt;&amp;gt; What I meant to say below is that Csound manages the channel lists,
&lt;br&gt;&amp;gt;&amp;gt; whereas with the callback system, it's the host that needs to hold &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; them.
&lt;br&gt;&amp;gt;&amp;gt; Also the chn system does not depend on a host supporting it, you can
&lt;br&gt;&amp;gt;&amp;gt; use channels to pass data between instruments as well, and it &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; supports
&lt;br&gt;&amp;gt;&amp;gt; audio signals too.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; There are pros and cons of both systems. I think it's worth keeping
&lt;br&gt;&amp;gt;&amp;gt; them all, IMHO, of course.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Victor
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On 18 Nov 2009, at 19:39, matt ingalls wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; hi everyone
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ( recently unemployed and looking forward to get back into csound
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; dev! )
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; And because Csound does everything for you (creates channels, &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; keeps
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; track of bus names etc).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; if there is interest, i could easily add code to interface files &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; like
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; CppSound (or cs_glue -- what's the difference?) &amp;nbsp;to handle the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; invalue/
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; outvalue channel management.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; i personally am bothered by all the different channel bus methods --
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; it is a pain for host apps to support all of them -- what about
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; consolidating them internally at least? this way hosts only need to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; support one API and then users can use any opcodes they want. &amp;nbsp;the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; duplicating opcodes could eventually be deprecated, or not (see &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; below)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I do think that people keep using old opcodes instead of newer,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; better
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ones simply out of habit, so maybe we should move deprecated &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; opcodes
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; to an appendix in the reference manual.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; what about making a library of legacy opcodes that would be an &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; option
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; for users to install?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; then you can mark opcodes as deprecated and then 2 releases later or
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; something like that move them to the legacy library.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; if a user wants to run an old orc they still can with one extra &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; step,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; but everyone else gets to have a leaner and forward-looking csound.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; matt ingalls
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503765&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 30-Day
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; focus on
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503765&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; 2008 30-Day
&lt;br&gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; and focus on
&lt;br&gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503765&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 &amp;nbsp;
&lt;br&gt;&amp;gt; 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and &amp;nbsp;
&lt;br&gt;&amp;gt; focus on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503765&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503765&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bus-opcodes-tp26362662p26503765.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26503388</id>
	<title>Re: bus opcodes</title>
	<published>2009-11-24T13:13:10Z</published>
	<updated>2009-11-24T13:13:10Z</updated>
	<author>
		<name>Jonatan Liljedahl</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt; I'm currently looking for a way to dynamically connect csound instrument 
&lt;br&gt;&amp;gt; _instances_ to/from each other and to/from the host through the API to 
&lt;br&gt;&amp;gt; have a timeline-based graphical signal flow language. (AlgoScore2)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This means I need to use a callback-based approach, and that the 
&lt;br&gt;&amp;gt; callback needs to identify which instr instance is sending/getting a 
&lt;br&gt;&amp;gt; value. This doesn't seem to be possible right now?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; One work-around would be to pass in an unique ID in a p-field and in the 
&lt;br&gt;&amp;gt; instr use something like this:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; chnsend &amp;quot;_id&amp;quot;, p4
&lt;br&gt;&amp;gt; k1 chnrecv &amp;quot;foo&amp;quot;
&lt;br&gt;&amp;gt; a1 chnrecv &amp;quot;bar&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The callback would then react on a value on channel &amp;quot;_id&amp;quot; by storing the 
&lt;br&gt;&amp;gt; ID in a variable in the Csound host data, so that in the other calls it 
&lt;br&gt;&amp;gt; will know which instr instance is asking for data.
&lt;/div&gt;&lt;br&gt;I took a look at the source and it seems chnrecv/send is using the 
&lt;br&gt;software busses declared by chnexport/chn_* opcodes, which is global and 
&lt;br&gt;I want per-instrument declared busses. And since invalue/outvalue 
&lt;br&gt;doesn't support a-rate I will probably write yet-another-bus-opcode for 
&lt;br&gt;my host, and throw in the ID-stuff so it can be passed to the callback 
&lt;br&gt;for instance identification:
&lt;br&gt;&lt;br&gt;instr 1
&lt;br&gt;&amp;nbsp; &amp;nbsp;host_id p4
&lt;br&gt;&amp;nbsp; &amp;nbsp;ka host_in &amp;quot;amp&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;kp host_in &amp;quot;pitch&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;kw host_in &amp;quot;pwm&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp;a1 vco2 ka, kp, 4, kw
&lt;br&gt;&amp;nbsp; &amp;nbsp;host_out &amp;quot;out&amp;quot;, a1
&lt;br&gt;endin
&lt;br&gt;&lt;br&gt;or can an opcode have per-instance private data?
&lt;br&gt;&lt;br&gt;/Jonatan
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503388&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bus-opcodes-tp26362662p26503388.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26503178</id>
	<title>Re: bus opcodes</title>
	<published>2009-11-24T12:59:41Z</published>
	<updated>2009-11-24T12:59:41Z</updated>
	<author>
		<name>Jonatan Liljedahl</name>
	</author>
	<content type="html">It would be nice if invalue/outvalue supported a-rate signals too.
&lt;br&gt;&lt;br&gt;Victor Lazzarini wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; My opinion is that the two systems complement each other, one callback &amp;nbsp;
&lt;br&gt;&amp;gt; based, Matt's and the other polling (well kind of)-based, Istvan's. &amp;nbsp;
&lt;br&gt;&amp;gt; What I meant to say below is that Csound manages the channel lists, &amp;nbsp;
&lt;br&gt;&amp;gt; whereas with the callback system, it's the host that needs to hold them.
&lt;br&gt;&amp;gt; Also the chn system does not depend on a host supporting it, you can &amp;nbsp;
&lt;br&gt;&amp;gt; use channels to pass data between instruments as well, and it supports &amp;nbsp;
&lt;br&gt;&amp;gt; audio signals too.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; There are pros and cons of both systems. I think it's worth keeping &amp;nbsp;
&lt;br&gt;&amp;gt; them all, IMHO, of course.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Victor
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On 18 Nov 2009, at 19:39, matt ingalls wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; hi everyone
&lt;br&gt;&amp;gt;&amp;gt; ( recently unemployed and looking forward to get back into csound &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; dev! )
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; And because Csound does everything for you (creates channels, keeps
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; track of bus names etc).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; if there is interest, i could easily add code to interface files like
&lt;br&gt;&amp;gt;&amp;gt; CppSound (or cs_glue -- what's the difference?) &amp;nbsp;to handle the &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; invalue/
&lt;br&gt;&amp;gt;&amp;gt; outvalue channel management.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; i personally am bothered by all the different channel bus methods --
&lt;br&gt;&amp;gt;&amp;gt; it is a pain for host apps to support all of them -- what about
&lt;br&gt;&amp;gt;&amp;gt; consolidating them internally at least? this way hosts only need to
&lt;br&gt;&amp;gt;&amp;gt; support one API and then users can use any opcodes they want. &amp;nbsp;the
&lt;br&gt;&amp;gt;&amp;gt; duplicating opcodes could eventually be deprecated, or not (see below)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I do think that people keep using old opcodes instead of newer, &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; better
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ones simply out of habit, so maybe we should move deprecated opcodes
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; to an appendix in the reference manual.
&lt;br&gt;&amp;gt;&amp;gt; what about making a library of legacy opcodes that would be an option
&lt;br&gt;&amp;gt;&amp;gt; for users to install?
&lt;br&gt;&amp;gt;&amp;gt; then you can mark opcodes as deprecated and then 2 releases later or
&lt;br&gt;&amp;gt;&amp;gt; something like that move them to the legacy library.
&lt;br&gt;&amp;gt;&amp;gt; if a user wants to run an old orc they still can with one extra step,
&lt;br&gt;&amp;gt;&amp;gt; but everyone else gets to have a leaner and forward-looking csound.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; matt ingalls
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503178&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;matt@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; 30-Day
&lt;br&gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - and &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; focus on
&lt;br&gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503178&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503178&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26503178&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bus-opcodes-tp26362662p26503178.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26501957</id>
	<title>Re: Cell phone Csound</title>
	<published>2009-11-24T11:30:49Z</published>
	<updated>2009-11-24T11:30:49Z</updated>
	<author>
		<name>Erik de Castro Lopo-10</name>
	</author>
	<content type="html">Michael Gogins wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; I note that for Android phones, there is a native development kit
&lt;br&gt;&amp;gt; (NDK) enabling the use of C and C++ code on Android phones.
&lt;br&gt;&lt;br&gt;Another possibilty is the Palm Pre which seems a little more open
&lt;br&gt;than the Android phones. &amp;nbsp;The Palm Pre comes with libsndfile
&lt;br&gt;version 1.0.17 pre-installed (as a shared library).
&lt;br&gt;&lt;br&gt;Erik
&lt;br&gt;-- 
&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;Erik de Castro Lopo
&lt;br&gt;&lt;a href=&quot;http://www.mega-nerd.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mega-nerd.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26501957&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cell-phone-Csound-tp26497068p26501957.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26500270</id>
	<title>Re: Cell phone Csound</title>
	<published>2009-11-24T09:36:51Z</published>
	<updated>2009-11-24T09:36:51Z</updated>
	<author>
		<name>Steven Yi</name>
	</author>
	<content type="html">That's great news! &amp;nbsp;I'll be very interested to see how well this
&lt;br&gt;performs when it can be compiled!
&lt;br&gt;&lt;br&gt;On Tue, Nov 24, 2009 at 12:27 PM, Michael Gogins
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500270&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael.gogins@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I should add, the &amp;quot;bionic&amp;quot; libc that the NDK contains will
&lt;br&gt;&amp;gt; automatically use the FPU, if it exists, if the code is built for
&lt;br&gt;&amp;gt; &amp;quot;soft&amp;quot; float.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'd bet that whether or not MY phone has an FPU, or my wife's more
&lt;br&gt;&amp;gt; recent Eris phone has an FPU, the next one I get in a year or so
&lt;br&gt;&amp;gt; definitely will have an FPU and the NDK will support it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Mike
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Tue, Nov 24, 2009 at 12:09 PM, Michael Gogins
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500270&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael.gogins@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; I'm trying to figure this out for my own phone, the MyTouch 3G (aka
&lt;br&gt;&amp;gt;&amp;gt; HTC Magic or Sapphire). The ARM1136 CPU that the phone uses has an
&lt;br&gt;&amp;gt;&amp;gt; optional FPU. I'm trying to figure out if the phone contains the
&lt;br&gt;&amp;gt;&amp;gt; optional FPU or not.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;&amp;gt; Mike
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Tue, Nov 24, 2009 at 9:53 AM, chris kummerer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500270&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chris@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; re Michael,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I read:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I note that for Android phones, there is a native development kit
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (NDK) enabling the use of C and C++ code on Android phones.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; at last!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I will
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; investigate further. Because Csound has a Java API, it probably is
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; possible to produce a fairly complete Csound port for the Android
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; phones.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; please correct me if I'm wrong but so far all the actual android
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; phones I found lack an FPU ...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; regards,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; x
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500270&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chris@...&lt;/a&gt;        Postmodernism is german romanticism with better
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://pilot.fm/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pilot.fm/&lt;/a&gt;&amp;nbsp;       special effects. (Jeff Keuss / via ctheory.net)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500270&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; Michael Gogins
&lt;br&gt;&amp;gt;&amp;gt; Irreducible Productions
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.michael-gogins.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.michael-gogins.com&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; Michael dot Gogins at gmail dot com
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Michael Gogins
&lt;br&gt;&amp;gt; Irreducible Productions
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.michael-gogins.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.michael-gogins.com&lt;/a&gt;&lt;br&gt;&amp;gt; Michael dot Gogins at gmail dot com
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500270&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500270&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cell-phone-Csound-tp26497068p26500270.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26500082</id>
	<title>Re: Cell phone Csound</title>
	<published>2009-11-24T09:27:19Z</published>
	<updated>2009-11-24T09:27:19Z</updated>
	<author>
		<name>michael.gogins</name>
	</author>
	<content type="html">I should add, the &amp;quot;bionic&amp;quot; libc that the NDK contains will
&lt;br&gt;automatically use the FPU, if it exists, if the code is built for
&lt;br&gt;&amp;quot;soft&amp;quot; float.
&lt;br&gt;&lt;br&gt;I'd bet that whether or not MY phone has an FPU, or my wife's more
&lt;br&gt;recent Eris phone has an FPU, the next one I get in a year or so
&lt;br&gt;definitely will have an FPU and the NDK will support it.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Mike
&lt;br&gt;&lt;br&gt;On Tue, Nov 24, 2009 at 12:09 PM, Michael Gogins
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500082&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael.gogins@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'm trying to figure this out for my own phone, the MyTouch 3G (aka
&lt;br&gt;&amp;gt; HTC Magic or Sapphire). The ARM1136 CPU that the phone uses has an
&lt;br&gt;&amp;gt; optional FPU. I'm trying to figure out if the phone contains the
&lt;br&gt;&amp;gt; optional FPU or not.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Mike
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Tue, Nov 24, 2009 at 9:53 AM, chris kummerer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500082&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chris@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; re Michael,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I read:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I note that for Android phones, there is a native development kit
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; (NDK) enabling the use of C and C++ code on Android phones.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; at last!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I will
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; investigate further. Because Csound has a Java API, it probably is
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; possible to produce a fairly complete Csound port for the Android
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; phones.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; please correct me if I'm wrong but so far all the actual android
&lt;br&gt;&amp;gt;&amp;gt; phones I found lack an FPU ...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; regards,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; x
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500082&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chris@...&lt;/a&gt;        Postmodernism is german romanticism with better
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://pilot.fm/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pilot.fm/&lt;/a&gt;&amp;nbsp;       special effects. (Jeff Keuss / via ctheory.net)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500082&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Michael Gogins
&lt;br&gt;&amp;gt; Irreducible Productions
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.michael-gogins.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.michael-gogins.com&lt;/a&gt;&lt;br&gt;&amp;gt; Michael dot Gogins at gmail dot com
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Michael Gogins
&lt;br&gt;Irreducible Productions
&lt;br&gt;&lt;a href=&quot;http://www.michael-gogins.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.michael-gogins.com&lt;/a&gt;&lt;br&gt;Michael dot Gogins at gmail dot com
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500082&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cell-phone-Csound-tp26497068p26500082.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26500056</id>
	<title>Re: Cell phone Csound</title>
	<published>2009-11-24T09:25:34Z</published>
	<updated>2009-11-24T09:25:34Z</updated>
	<author>
		<name>michael.gogins</name>
	</author>
	<content type="html">Very.
&lt;br&gt;&lt;br&gt;Mike
&lt;br&gt;&lt;br&gt;On Tue, Nov 24, 2009 at 12:04 PM, Felipe Sateler &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500056&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fsateler@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; How hard would it be to use integer for internal processing? Very?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Tue, 2009-11-24 at 11:35 -0500, Steven Yi wrote:
&lt;br&gt;&amp;gt;&amp;gt; Last I looked at the NDK, there were limitations on what libraries
&lt;br&gt;&amp;gt;&amp;gt; were being included.  It looks like the 1.6r1 NDK has included a few
&lt;br&gt;&amp;gt;&amp;gt; more things:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;     * libc (C library) headers
&lt;br&gt;&amp;gt;&amp;gt;     * libm (math library) headers
&lt;br&gt;&amp;gt;&amp;gt;     * JNI interface headers
&lt;br&gt;&amp;gt;&amp;gt;     * libz (Zlib compression) headers
&lt;br&gt;&amp;gt;&amp;gt;     * liblog (Android logging) header
&lt;br&gt;&amp;gt;&amp;gt;     * OpenGL ES 1.1 (3D graphics library) headers
&lt;br&gt;&amp;gt;&amp;gt;     * A Minimal set of headers for C++ support
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I imagine floating point will be slow but haven't seen any metrics on it.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Tue, Nov 24, 2009 at 9:53 AM, chris kummerer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500056&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chris@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; re Michael,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I read:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; I note that for Android phones, there is a native development kit
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; (NDK) enabling the use of C and C++ code on Android phones.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; at last!
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; I will
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; investigate further. Because Csound has a Java API, it probably is
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; possible to produce a fairly complete Csound port for the Android
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; phones.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; please correct me if I'm wrong but so far all the actual android
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; phones I found lack an FPU ...
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; regards,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; x
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500056&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chris@...&lt;/a&gt;        Postmodernism is german romanticism with better
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://pilot.fm/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pilot.fm/&lt;/a&gt;&amp;nbsp;       special effects. (Jeff Keuss / via ctheory.net)
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500056&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500056&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Saludos,
&lt;br&gt;&amp;gt; Felipe Sateler
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500056&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Michael Gogins
&lt;br&gt;Irreducible Productions
&lt;br&gt;&lt;a href=&quot;http://www.michael-gogins.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.michael-gogins.com&lt;/a&gt;&lt;br&gt;Michael dot Gogins at gmail dot com
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500056&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cell-phone-Csound-tp26497068p26500056.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26499735</id>
	<title>Re: Cell phone Csound</title>
	<published>2009-11-24T09:09:23Z</published>
	<updated>2009-11-24T09:09:23Z</updated>
	<author>
		<name>michael.gogins</name>
	</author>
	<content type="html">I'm trying to figure this out for my own phone, the MyTouch 3G (aka
&lt;br&gt;HTC Magic or Sapphire). The ARM1136 CPU that the phone uses has an
&lt;br&gt;optional FPU. I'm trying to figure out if the phone contains the
&lt;br&gt;optional FPU or not.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Mike
&lt;br&gt;&lt;br&gt;On Tue, Nov 24, 2009 at 9:53 AM, chris kummerer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499735&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chris@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; re Michael,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I read:
&lt;br&gt;&amp;gt;&amp;gt; I note that for Android phones, there is a native development kit
&lt;br&gt;&amp;gt;&amp;gt; (NDK) enabling the use of C and C++ code on Android phones.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; at last!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I will
&lt;br&gt;&amp;gt;&amp;gt; investigate further. Because Csound has a Java API, it probably is
&lt;br&gt;&amp;gt;&amp;gt; possible to produce a fairly complete Csound port for the Android
&lt;br&gt;&amp;gt;&amp;gt; phones.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; please correct me if I'm wrong but so far all the actual android
&lt;br&gt;&amp;gt; phones I found lack an FPU ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; x
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499735&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chris@...&lt;/a&gt;        Postmodernism is german romanticism with better
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://pilot.fm/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pilot.fm/&lt;/a&gt;&amp;nbsp;       special effects. (Jeff Keuss / via ctheory.net)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499735&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Michael Gogins
&lt;br&gt;Irreducible Productions
&lt;br&gt;&lt;a href=&quot;http://www.michael-gogins.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.michael-gogins.com&lt;/a&gt;&lt;br&gt;Michael dot Gogins at gmail dot com
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499735&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cell-phone-Csound-tp26497068p26499735.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26499661</id>
	<title>Re: Cell phone Csound</title>
	<published>2009-11-24T09:04:52Z</published>
	<updated>2009-11-24T09:04:52Z</updated>
	<author>
		<name>Felipe Sateler</name>
	</author>
	<content type="html">How hard would it be to use integer for internal processing? Very?
&lt;br&gt;&lt;br&gt;On Tue, 2009-11-24 at 11:35 -0500, Steven Yi wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Last I looked at the NDK, there were limitations on what libraries
&lt;br&gt;&amp;gt; were being included. &amp;nbsp;It looks like the 1.6r1 NDK has included a few
&lt;br&gt;&amp;gt; more things:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; * libc (C library) headers
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; * libm (math library) headers
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; * JNI interface headers
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; * libz (Zlib compression) headers
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; * liblog (Android logging) header
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; * OpenGL ES 1.1 (3D graphics library) headers
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; * A Minimal set of headers for C++ support
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I imagine floating point will be slow but haven't seen any metrics on it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Tue, Nov 24, 2009 at 9:53 AM, chris kummerer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499661&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chris@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; re Michael,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I read:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I note that for Android phones, there is a native development kit
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; (NDK) enabling the use of C and C++ code on Android phones.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; at last!
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I will
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; investigate further. Because Csound has a Java API, it probably is
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; possible to produce a fairly complete Csound port for the Android
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; phones.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; please correct me if I'm wrong but so far all the actual android
&lt;br&gt;&amp;gt; &amp;gt; phones I found lack an FPU ...
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; regards,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; x
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499661&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chris@...&lt;/a&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Postmodernism is german romanticism with better
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://pilot.fm/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pilot.fm/&lt;/a&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; special effects. (Jeff Keuss / via ctheory.net)
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt; &amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt; &amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; &amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499661&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499661&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Saludos,
&lt;br&gt;Felipe Sateler
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499661&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (853 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26499661/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cell-phone-Csound-tp26497068p26499661.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26499163</id>
	<title>Re: Cell phone Csound</title>
	<published>2009-11-24T08:35:53Z</published>
	<updated>2009-11-24T08:35:53Z</updated>
	<author>
		<name>Steven Yi</name>
	</author>
	<content type="html">Last I looked at the NDK, there were limitations on what libraries
&lt;br&gt;were being included. &amp;nbsp;It looks like the 1.6r1 NDK has included a few
&lt;br&gt;more things:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; * libc (C library) headers
&lt;br&gt;&amp;nbsp; &amp;nbsp; * libm (math library) headers
&lt;br&gt;&amp;nbsp; &amp;nbsp; * JNI interface headers
&lt;br&gt;&amp;nbsp; &amp;nbsp; * libz (Zlib compression) headers
&lt;br&gt;&amp;nbsp; &amp;nbsp; * liblog (Android logging) header
&lt;br&gt;&amp;nbsp; &amp;nbsp; * OpenGL ES 1.1 (3D graphics library) headers
&lt;br&gt;&amp;nbsp; &amp;nbsp; * A Minimal set of headers for C++ support
&lt;br&gt;&lt;br&gt;I imagine floating point will be slow but haven't seen any metrics on it.
&lt;br&gt;&lt;br&gt;On Tue, Nov 24, 2009 at 9:53 AM, chris kummerer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499163&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chris@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; re Michael,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I read:
&lt;br&gt;&amp;gt;&amp;gt; I note that for Android phones, there is a native development kit
&lt;br&gt;&amp;gt;&amp;gt; (NDK) enabling the use of C and C++ code on Android phones.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; at last!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I will
&lt;br&gt;&amp;gt;&amp;gt; investigate further. Because Csound has a Java API, it probably is
&lt;br&gt;&amp;gt;&amp;gt; possible to produce a fairly complete Csound port for the Android
&lt;br&gt;&amp;gt;&amp;gt; phones.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; please correct me if I'm wrong but so far all the actual android
&lt;br&gt;&amp;gt; phones I found lack an FPU ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; x
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499163&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;chris@...&lt;/a&gt;        Postmodernism is german romanticism with better
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://pilot.fm/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pilot.fm/&lt;/a&gt;&amp;nbsp;       special effects. (Jeff Keuss / via ctheory.net)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Csound-devel mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499163&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Csound-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499163&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Csound-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/csound-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/csound-devel&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cell-phone-Csound-tp26497068p26499163.html" />
</entry>

</feed>
