Dear Michal Seta, <br><br>I admit I was a bit tired at the end of a long, frustrating week<br>and my email may have been a bit &quot;whiny&quot;. I apologise. Here<br>are answers to some of your questions/doubts: <br><br><span style="font-style: italic; background-color: rgb(255, 102, 102);">
What I don&#39;t understand is why do you learn CSound, SuperCollider,</span><br style="font-style: italic; background-color: rgb(255, 102, 102);"><span style="font-style: italic; background-color: rgb(255, 102, 102);">ChucK if all you want to do is use Python?
</span><br><br>Because some of my friends suggested that I do, and I was curious to learn new stuff.<br>For reasons of speed, simplicity and elegance I try to stick to Python. It<br>is not a hard and fast rule so much as an aesthetic. 
<br><br><span style="background-color: rgb(255, 102, 102);">The question is a little vague so he pointed you in *one* direction.</span><br><br>I can&#39;t begin to see how you could have followed our entire private exchange,
<br>which is very different from the short public summary I gave you. <br><br style="background-color: rgb(255, 102, 102);"><span style="background-color: rgb(255, 102, 102);">I think you are misunderstanding.&nbsp;&nbsp;He is telling you to look into the
</span><br style="background-color: rgb(255, 102, 102);"><span style="background-color: rgb(255, 102, 102);">recorder example so that you can see how to capture live audio.</span><br><br>Have YOU looked into that example? It&#39;s crawling with reindeers singing
<br>Jingle Bells. <br><br><span style="background-color: rgb(255, 102, 102);">You mean you acquire knowledge through luck?&nbsp;&nbsp;Or am I misunderstanding</span><br style="background-color: rgb(255, 102, 102);"><span style="background-color: rgb(255, 102, 102);">
something.</span><br><br>How one acquires knowledge is one&#39;s own business. How one can show it off <br>is what seems to be yours. You have some really bizarre assumptions about <br>who I might be and what I might not know. 
<br><br><span style="background-color: rgb(255, 102, 102);">Now, do you mean there are only 2-3 new media artists in India?</span><br style="background-color: rgb(255, 102, 102);"><span style="background-color: rgb(255, 102, 102);">
Strange.&nbsp;&nbsp; A random Google hit:</span><br style="background-color: rgb(255, 102, 102);"><span style="background-color: rgb(255, 102, 102);"><a href="http://www.newmedia.sunderland">http://www.newmedia.sunderland</a></span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex; background-color: rgb(255, 102, 102);">.ac.uk/nmcr/india/ilinks.htm<br>suggests that there are a few more.
</blockquote><br>A random Google search on &quot;Michal Seta&quot;&nbsp; suggests that you probably don&#39;t <br>exist, and if you do - your existence is not too consequential for mankind. <br><br>Next time, try selling your work in the art district of Bombay to earn your dinner. 
<br>You&#39;ll probably run into me, and the only other artist in &quot;new media&quot; who is not<br>even mentioned on that strange and funny website you quote as divine proof. <br><br>&quot;new media&quot;, now I wonder what you understand by that phrase. The phrase itself, right?
<br><br><span style="background-color: rgb(255, 102, 102);">Whining is certainly not going to help you.&nbsp;&nbsp;What will help, however,</span><br style="background-color: rgb(255, 102, 102);"><span style="background-color: rgb(255, 102, 102);">
is that you think about what you want to achieve, clearly state your</span><br style="background-color: rgb(255, 102, 102);"><span style="background-color: rgb(255, 102, 102);">needs, problems and issues and then write to the appropriate mailing
</span><br style="background-color: rgb(255, 102, 102);"><span style="background-color: rgb(255, 102, 102);">list.</span><br> <br>You seem to have it all figured out. That is the universal mantra of success, right?<br>Good luck, mate! You&#39;re going to need it. 
<br><br>-------<br>1/f&nbsp;&nbsp; )))<br>-------<br><a href="http://www.algomantra.com">http://www.algomantra.com</a><br><br><br><br><div><span class="gmail_quote">On 9/17/07, <b class="gmail_sendername">Michal Seta</b> &lt;<a href="mailto:mis@artengine.ca">
mis@artengine.ca</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>On 9/17/07, AlgoMantra &lt;<a href="mailto:algomantra@gmail.com">
algomantra@gmail.com</a>&gt; wrote:<br>[snip]<br>&gt; Allow me to restate my objective. I want &quot;to read the sound of a live flute<br>&gt; off the audio port in realtime, and analyse it using Python&quot;. Now...<br><br>
What I don&#39;t understand is why do you learn CSound, SuperCollider,<br>ChucK if all you want to do is use Python?<br><br>&gt;<br>&gt; This is a reply to me from one of the main PySndObj developers:<br>&gt;<br>&gt; thinking a little more about this, I think there is no pitch&nbsp;&nbsp;tracker
<br>&gt;&nbsp;&nbsp;there (I need to add one...). So you can try csound:<br>&gt;<br>&gt; See that? at least he understood my question somewhat.<br><br>The question is a little vague so he pointed you in *one* direction.<br><br>&gt; Now here&#39;s a response from the gentleman at Pymedia:
<br>&gt;<br>&gt;<br>&gt; Can you please check voice_recorder_player.py or voice_recorder.py<br>&gt; from examples tar ball ?May be it will resolve most of the issues.<br>&gt; He is answering a completely different question! I&#39;m talking about
<br>&gt; intercepting data off a port, and he&#39;s talking of recording it.<br><br>I think you are misunderstanding.&nbsp;&nbsp;He is telling you to look into the<br>recorder example so that you can see how to capture live audio.<br>
<br>&gt; I had seen<br>&gt; the example he&#39;s talking about but it made no sense in the context.<br><br>Which context?&nbsp;&nbsp;The context of capturing real-time audio?&nbsp;&nbsp;Or the<br>context of doing &quot;an analysis&quot; on the signal.&nbsp;&nbsp;It certainly makes no
<br>sense in the latter but a lot in the former.<br><br>&gt; And I was kinda lucky in that I know what a tarball is<br><br>You mean you acquire knowledge through luck?&nbsp;&nbsp;Or am I misunderstanding<br>something.<br><br>&gt;- most artists
<br>&gt; who dabble in technology come from diverse background. ( I am one<br>&gt; of the 2 or 3 new media artists in India). So I find it odd that when<br>&gt; newbies<br>&gt; ask questions, developers answer very sweetly, but in code.
<br><br>All artists come from diverse backgrounds.&nbsp;&nbsp;And regardless of what you<br>dabble at, you still have to follow the learning path, especially if<br>you want to become somewhat proficient at it.&nbsp;&nbsp;If computers are your
<br>thing, you have to learn some basics about the computer and operating<br>systems and how to use different applications.&nbsp;&nbsp;If you are proficient<br>enough with computers to start coding audio applications in python and<br>
you don&#39;t state your background but, instead, you ask a vague<br>question, it is understandable that developers assume that you know<br>what you&#39;re talking about.&nbsp;&nbsp;If you need hand-holding, which all<br>newbies of the world need, you have say so and state your problem with
<br>as much precision as possible so that those who would like to help you<br>do not need to do much guess work.<br><br>Now, do you mean there are only 2-3 new media artists in India?<br>Strange.&nbsp;&nbsp; A random Google hit:<br>
<a href="http://www.newmedia.sunderland.ac.uk/nmcr/india/ilinks.htm">http://www.newmedia.sunderland.ac.uk/nmcr/india/ilinks.htm</a><br>suggests that there are a few more.<br><br>&gt;<br>&gt; Perhaps the truth really is that adc =&gt; FFT =&gt; dac, which is so simple
<br>&gt; for ChucK etc - has no analog in Python, and people are just too<br>&gt;&nbsp;&nbsp;ashamed to admit that they don&#39;t know how its done.<br><br>I never used Python for audio but I would assume that it, in fact, is<br>possible.&nbsp;&nbsp;In any case, I find it hard to believe that after having
<br>learned CSound and SuperCollider you have not been able to achieve you<br>goal of reading live flute and analysing it (I don&#39;t know what kind of<br>analysis you want to do and what you want to use the analysis data).
<br>Have you looked at Pure data?&nbsp;&nbsp;<a href="http://puredata.info">puredata.info</a>.&nbsp;&nbsp;Perhaps this is a<br>little more high-level than CSound or SC (or even chuck).&nbsp;&nbsp;Also, there<br>are python wrappers for csound so you can script the csound shebang
<br>with python, if you&#39;re so inclined.&nbsp;&nbsp;So, if PySndObj doesn&#39;t cut if<br>for you, do it with pyCSound.<br><br>&gt;To use Chuck to<br>&gt; do this, I will need to learn YET ANOTHER LANGUAGE called OSC<br>&gt; or something, which will talk to messages from Python (which are
<br>&gt; messages originating in my phone coming via Bluetooth) so I can<br>&gt; pretty much give up on realtime.<br><br>OSC is a protocol.&nbsp;&nbsp;It should not be needed for such simple task as<br>reading the audio port, analysing the signal and (insert your action
<br>here).&nbsp;&nbsp;However, if you intend to control your computer by messages<br>you type on your phone, you can certainly forget about realtime,<br>unless you&#39;re a hyper-fast phone-keypad-typist.<br><br>&gt;<br>&gt; I hate Python. Ugh, no! I love it, but I hate where I am with this
<br>&gt; damn project.<br><br>Whining is certainly not going to help you.&nbsp;&nbsp;What will help, however,<br>is that you think about what you want to achieve, clearly state your<br>needs, problems and issues and then write to the appropriate mailing
<br>list.<br><br>Regards,<br><br>./MiS<br><br>&gt;<br>&gt; *looks despondently at the wall picture of Lord Shiva,<br>&gt; who has a familiar serpent tied around his neck like a<br>&gt; scarf*<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;-------
<br>&gt; 1/f&nbsp;&nbsp; )))<br>&gt; -------<br>&gt; <a href="http://www.algomantra.com">http://www.algomantra.com</a><br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; On 9/17/07, robin.escalation
 &lt;<a href="mailto:robin.escalation@acm.org">robin.escalation@acm.org</a>&gt; wrote:<br>&gt; &gt; --- AlgoMantra &lt;<a href="mailto:algomantra@gmail.com">algomantra@gmail.com</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; &gt; If you prepare your files and code in advance and then just chuck
