Author Topic: MIDI To Axe Music Converter  (Read 66449 times)

0 Members and 1 Guest are viewing this topic.

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: MIDI To Axe Music Converter
« Reply #45 on: July 04, 2010, 12:01:31 pm »
bug: do not use source to make application. i clears your ram.
also, AMAZING!
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline KermMartian

  • Editor
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 500
  • Rating: +233/-20
    • View Profile
    • Cemetech
Re: MIDI To Axe Music Converter
« Reply #46 on: July 04, 2010, 02:24:39 pm »
Just for the sake of competition, remember this little MIDI to mobileTunes 3 converter I wrote 4 years ago? :)
http://www.cemetech.net/projects/mtunes/index.php

Here's a sample quad-channel song it rendered from a complex Type-1, 10-channel, 18-subchannel MIDI song.  I think you will all enjoy the contents. ;)
http://www.cemetech.net/files/RICKRLL2.8xp
The viewer: http://www.cemetech.net/scripts/countdown.php?/83plus/asm/sound/mt3.zip&location=archive

Edit: Note that I did zero postprocessing on what the converter generated, I just threw it straight at Brass with the addition of the necessary metadata.
« Last Edit: July 04, 2010, 02:25:43 pm by KermMartian »



Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: MIDI To Axe Music Converter
« Reply #47 on: July 04, 2010, 03:54:10 pm »
Yeah, I posted the link to that a couple pages back.  I had not actually tried it though.  Now I did try it.  I'll do a comparison with my rickroll.

As far as compression, the rickroll file you gave me was about 6KB on calc just for the data.  My rickroll + player is only 2KB together.  The sound quality in your player was about the same, but you had your notes hold much longer than mine.  I'm not sure if your player is interrupt based or not, I couldn't move the mouse around when the sound was playing.  Mine is designed to play in the background of games.  You were able to pull off chords using both channels, but by comparison, I am using the "guitar method" where all the notes are played together quickly to make the chord which allows for decent sounding chords up to around 8 notes at a time.  That allows you to hear out of both ears as well if wearing headphones.  Also, the complexity of my songs in my opinion is much greater, even my rickroll had far more chords and beats.  Did you try the Chrono Trigger song I posted above?  That one is about the same size as your rickroll.  Its nostub so you can just run it in DCS.

Not being mean or anything, but I was expecting much more since it claims to have 4 channels ;)
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: MIDI To Axe Music Converter
« Reply #48 on: July 04, 2010, 04:07:52 pm »
From a brief glance it seems like the file size might be larger because with his method notes can have different lengths.  Is this possible in your Axe player?  How do you store the song data anyway, i am curious? :D

Offline KermMartian

  • Editor
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 500
  • Rating: +233/-20
    • View Profile
    • Cemetech
Re: MIDI To Axe Music Converter
« Reply #49 on: July 04, 2010, 04:34:41 pm »
Yeah, I posted the link to that a couple pages back.  I had not actually tried it though.  Now I did try it.  I'll do a comparison with my rickroll.
OK.
As far as compression, the rickroll file you gave me was about 6KB on calc just for the data.  My rickroll + player is only 2KB together.  The sound quality in your player was about the same, but you had your notes hold much longer than mine.
 My player allows variable-sized notes, and one to four simultaneous notes at a time.  As I mentioned, I threw the rest of the raw MIDI conversion directly into my assembler, without folding the redundant sections together.  I tried that just now, and more than halved the file size.  
I'm not sure if your player is interrupt based or not, I couldn't move the mouse around when the sound was playing.
It's designed to take full advantage of the available CPU power.  
Mine is designed to play in the background of games.
Mine is not.  
You were able to pull off chords using both channels, but by comparison, I am using the "guitar method" where all the notes are played together quickly to make the chord which allows for decent sounding chords up to around 8 notes at a time.
You mean it only plays a single note at a time? That's not how guitars work.
That allows you to hear out of both ears as well if wearing headphones.
My player duplicates the sounds in both ears if the particular segment has at most two notes playing, or switches to different contents in each ear for three or more simultaneous notes.  
Also, the complexity of my songs in my opinion is much greater, even my rickroll had far more chords and beats.  Did you try the Chrono Trigger song I posted above?  That one is about the same size as your rickroll.  Its nostub so you can just run it in DCS.
I'll give it a try.  May I have the MIDI source file so I can try running it through my converter?

