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