-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Micro:bit music format #1
Comments
Do you have a pointer to the documentation of the format you're looking for? |
Only this, http://coderdojoscotland.com/wp-content/uploads/2016/04/Musical-Microbit.pdf (page 5) |
micro:bit's music format is MML/SMX, aka Music Macro Language used in GWBASIC/QBasic/MSX BASIC/Linux speaker tunes. The standard parser library, MMLlib, is probably a little large for MicroPython. I don't know how much of the rather baroque MML standard is supported by the micro:bit. RTTTL assumes a fixed tempo, MML can change tempo at any time. |
I was looking for a way to translate RTTTL tune format into MML one; no need to do it on the fly using board itself. Support can be tried out without owning microbit ("edit code" to change tones) |
I'm not familiar with MML, so I'm not sure. You can run this library on your host PC. It doesn't have code that is specific to the microcontroller. The |
Hello,
when I run pyb_test.py I've got values like
(587.4, 214.28571428571428)
(622.2, 214.28571428571428)
(659.2, 214.28571428571428)
...
Is there a way to output in microbit format eg. 'g4:1', 'c5', 'e', 'g:2', 'e:1', 'g:3'?
The text was updated successfully, but these errors were encountered: