|
No worries Chuck,
all i'm trying to suggest here (in my usual round about way) is it's worth
keeping track of some simple examples that illustrate key API concepts -
particularly the less obvious solutions to the more challenging problems -
like threading (your recent post..), timed scheduling, tempo management -
things youve recently brought up on list.
All the solutions may end up living together in your finished "software
product", but i think it is useful to answer the questions & problems you
encounter with specific examples in just a few lines of illustrative API /
python code that says - "This is how to X"
My recent endeavours to create a midi realtime example with a concurrent
wxthread, as simply as possible, being indicative of the type of further
example i feel is useful. In and of itself, it's a simple illustration, but
without any fundamental changes to the basic "workflow" it could become the
basis of something a lot more vast & powerful because the principle &
technique of passing the data to & from python & csound as illustrated
remains the same...
People (like me) are obviously not going to digest the full width & breadth
of the API in order to do something that, if you know what you are doing, is
quite simple & can be achieved with a handful of functions & very few lines
of code...
If the examples are to remain the only useful & easily digestible source of
the possibilities of API implementation (& in this regard they are of high
value) then i think we owe it to all to try & expand the range of the
examples with a more rounded selection of common (& less common) application
"templates" that deal with certain "core" functionality (core to the general
business of "getting a bit geeky & algorithmic" with Python & Csound
anyway... + basic "musical" implementations - i.e. something like "tempo
handling" seems a good example, for example..)
Ultimately there could then perhaps be a website that could supplement the
distributed examples with further Python based API illustrations. David
Worrall has a site that i feel is already a suitable gateway to such a
collection, & i have contributed my wx / midi realtime example to him in the
hope that he can start collating other similar types of examples to host on
his site.
I would just like to encourage you to think along similar lines,
particularly while you are still in "the early stages" & may, like me, feel
certain basic illustrations serve as important "stepping stones" in your
longer term development.
It seems to me after all that the examples that will carry most resonance
for API beginners are those created by those beginners...
So before you lose your innocence, make sure you retain some illustrative
examples of it's demise... "zen mind beginners mind" & all that...
are you feelin' me Chuck?
-----
*******************
www.phasetransitions.net
hermetic music * python * csound * possibly mindless ranting
various werk in perpetual delusions of progress....
--
View this message in context: http://www.nabble.com/Realtime-from-Python---best-with-Csound--tp17193803p17402412.html
Sent from the Csound - General mailing list archive at Nabble.com.
|