TFM Music Maker

Talk about development tools here

Moderator: BigEvilCorporation

Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Post by Shiru » Mon May 07, 2007 6:51 pm

Gens KMod YM2612 voice dump (*.y12)

Always 128 bytes long. First goes 4 blocks with operators parameters, 16 bytes each:

+0 - D0..D3 Multiple, D4..D7 Detune
+1 - Total Level
+2 - D0..D4 Attack, D6..D7 Rate Scaling
+3 - D0..D4 Decay
+4 - D0..D4 Sustain
+5 - D0..D3 Release, D4..D7 Release Level

Next goes 16 bytes with algo and feedback:

+0 - Algo
+1 - Feedback

And next goes 3 blocks, 16 bytes each, and each contains string with ROM filename. All unused bytes in blocks contains 0.

Kaneda can correct me if I wrong, because I get this description just by examine of *.y12 files.


MVS Tracker MD (*.ins)

Size can vary, usually <100 bytes.

+0 - id 'MVSI1' (5 bytes)
+5 - name of instrument in ASCII-Z, any length
+N - parameters of operators, 24 bytes (see below)
+N+24 - D0..D2 Algo, D3..D5 - Feedback

Same operators parameters goes together, in order 1-3-2-4:

+N:
+0..3 - D0..D3 Multiple, D4..7 Detune (+0 for operator 1, +1 for operator 3, etc)
+4..7 - Total Level
+8..11 - D0..D4 Attack, D6..D7 Rate Scaling
+12..15 - D0..D4 Decay
+16..19 - D0..D4 Sustain
+20..23 - D0..D3 Release, D4..D7 Release Level

Again, Kaneda can correct me (this information from source code of old version of MVST MD).



TFM Music Maker Instruments (*.tfi):

Always 42 bytes long, all parameters is single-byte.

+0 - Algo 0..7
+1 - Feedback 0..7

Next goes operators 1-2-3-4, 10 bytes each:

+0 - Multiple 0..15
+1 - Detune 0..7 (0=-3,3=0,7=3)
+2 - Total Level 0..127
+3 - Rate Scaling 0..3
+4 - Attack 0..31
+5 - Decay 0..31
+6 - Sustain 0..31
+7 - Release 0..15
+8 - Release Level 0..15
+9 - Envelope Type 0..15 (<8 means SSG-EG disabled)


Yamaha 2612 Instrument Editor (*.dat):

Always 52 bytes long. Contains 26 byte pairs. First byte in pair is YM2612 register number, second is value for this register.

neologix
Very interested
Posts: 122
Joined: Mon May 07, 2007 5:19 pm
Location: New York, NY, USA
Contact:

Post by neologix » Mon May 07, 2007 7:58 pm

many thanks for this info! next release of ymstat should now be able to dump to .y12, .tfi, and/or .dat instrument formats.

http://forums.project2612.org/showthread.php?t=156 is my original post at project2612. contains the link to the original ymstat, as well as basic info/usage.

zinger
Very interested
Posts: 60
Joined: Thu Apr 19, 2007 12:39 am
Location: sweden
Contact:

Post by zinger » Fri May 18, 2007 9:40 am

Shiru wrote:You must take archive from my post Apr 10 10:26am, replace z80drv.asm by file from my post Apr 11 5:32am, export your music from editor as *.tfd file (File>Export>Registers dump, save as music.tfd), replace file from archive with your file, and run compile.bat. You'll get a TFMSMD.bin file, which is SMD ROM. Test this file in emulator, and if it play OK (note that it will be slightly pitched because current version of editor does not have freq. correction for *.tfd file), you can use it with any SMD flash cartridge on real console (note that player not tested on real hardware yet, but it must work).
Works great, except for the pitch issue (I've tried it both in Gens and on a real system, identical), also the tempo is remarkably higher. :?:

zinger
Very interested
Posts: 60
Joined: Thu Apr 19, 2007 12:39 am
Location: sweden
Contact:

Post by zinger » Tue May 22, 2007 7:53 am

For channel three and six, operator frequencies can be set independently, making dissonant harmonics possible. (Normally, they would have a simple relation like e.g. 1.5x or 2x relative to a common base frequency.)
And what about this feature? :)

Groovemaster303
Newbie
Posts: 6
Joined: Tue May 22, 2007 9:16 am

Post by Groovemaster303 » Tue May 22, 2007 3:22 pm

A superb program and i'm having a great time making some cool patches.
keep up the good work it's very impressive.


here are a few demo tracks that i've been working on if anyones interested

http://www.zshare.net/audio/genesis-demo-mp3-k65.html

http://www.zshare.net/audio/fm-revival-mp3-hsw.html

http://www.zshare.net/audio/dance-track ... 3-tq4.html


Everything bar the drums are done using the tracker program except the track FM Revival which uses drum sampled from Streets of rage 1+2
I've also figured a way to integrate this with my own sequencer so i can play each musical part myself rather than using the step programing method that the program uses. i can also add fx, pan and reverb to any sounds if i want.

