Thread
:
PyFret a Python/Qt4 (Maemo) App/Example
View Single Post
go1dfish
2009-12-13 , 23:35
Posts: 237 | Thanked: 157 times | Joined on Dec 2009 @ San Diego, CA
#
1
PyFret is a little app I wrote last year in Python/PyQt4 to help myself learn music theory, and guitar scales.
http://tunetrack.net/media/pyfret/pyfret-maemo-1.tar.gz
You will need to install pyside-qt4-ui for this to work on your n900
Run pyfret.py for the desktop version (which will run, but is rather unusable on the n900), run pyfret-maemo.py for the Maemo version.
It generates ASCII fretboard diagrams of scale/chord positions. Originally I built the app for Linux/Mac/Windows, you can find my old builds for these platforms here:
http://tunetrack.net/media/pyfret/pyfret-mac.zip
(universal)
http://tunetrack.net/media/pyfret/pyfret-win.zip
(Note these builds are old, pyqt4 based, and do not include the maemo code)
After receiving my n900 last week, I spent a day porting it to PySide/Maemo5 and I'm pretty happy with the results so far. I haven't seen very many Python/Qt4 examples for maemo, so as promised I am posting it here as my gift to the Maemo community, under python license.
The desktop and maemo UI's share many of the same custom widgets, and I think this is a fairly realistic example of the type of code reuse you can expect to see between a desktop and mobile qt application.
The maemo specific UI code is in ui/maemoqt4/
Generic Qt4 UI code is in ui/qt4/
Let me know what you think, patches/improvements welcome. Would really like to see a fancy fretboard renderer to replace the current ASCII display
Quote & Reply
|
The Following 5 Users Say Thank You to go1dfish For This Useful Post:
attila77
,
edgedemon
,
eiffel
,
fpp
,
micm
go1dfish
View Public Profile
Send a private message to go1dfish
Visit go1dfish's homepage!
Find all posts by go1dfish