Omnimaga
Calculator Community => Other Calculators => Topic started by: ztrumpet on November 18, 2010, 01:41:16 pm
-
I would like to be able to make songs for Mobile Tunes 3 on my calc, through Mimas. In order to do this, I need the inc file from MT3, "mt3notes", to be an AppVar include file recognized by Mimas. I'm not sure how to do it, but I know someone will know how. Thanks! ;D
Content of "mt3notes" for those who can't download Mobile Tunes 3:
Links:
Mobile Tunes 3.2: www.cemetech.net/programs/index.php?mode=file&path=/83plus/asm/sound/mt3.zip
Mimas: www.ticalc.org/archives/files/fileinfo/431/43140.html
Thanks in advance! :)
-
As a general matter, you can use the 'asmto8xv' tool to convert .asm and .inc files into Mimas format. In this case, mt3notes.inc uses #define macros instead of normal equates, so to create the file below, I had to change the #defines into equates.
As you probably know, Mimas doesn't currently support macros at all, so instead of this:
song:
playsection(startbit)
playsection(lastA)
playsection(startbit)
playsection(lastB)
endsong
startbit:
note(rest,rest, c3,f2, eighth)
note(f2,a2, c3,f2, eighth)
...
endsection
you'd need to write something like this:
song:
RORG 0
DW startbit
DW lastA
DW startbit
DW lastB
DW 0 ; end of song
startbit:
DB rest, rest, c3, f2
DW eighth
DB f2, a2, c3, f2
DW eighth
...
DW 0, 0, 0 ; end of section
I haven't tested this, but it should work. Hope this helps.
-
I am sensing a potential future song creator for Mobile Tunes 3...
(I couldn't do it, but to anybody else who wishes to attempt this please do!)
-
I wish there was an actual song editor so we don't need to install a computer IDE to compile ASM and we have an easier way to make songs.
Btw welcome back tloz28, I noticed you were away for a while.
-
Thanks Floppus!
How do I define tempo?
For the computer, it's defined like:
tempo = <insert tempo here>
Do I do it that way in Mimas?
-
Yes, that's right. (The '=' character can be found in the 2nd+MATH menu, as in the BASIC program editor.) You can also write 'EQU' instead of =, if you prefer.
-
One day...
One day...
We'll be watching HD videos with high quality sound on calculators...
...probably not Texas calculator's though.
But mobile tunes? Still great! :)