commodorejohn
Very interested
Posts: 70
Joined: Tue Mar 06, 2007 6:30 pm

Post by commodorejohn » Tue May 22, 2007 8:18 pm

Here's a question: how do you insert a key-off? Someone already mentioned that it's implemented, but I can't figure out how to do it.

zinger
Very interested
Posts: 60
Joined: Thu Apr 19, 2007 12:39 am
Location: sweden
Contact:

Post by zinger » Tue May 22, 2007 9:24 pm

commodorejohn wrote:Here's a question: how do you insert a key-off? Someone already mentioned that it's implemented, but I can't figure out how to do it.
"A"-key.

commodorejohn
Very interested
Posts: 70
Joined: Tue Mar 06, 2007 6:30 pm

Post by commodorejohn » Wed May 23, 2007 3:08 am

Ah. Thanks.

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Wed May 23, 2007 5:39 pm

Groovemaster303 wrote:A superb program and i'm having a great time making some cool patches.
keep up the good work it's very impressive.


here are a few demo tracks that i've been working on if anyones interested

http://www.zshare.net/audio/genesis-demo-mp3-k65.html

http://www.zshare.net/audio/fm-revival-mp3-hsw.html

http://www.zshare.net/audio/dance-track ... 3-tq4.html
Nice tunes, though the genre is not one of my favourites...

Metal anyone ? I've been working on some tunes for my game that I'm writing for MD, but these are MIDIs not YM2612 FM.
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

Groovemaster303
Newbie
Posts: 6
Joined: Tue May 22, 2007 9:16 am

Post by Groovemaster303 » Thu May 24, 2007 2:37 pm

Thanks for your comments TmEE co.(TM)

Here is my next track, a change of pace from the other tracks but very funky and a very good showcase for what the YM2612 can do.

Darkness & Light

http://www.zshare.net/audio/2004821e9bf458/

Once again I used some original drums rather than using FM percussion but everything else is pure FM goodness

Christuserloeser
Very interested
Posts: 145
Joined: Sun Jan 28, 2007 2:01 am
Location: DCEvolution.net
Contact:

Post by Christuserloeser » Thu May 31, 2007 4:02 pm

Love these tracks, Groove. Really awesome :D - My fave is the dance tune demo - although I never been a friend of the SOA/EA-like slap bass - this track is brilliant.
Shiru wrote:Z80 SMD driver is updated. Fixed (and rewritten) initialization of YM2612, removed duplicated code of channels processing by using macro.

rapidshare or mediafire (only z80 source code).
Shiru, could you upload a version of TFM with this update included ?
http://www.DCEvolution.net - Gigabytes of free Dreamcast software for you

Image

elan
Interested
Posts: 42
Joined: Mon Apr 23, 2007 1:40 pm

Post by elan » Fri Jun 01, 2007 9:27 am

2 Groovemaster303: hey man superb tunes!!!
That Darkness and Light is awesome man /breakin drums I like them/.


all
I will found PC / SEGA democrew (I really want to see SEGA - MD/GENESIS on breakpoint,assembly etc etc).You know I can see only few MD demos out there...
So people write me at ymf262/at/gmail.com.I am actually very busy.But I will launch WWW in summer for sure.SO EVERYBODY IS WELCOME!!!

SEGA MD/GENESIS
SEGA X32
SEGA MD /Z80 mode/
Maybe SEGA-SAMMY nextgen in 2011 too who knows... : )



Shiru please please when will be YM2612Tracker /TFMMM for MD/ please please include PCM channel too You know sampled drums are sampled drums...
Last edited by elan on Sun Jun 03, 2007 12:57 pm, edited 1 time in total.

Groovemaster303
Newbie
Posts: 6
Joined: Tue May 22, 2007 9:16 am

Post by Groovemaster303 » Sat Jun 02, 2007 8:03 pm

Thanks for your comments Chris and Elan, makes it all worthwhile. :wink:

Here's yet another track i've been working on it has no real name as of yet just Genodrive for obvious reasons :)

http://www.zshare.net/audio/2115160189f21a/

It's only a first mix but progress has gone quite well so i thought i'd share it with you fine people.

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef » Sat Jun 02, 2007 9:34 pm

Groovemaster303 wrote:Thanks for your comments TmEE co.(TM)

Here is my next track, a change of pace from the other tracks but very funky and a very good showcase for what the YM2612 can do.

Darkness & Light

http://www.zshare.net/audio/2004821e9bf458/

Once again I used some original drums rather than using FM percussion but everything else is pure FM goodness
Dude your musics are awesome !
Nice, we now have severals good genesis music composer on the forum =)

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Sun Jun 03, 2007 3:09 pm

Feature request: Is there any possibility to put separate order lists for every channel ? Like in RF1 systems MIDI tracker(best thing I've ever used) and BeniTracker (great tracker made in QB).
Mida sa loed ? Nagunii aru ei saa ;)
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen

Post Reply