Categories: S60 | Python | How To | Code Examples | Multimedia | Audio
This page was last modified 22:41, 12 October 2007.
How to generate and play midi notes
From Forum Nokia Wiki
You can play any sound file (including midi) with Python. But for generating a midi file you have to use another way.
A pure Python midi file library exists but a few changes are necessary for adapting to Python for S60.
With it, you can play a single note with the following code.
from smidi import play play([(64,192), (32, 192)])
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NDS and MIDP2.0 | zivgr | Mobile Java Tools & SDKs | 3 | 2003-07-23 14:00 |
| how to play mp3 files/FM on nokia 3660? | despair89 | Mobile Java Media (Graphics & Sounds) | 2 | 2004-04-11 22:08 |
| Playing a midi file multiple times on 3300 | conrad2k | Mobile Java Media (Graphics & Sounds) | 5 | 2005-10-18 00:20 |
| 关于声音播放的问题??急!! | qwinter | Symbian | 2 | 2006-12-26 01:32 |
| 4 poly on 6610i | naklova | Audio | 1 | 2007-11-01 11:49 |