<br>&gt; &gt; &gt; the<br>&gt; &gt; &gt; shreds in and out of the VM, it really is a a bit like sequencing,<br>&gt; &gt; &gt; rather<br>&gt; &gt; &gt; than livecoding. And if I change the code in the file, save it,<br>&gt; &gt; &gt; then the
<br>&gt; &gt; &gt; effects don&#39;t appear live, do they?<br>&gt; &gt;<br>&gt; &gt; In my little free time that I am spending with ChucK I am trying to<br>&gt; &gt; figure this out as well! The best I get is editing one file while
<br>&gt; &gt; another is playing. This feels more like batch programming than real<br>&gt; &gt; time.<br>&gt; &gt;<br>&gt; &gt; &gt; Maybe i&#39;m missing something freakin obvious, but I&#39;m so frustrated<br>&gt; &gt; &gt; having had to learn Csound, Chuck, SuperCollider and all sorts of
<br>&gt; &gt; &gt; new languages just because Python did not provide me with a simple<br>&gt; &gt; &gt; audio processing module. All I wanted to do using Python was<br>&gt; &gt; &gt; analyse the sound<br>&gt; &gt; &gt; of a live flute playing and plot its frequency, and other
<br>&gt; &gt; &gt; characteristics,<br>&gt; &gt; &gt; straight off the audio port.<br>&gt; &gt;<br>&gt; &gt; It is annoying that no-one has wrapped a decent library for Python.<br>&gt; &gt; But haver you checked out my article on this topic? It could be that
<br>&gt; &gt; if you have simple needs PyMedia or one of the other mentioned tools<br>&gt; &gt; might do.<br>&gt; &gt;<br>&gt; &gt; Surf:<br>&gt; &gt;<br>&gt; <a href="http://diagrammes-modernes.blogspot.com/2007/08/music-control-tools-python-based.html">
http://diagrammes-modernes.blogspot.com/2007/08/music-control-tools-python-based.html</a><br>&gt; &gt;<br>&gt; &gt; -- robin<br>&gt; &gt;<br>&gt; &gt; -----<br>&gt; &gt; Robin Parmar<br>&gt; &gt; <a href="http://robinparmar.com">
robinparmar.com</a><br>&gt; &gt; _______________________________________________<br>&gt; &gt; chuck-users mailing list<br>&gt; &gt; <a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a>
<br>&gt; &gt;<br>&gt; <a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________
<br>&gt; chuck-users mailing list<br>&gt; <a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>&gt; <a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
</a><br>&gt;<br>&gt;<br>_______________________________________________<br>chuck-users mailing list<br><a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br><a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users">
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br></blockquote></div><br><br clear="all"><br>--&nbsp;