Re: would it be feasable to write python DJing software

2006-02-06 Thread Fuzzyman
Ivan Voras wrote: > Ivan Voras wrote: > > > Because "bar and aba happen to be parts of extension library" :) > > To end this disussion: I meant "doing it in C" as a colloquial > expression, not a technical one. The expression holds true for every > case where a function/class/module/etc is impleme

Re: would it be feasable to write python DJing software

2006-02-04 Thread Ivan Voras
Ivan Voras wrote: > Because "bar and aba happen to be parts of extension library" :) To end this disussion: I meant "doing it in C" as a colloquial expression, not a technical one. The expression holds true for every case where a function/class/module/etc is implemented in a lower-level langua

Re: would it be feasable to write python DJing software

2006-02-04 Thread Ivan Voras
Fredrik Lundh wrote: > > uhuh? so why did you just argue that > > if foo.bar(): > bar.aba() > > means "doing it in C" if bar and aba happens to be parts of an extension > library ? Because "bar and aba happen to be parts of extension library" :) -- http://mail.python.org/mailman/

Re: would it be feasable to write python DJing software

2006-02-03 Thread Ivan Voras
Terry Hancock wrote: > To me, "doing it in C" implies that I must write some C > code. Ok, perhaps it is a bit imprecise :) > In this case, that won't be required at all. Everything the > OP wants to do can be done exclusively by writing Python > code. He will, of course, be *using* some exten

Re: would it be feasable to write python DJing software

2006-02-03 Thread Grant Edwards
On 2006-02-03, Ivan Voras <[EMAIL PROTECTED]> wrote: Actually, manipulating and mixing audio samples can be both fast and elegant, in Python, if you use Numeric or a similar library. >>> >>>... at which point you're actually doing it in C, not pure python... :) >> >> If that's the way you

Re: would it be feasable to write python DJing software

2006-02-03 Thread Terry Hancock
On Fri, 03 Feb 2006 20:03:01 +0100 Ivan Voras <[EMAIL PROTECTED]> wrote: > Grant Edwards wrote: > > On 2006-02-03, Ivan Voras <[EMAIL PROTECTED]> wrote: > > > >>[EMAIL PROTECTED] wrote: > >> > >>>Actually, manipulating and mixing audio samples can be > >both fast and >>elegant, in Python, if you u

Re: would it be feasable to write python DJing software

2006-02-03 Thread Ivan Voras
Grant Edwards wrote: > On 2006-02-03, Ivan Voras <[EMAIL PROTECTED]> wrote: > >>[EMAIL PROTECTED] wrote: >> >>>Actually, manipulating and mixing audio samples can be both fast and >>>elegant, in Python, if you use Numeric or a similar library. >> >>... at which point you're actually doing it in C,

Re: would it be feasable to write python DJing software

2006-02-03 Thread Tom Anderson
On Fri, 3 Feb 2006, Ivan Voras wrote: > Levi Campbell wrote: > >> Hi, I'm thinking about writing a system for DJing in python, but I'm >> not sure if Python is fast enough to handle the realtime audio needed >> for DJing, could a guru shed some light on this subject and tell me if >> this is do

Re: would it be feasable to write python DJing software

2006-02-03 Thread Grant Edwards
On 2006-02-03, Fuzzyman <[EMAIL PROTECTED]> wrote: > Come to that, you're **really** doing it in machine code... And probably not the machine code emitted by the assembler but rather the actual micro-code that's implemented in hardware that's running a program that implements the VM for the machi

Re: would it be feasable to write python DJing software

2006-02-03 Thread Andrew Gwozdziewycz
> If that's the way you want to look at it, there is nothing that > can be done in pure python. Both the built-ins and the basic > operators and sematics are implimented in C. What makes python a powerful programming language? It's the fact that it bundles up all sorts of c-code into a nice easy

Re: would it be feasable to write python DJing software

2006-02-03 Thread Grant Edwards
On 2006-02-03, Ivan Voras <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > >> Actually, manipulating and mixing audio samples can be both fast and >> elegant, in Python, if you use Numeric or a similar library. > > ... at which point you're actually doing it in C, not pure python... :) If t

Re: would it be feasable to write python DJing software

2006-02-03 Thread Fredrik Lundh
Ivan Voras wrote: > > Come to that, you're **really** doing it in machine code... > > I've yet to see someone calling > > if a == '5': > print "it's 5" > > machine code. It's the distinction on which level the program's logic is > implemented, not at which level it's executed. uhuh? so why

Re: would it be feasable to write python DJing software

2006-02-03 Thread Ivan Voras
Fuzzyman wrote: > Only in as much as doing anything in Python is *really* doing it in C, > surely ? > > Come to that, you're **really** doing it in machine code... I've yet to see someone calling if a == '5': print "it's 5" machine code. It's the distinction on which level the program's l

Re: would it be feasable to write python DJing software

2006-02-03 Thread Fuzzyman
Ivan Voras wrote: > [EMAIL PROTECTED] wrote: > > > Actually, manipulating and mixing audio samples can be both fast and > > elegant, in Python, if you use Numeric or a similar library. > > ... at which point you're actually doing it in C, not pure python... :) Only in as much as doing anything in

Re: would it be feasable to write python DJing software

2006-02-03 Thread Ivan Voras
[EMAIL PROTECTED] wrote: > Actually, manipulating and mixing audio samples can be both fast and > elegant, in Python, if you use Numeric or a similar library. ... at which point you're actually doing it in C, not pure python... :) -- http://mail.python.org/mailman/listinfo/python-list

Re: would it be feasable to write python DJing software

2006-02-03 Thread simonwittber
Levi Campbell wrote: > Any and all mixing would probably happen in some sort of multimedia > library written in C (it would be both clumsy to program and slow to > execute if the calculations of raw samples/bytes were done in python) so > there shouldn't be a noticable performance hit. Actually, m

Re: would it be feasable to write python DJing software

2006-02-02 Thread Terry Hancock
On Fri, 03 Feb 2006 02:35:56 +0100 Ivan Voras <[EMAIL PROTECTED]> wrote: > Levi Campbell wrote: > > Hi, I'm thinking about writing a system for DJing in > > python, but I'm not sure if Python is fast enough to > > handle the realtime audio needed for DJing > > Any and all mixing would probably hap

Re: would it be feasable to write python DJing software

2006-02-02 Thread Ivan Voras
Levi Campbell wrote: > Hi, I'm thinking about writing a system for DJing in python, but I'm > not sure if Python is fast enough to handle the realtime audio needed > for DJing, could a guru shed some light on this subject and tell me if > this is doable or if I'm out of my fscking mind? Any and al

Re: would it be feasable to write python DJing software

2006-02-02 Thread Farshid Lashkari
Levi Campbell wrote: > Hi, I'm thinking about writing a system for DJing in python, but I'm > not sure if Python is fast enough to handle the realtime audio needed > for DJing, could a guru shed some light on this subject and tell me if > this is doable or if I'm out of my fscking mind? > What do

would it be feasable to write python DJing software

2006-02-02 Thread Levi Campbell
Hi, I'm thinking about writing a system for DJing in python, but I'm not sure if Python is fast enough to handle the realtime audio needed for DJing, could a guru shed some light on this subject and tell me if this is doable or if I'm out of my fscking mind? -- http://mail.python.org/mailman/list