Not being mean or anything, but I was expecting much more since it claims to have 4 channels ;)
Well, considering my converter doesn't take the easy way out, and can convert any MIDI format types (not just single-track Type 0), including intelligent merging to convert more than four channels of audio down to four, I'm very happy with it.  The only thing I might like to add is automatic detection of redundant sections and thus compression.
« Last Edit: July 04, 2010, 04:36:25 pm by KermMartian »



Offline KermMartian

  • Editor
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 500
  • Rating: +233/-20
    • View Profile
    • Cemetech
Re: MIDI To Axe Music Converter
« Reply #50 on: July 06, 2010, 10:58:45 am »
In case anyone missed the Cemetech news, Quigibo's comments prompted me to spend 36 hours writing a novel compression algorithm; samples etc:
Info: http://www.cemetech.net/news.php?id=397
Discuss: http://www.cemetech.net/forum/viewtopic.php?t=4694



Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: MIDI To Axe Music Converter
« Reply #51 on: July 06, 2010, 12:34:06 pm »
Nice :D

Is that one SE-only btw? It sounds pretty nice for a calc, except I got rickroll'd XD

Offline KermMartian

  • Editor
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 500
  • Rating: +233/-20
    • View Profile
    • Cemetech
Re: MIDI To Axe Music Converter
« Reply #52 on: July 06, 2010, 04:34:40 pm »
Nice :D

Is that one SE-only btw? It sounds pretty nice for a calc, except I got rickroll'd XD
Nope, mobiletunes has and (hopefully) will always work on 6MHz and 15MHz calcs equally.



Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: MIDI To Axe Music Converter
« Reply #53 on: July 06, 2010, 05:47:39 pm »
Nice job Kerm! ;D

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: MIDI To Axe Music Converter
« Reply #54 on: July 06, 2010, 06:21:36 pm »
That sure is an excellent Midi converter!  I wasn't able to test out my own midi's as i wasn't able to figure out how to compile the Asm code, but it sure sounded epic on the video!  So Quigibo and Kerm stop going at each others necks and shake hands :P Kerm has created an excellent and high quality Midi player for the calc and Quigibo has created an excellent background player for games.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: MIDI To Axe Music Converter
« Reply #55 on: July 06, 2010, 06:22:58 pm »
Congrats, to both of you, Quigibo and Kerm!
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: MIDI To Axe Music Converter
« Reply #56 on: July 06, 2010, 07:25:02 pm »
Wow nice, I was so sure it was SE-only due to usage of quad-player.

Anyway congrats to both of you

Offline Madskillz

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 488
  • Rating: +32/-2
    • View Profile
Re: MIDI To Axe Music Converter
« Reply #57 on: July 06, 2010, 07:25:18 pm »
I'm impressed keep up the sweet work both of you guys.

Also:
Quote
Quote from: Quigibo on Sun  4 Jul, 10, 15:54:10
You were able to pull off chords using both channels, but by comparison, I am using the "guitar method" where all the notes are played together quickly to make the chord which allows for decent sounding chords up to around 8 notes at a time.
You mean it only plays a single note at a time? That's not how guitars work.
That is exactly how a guitar works...When your playing a chord you go from note to note in an instant but they are never played at the exact same moment in time, its impossible unless you were to pluck each string at the same time. Arpeggio fashion playing is still playing chords as well just the notes are hit using repeated up/down strokes.

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: MIDI To Axe Music Converter
« Reply #58 on: July 06, 2010, 09:43:35 pm »
Regarding the guitar chord stuff, technically it only plays one note at a time, but each string continues to sound while the next one is being plucked. So the notes sort of are sounding at the same time


Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: MIDI To Axe Music Converter
« Reply #59 on: July 06, 2010, 09:50:42 pm »
Yeah, I was referring to what Madskillz was talking about, I am aware that the strings continue vibrating afterward.

I am thinking of expanding my midi converter to handle Type 1 but I don't want to spend my time on that right now.  I am currently working on the most difficult part of the geometry drawing for Axe right now: The filled rectangle.  And it is really torturing me.
___Axe_Parser___
Today the calculator, tomorrow the world!