On Fri, Nov 4, 2011 at 1:42 PM, Emanuel Rumpf <span dir="ltr"><<a href="mailto:xbran@web.de">xbran@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2011/11/4 Iain Duncan <<a href="mailto:iainduncanlists@gmail.com">iainduncanlists@gmail.com</a>>:<br>
<div class="im">><br>
> On Fri, Nov 4, 2011 at 11:32 AM, Kjetil Matheussen<br>
</div><div class="im">>> > Are you sure you need to use Python? There are other high level<br>
>> > languages<br>
>> > letting you do this, which are much faster than Python.<br>
>> > LuaAV for Lua is the most obvious since Lua is the same<br>
>> > type of language as Python. Other alternatives I know of are Faust,<br>
>> > Kronos (if it's available now) and Snd-RT.<br>
>> > (Of those last three, you should look at Faust first.)<br>
>> ><br>
><br>
><br>
> Well, I code in Python for a living, so as far as maximizing developer time<br>
> it makes sense! And there are a lot of nice libraries out there for doing<br>
> things in Python ( gui, midi, osc interfaces, etc )<br>
><br>
<br>
</div>While I can understand your desire to code in Pyhton,<br>
what you are trying to accomplish is not simple with Pyhton<br>
(if possible at all), not even with C.<br>
All your questions are just the beginning of a very huge problem ;)<br>
I presume: by trying to use Python for this, dev-time will grow<br>
exponentially ...<br>
Do you have any experience in connecting python to C, "wrapping" ?<br>
<br>
I would advice (if asked ;) to skip<br>
Python for the real-time part.<br>
Use any language that is capable.<br>
<br>
(Apparently, most "Python Modules" are actually Wrapper-Classes for C<br>
- would you call that a capable language ? ;)<br>
<br>
You could still write the GUI in Python,<br>
choosing any applicable protocol (OSC, D-Bus, ...) l in order to<br>
connect to the non-rt part of the engine.<br></blockquote><div><br></div><div>Thanks for the opinion Emmanual, very helpful. Yeah, it may be better to just start off in C++ for the engine side and bite the bullet there.</div>
<div><br></div><div>iain</div><br>