Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Some guidance please: A Python multitrack recorder?

Reply
Thread Tools

Some guidance please: A Python multitrack recorder?

 
 
Dfenestr8
Guest
Posts: n/a
 
      07-04-2003
Hi.

I'm no coder. I'm just a working guy who likes to tinker with computers in
my spare time.

That's my hobby. My passion is: playing instruments. Combining the two,
I've made a couple of event driven, GUI controlled progs in Python and
tKinter before. I made an abc/midi player, using the timidity, and
abc2midi packages. I also did a metronome, using the Snack sound toolkit.

My next project is to make my own sound recorder, using Tkinter and the
Snack Sound toolkit. I have an idea, that using multiple threads for each
recording track, I could eventually develop it into a multitrack recorder.
I could use linux SOX to add effects to each track.

Does this sound like a stupidly complicated idea for a newby?

Also, is the Python interpreter fast enough for this sort of work?
Especially on a pII 450Mhz with only 256 meg?

Would I be better off just sticking with a single track recorder, until
the day I get around to seriously studying a compiler language like C++?

Here's the skeleton of the code I'm writing......

#! /usr/bin/python

from Tkinter import *
from os import popen, popen2
import threading
import tkSnack

root = Tk()
tkSnack.initializeSnack(root)

class RecThread(threading.Thread):
#this thread accesses the Snack toolkit
#and actually does the recording
def __init__ (self, master = None):
threading.Thread.__init__(self, master)

class TrackFrame(Frame):
#this frame will contain the controls for running RecThead
#including Rec, Play, and Mute Radiobutton contols.
def __init__ (self, master = None):
Frame.__init__(self, master)

class ControlFrame(Frame):
#this contains all the arrow keys for controlling TrackFrame
#it will have Start, Stop, and Pause buttons
def __init__ (self, master = None):
Frame.__init__(self, master)

class Application(Frame):
#this is the layout for all of the above
def __init__ (self, master = None):
Frame.__init__(self, master)

if __name__ == '__main__':

root.App = Application()
root.App.master.title("Un Recorder")
root.App.mainloop()


 
Reply With Quote
 
 
 
 
Egor Bolonev
Guest
Posts: n/a
 
      07-04-2003
Hello, Dfenestr8!
You wrote on Fri, 04 Jul 2003 16:15:11 +0900:

D> I'm no coder. I'm just a working guy who likes to tinker with computers
D> in my spare time.

[Snipped]

D> Also, is the Python interpreter fast enough for this sort of work?
D> Especially on a pII 450Mhz with only 256 meg?

The developers build such modules as tkSnack with C/C++, so they work fast.

D> Would I be better off just sticking with a single track recorder, until
D> the day I get around to seriously studying a compiler language like C++?

Python is a kind of serious language. If you can find all low-level modules
your programm need, then you have not to use C++.

[Snipped]


With best regards, Egor Bolonev. E-mail: [ru eo en]

 
Reply With Quote
 
 
 
 
Sandy Norton
Guest
Posts: n/a
 
      07-04-2003
"Dfenestr8" wrote in message:

> I'm no coder. I'm just a working guy who likes to tinker with computers in
> my spare time.
>
> That's my hobby. My passion is: playing instruments. Combining the two,
> I've made a couple of event driven, GUI controlled progs in Python and
> tKinter before. I made an abc/midi player, using the timidity, and
> abc2midi packages. I also did a metronome, using the Snack sound toolkit.


If you like python and music you may be interested in these links:

- http://csounds.com/
- http://www.csounds.com/stevenyi/blue/

- http://cnmat.cnmat.berkeley.edu/OSC/
- http://galatea.stetson.edu/cgi-bin/v...i/ProctoLogic/
- http://www.stetson.edu/departments/m...ents/research/
cs/cs498/2001/danny_clinton/final.pdf

- http://seqdublin.sourceforge.net/

- http://lennart.regebro.nu/music/python-midi/

Have fun,

Sandy
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multitrack sound card RobMasters Computer Support 1 05-03-2005 06:10 AM
looking for some guidance bravo MCSE 2 04-10-2004 03:08 AM
need some guidance for Record Not Found luna ASP .Net 3 01-30-2004 03:10 PM
Re: Coding a c# wrapper class to unmanaged C++ program, need some guidance Brendan Duffy ASP .Net 0 07-25-2003 12:49 AM
Some guidance needed bostonmegarocker C++ 2 07-01-2003 10:23 PM



Advertisments