By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,198 Members | 898 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,198 IT Pros & Developers. It's quick & easy.

Python music interfaces

P: n/a
Hi,

I am wanting to develop some software that

a) Reads existing files of music of a few well known types
b) Displays the music in traditional notation - i.e. on a stave
c) Displays the same music in my own notation that I am playing with
d) Allows both to be printed

I guess I can use Python with Tk for the display part but there seems to
be a plethora/cornucopia of Python music interfaces. (For example,
<http://wiki.python.org/moin/PythonInMusic>.) I'd appreciate if you
could recommend which would be good for me to look at in order to do the
above.

--
TIA,
James
Nov 10 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Are you talking about audio files (wav, mp3) or MIDI? Converting
audio files into discrete notes ("music recognition") is seriously
non-trivial, although there are some commercial products you might be
able to use for this. On the other hand, you could draw a
spectrographs without too much trouble. As

For reading the audio file, you could start with the built-in wave
module to read uncompressed WAV files, and worry about other formats
later on. Any external audio converter will be able to save as WAV
(sox on Linux is one such program)

Tkinter's Canvas will work nicely for display, particularly because
it's absurdly easy to convert Canvas contents into PostScript for
printing.

Nov 10 '05 #2

P: n/a

Lonnie Princehouse wrote:
Are you talking about audio files (wav, mp3) or MIDI?

Strictly discrete notes or chords. I honestly don't know how the files
are made up but I guess MIDI would be more the thing. Can you recommend
a package for reading them (as arrays, perhaps)? The simpler the
better!

Tkinter's Canvas will work nicely for display, particularly because
it's absurdly easy to convert Canvas contents into PostScript for
printing.


I don't have access to a postscript printer but I guess I can use the
display and do a printscreen etc so I'll look in to this some more.
Tkinter has to be the way to go, I think....

Nov 11 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.