Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29 FamiTracker
Login:
Menu:
Post: Author:
FamiTracker > General > Show Off Your Work > FTM 2 MML Converter Owner: Delek New post
Page 1 of 3 Sort: Goto Page: [1] [2] [3] Next >>
FTM 2 MML Converter Posted: 2010-11-30 07:04  (Last Edited: 2010-11-30 19:33) Reply | Quote
Delek

Avatar

Member for: 4343 days
Status: Offline

#11449
Hi, i'm working on a FTM 2 MML converter. At the moment i'm trying to "discover" with reverse enginnering the specs of the FTM format.

For now, the software only shows some information (track title, artist, copyright, number of instruments, name of instruments, sequences, envelopes, etc).

I'm doing this because i have a GB with a flashcart, so if i can convert the FTM files into MML, will be possible to compile that MML into a GB file (convert NES mml into GB mml is easy) and listen my tunes on a real GB!!.

I hope to finish this proyect soon.

Check the attach, it's a ultra beta version. Only show some information, but the software continues to improve.

Regards, Delek.

EDIT: If you want to test the soft with another ftm file, that file needs to be renamed to "test.ftm". This software only works for Famitracker 0.3.6 beta 3 FTM files.

_______________________
[url=http://www.delek.com.ar/]Delek's Website
[url=http://www.delek.com.ar/deflemask]DefleMask Tracker
[url=http://soundcloud.com/delek_music]Delek's SoundCloud
[url=http://www.youtube.com/dele1000]Delek's YouTube Channel
Attachments:
ftm2mml_v0.002.rar (6 Kb)
Posted: 2010-11-30 14:31 Reply | Quote
KuroBit

Avatar

Member for: 4579 days
Status: Offline

#11452
Very cool! That will really open up a lot of possibilities (especially since I can't quite figure out MML :P). But MML can be converted to quite a few different formats, so this will be really nice.

I tried to do something before, but it seems like the FTM format is really well made, It's programmed over a level that I can understand... (If I remember correctly)

Posted: 2010-11-30 18:56  (Last Edited: 2010-11-30 18:58) Reply | Quote
Delek

Avatar

Member for: 4343 days
Status: Offline

#11455
If jsr give me a little bit of information of the FTM format, would be very grateful. I'm burning my brain.

I have the source here next, but it is very difficult to follow, not the complexity of the structures used, but because to understand and ensure follow the code, it may take longer than doing reverse engineering.

Another reason not to follow the source code is because the files in the 0.3.5 used another way to save (just the 0.3.5 source code, no source of 0.3.6 beta 3, the best version, I think should be released at this point).

Finally, JSR, if you have time and can give me some information on the format, I would be grateful. Especially how are stored frames and patterns. :D

_______________________
[url=http://www.delek.com.ar/]Delek's Website
[url=http://www.delek.com.ar/deflemask]DefleMask Tracker
[url=http://soundcloud.com/delek_music]Delek's SoundCloud
[url=http://www.youtube.com/dele1000]Delek's YouTube Channel
Posted: 2010-11-30 19:30  (Last Edited: 2010-11-30 19:33) Reply | Quote
Delek

Avatar

Member for: 4343 days
Status: Offline

#11456
I got the frames information. :D

New version added.

_______________________
[url=http://www.delek.com.ar/]Delek's Website
[url=http://www.delek.com.ar/deflemask]DefleMask Tracker
[url=http://soundcloud.com/delek_music]Delek's SoundCloud
[url=http://www.youtube.com/dele1000]Delek's YouTube Channel
Attachments:
ftm2mml_v0.002.rar (6 Kb)
Posted: 2010-12-01 02:21  (Last Edited: 2010-12-01 03:15) Reply | Quote
Delek

Avatar

Member for: 4343 days
Status: Offline

#11462
New version.

Notes, patterns, frames, envelopes, etc; almost finished collecting data, after that I convert this data into MML. Most easy part.

_______________________
[url=http://www.delek.com.ar/]Delek's Website
[url=http://www.delek.com.ar/deflemask]DefleMask Tracker
[url=http://soundcloud.com/delek_music]Delek's SoundCloud
[url=http://www.youtube.com/dele1000]Delek's YouTube Channel
Attachments:
ftm2mml_v0.005.rar (7 Kb)
Posted: 2010-12-01 05:48 Reply | Quote
Delek

Avatar

Member for: 4343 days
Status: Offline

#11465
I have progressed greatly. All the information of the ftm files is mine. I have tested the app with hundreds of files, and none refused to give me ALL the information.

If anyone is interested on this new version, send me a PM or leave a comment on my site.

I think that I will post here only when the next version successfull convert ftm to MML.

_______________________
[url=http://www.delek.com.ar/]Delek's Website
[url=http://www.delek.com.ar/deflemask]DefleMask Tracker
[url=http://soundcloud.com/delek_music]Delek's SoundCloud
[url=http://www.youtube.com/dele1000]Delek's YouTube Channel
RE: FTM 2 MML Converter Posted: 2010-12-01 08:51  (Last Edited: 2010-12-01 08:52) Reply | Quote
Delek

Avatar

Member for: 4343 days
Status: Offline

#11466
I started converting everything to MML and now these are the results:

Delek - Raining Up, converted to GB rom. (FTM -> MML -> GB)

(only the first 2 channels, i got a bank overflow using all)

When I finish this application I will be all day listening to my GB out loud!!.

_______________________
[url=http://www.delek.com.ar/]Delek's Website
[url=http://www.delek.com.ar/deflemask]DefleMask Tracker
[url=http://soundcloud.com/delek_music]Delek's SoundCloud
[url=http://www.youtube.com/dele1000]Delek's YouTube Channel
Attachments:
test.gb (32 Kb)
Posted: 2010-12-01 15:44 Reply | Quote
Rushjet1
Moderator

Avatar

Member for: 5012 days
Location: Atlanta, GA
Status: Offline

#11470
The only really different thing from NES->GB is the noise channel (when dealing with 4-channel music). Sure, the wave channel is "different" but you can just mimic the triangle. Maybe have your converter have a -gb option that actually puts values that correspond to the gameboy noise values in XPMCK?

Posted: 2010-12-01 17:18 Reply | Quote
nicetas_c



Member for: 4582 days
Location: AB, CA
Status: Offline

#11471
MML2FTM

well if it is not difficult then you really should do that

Posted: 2010-12-01 18:50 Reply | Quote
Mex

Avatar

Member for: 4642 days
Location: Victoria, British Columbia
Status: Offline

#11472
Wow this is amazing! A MML2FTM might be sweet as well, but the functionality of being able to convert the MML to other platforms is great! For Gameboy stuff, any chance of being able to use the FDS as the freeform wave on the gbs? I think the the Gameboy has half the values that the FDS does, but people could always just write it in half step. Unless you can actually edit the MML from the ftm and make the wave from there.

Great work on this so far!

Posted: 2010-12-01 20:30 Reply | Quote
Delek

Avatar

Member for: 4343 days
Status: Offline

#11473
[quote=Rushjet1]
Sure, the wave channel is "different" but you can just mimic the triangle.[/quote]Exactly.

[quote=Rushjet1]The only really different thing from NES->GB is the noise channel (when dealing with 4-channel music).
Maybe have your converter have a -gb option that actually puts values that correspond to the gameboy noise values in XPMCK?[/quote]Yeah, i need to do that, the noise notes sounds horrible at the moment.

_______________________
[url=http://www.delek.com.ar/]Delek's Website
[url=http://www.delek.com.ar/deflemask]DefleMask Tracker
[url=http://soundcloud.com/delek_music]Delek's SoundCloud
[url=http://www.youtube.com/dele1000]Delek's YouTube Channel
Posted: 2010-12-01 20:35  (Last Edited: 2010-12-01 20:37) Reply | Quote
Delek

Avatar

Member for: 4343 days
Status: Offline

#11474
[quote=nicetas_c]MML2FTM

well if it is not difficult then you really should do that[/quote]
I do not see the potential that can come to have this.

I'm doing this soft to have a universal MML to be able to translate to various formats. MML2FTM?, I think it's back several levels int the "portability scale".

Maybe I will when finished FTM -> MML, if I can go to the right, I can go to the left without any problems. But i don't see much sense in convert MML to FTM.


_______________________
[url=http://www.delek.com.ar/]Delek's Website
[url=http://www.delek.com.ar/deflemask]DefleMask Tracker
[url=http://soundcloud.com/delek_music]Delek's SoundCloud
[url=http://www.youtube.com/dele1000]Delek's YouTube Channel
RE: FTM 2 MML Converter Posted: 2010-12-01 22:19  (Last Edited: 2010-12-01 22:26) Reply | Quote
Delek

Avatar

Member for: 4343 days
Status: Offline

#11477
Triangle channel and envelopes almost done.

_______________________
[url=http://www.delek.com.ar/]Delek's Website
[url=http://www.delek.com.ar/deflemask]DefleMask Tracker
[url=http://soundcloud.com/delek_music]Delek's SoundCloud
[url=http://www.youtube.com/dele1000]Delek's YouTube Channel
Attachments:
atatitatom_test.gb (32 Kb)
Posted: 2010-12-01 23:46 Reply | Quote
Delek

Avatar

Member for: 4343 days
Status: Offline

#11481
If any of you are curious and want to know how a song would sound after being converted to MML and then Game Boy, attach some FTM in your message and will make it.

Remember that is a beta. Only tests.

_______________________
[url=http://www.delek.com.ar/]Delek's Website
[url=http://www.delek.com.ar/deflemask]DefleMask Tracker
[url=http://soundcloud.com/delek_music]Delek's SoundCloud
[url=http://www.youtube.com/dele1000]Delek's YouTube Channel
Posted: 2010-12-02 04:24 Reply | Quote
KuroBit

Avatar

Member for: 4579 days
Status: Offline

#11486
Er, I never finished this song, but this would probably good to test out pitch bending...


Page 1 of 3 Sort: Goto Page: [1] [2] [3] Next >>