473,394 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Python music interfaces

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
2 1791
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

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
3
by: fdsl ysnh | last post by:
--- python-list-request@python.orgдµÀ: > Send Python-list mailing list submissions to > python-list@python.org > > To subscribe or unsubscribe via the World Wide Web, > visit >...
5
by: Uwe Mayer | last post by:
Hi, I have come across the following statement a number of times: http://mail.python.org/pipermail/python-list/2003-July/171805.html > Python, in general, doesn't try to stop the programmer...
42
by: redefined.horizons | last post by:
I'm coming from a Java background, so please don't stone me... I see that Python is missing "interfaces". The concept of an interface is a key to good programming design in Java, but I've read...
5
by: EP | last post by:
This inquiry may either turn out to be about the suitability of the SHA-1 (160 bit digest) for file identification, the sha function in Python ... or about some error in my script. Any insight...
1
by: Per | last post by:
Is there anyone who has tried to build an Access music database that interfaces with the iTunes library, either the xml or the itl library files? I have found a decent XML transformation which...
28
by: jmDesktop | last post by:
Studying OOP and noticed that Python does not have Interfaces. Is that correct? Is my schooling for nought on these OOP concepts if I use Python. Am I losing something if I don't use the...
5
by: '2+ | last post by:
well maybe am over-advertising .. excuse me ... am new to python but my "algo-comping cs.sco with python" thang kinda got lauched after all so decided to move from java to python to do these...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.