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 Apr 23, 2007 3:35 pm

Stef wrote:So the 6 bits DAC still sounds a lot better :p
It's without any doubts.
Stef wrote:Separate busy register ??? you mean if the address register is modified, the busy state can be different ?
Yes, seems like to (this tests with real hardware was done by Alone Coder, and he has come to such opinion).
Stef wrote:Yep, but we can simplify the player by making a simple music format.
Having something has :
If you continue thinking this way, you'll finish with idea which already implemented in driver:)
Stef wrote:Minimize "H" register index use i guess
Minimize register pairs operations usage, to be exact.

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

Post by elan » Mon Apr 23, 2007 3:36 pm

:) I will love TFMMaker Sega MD edition for sure... But I will track some tunes on original too - I hope I will hear it on real ZX one day on 8bit party.
I use RMTTracker that is Atari Pokey tracker / 8channels stereo...There is no middle just simple you use 2channels with 50% lower instrument volume for middle...And I love that style...

Hmm Renoise Tracker has fullscreen and dont forget non window FT2.I am simply Atari 8bit oldschooler so sorry - I like fullscreen...But I can track in any size of window :D.

Why short help.I understand Russian little bit but only when somebody speech Russian - I can not read it.So please make same help in English not only for me dont forget there is strong ZX scene is in Poland,Czech,Hungary,Germany,UK...
I was ZX owner too Didaktik Kompakt with FDD...It was realy nice oldschool time...

elan

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

Post by elan » Mon Apr 23, 2007 3:39 pm

But I like actual version and I am tracking right now little tune...
One more question what is *.dat??? 2612 yamaha instrument editor??? It is for PC?

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

Post by Shiru » Mon Apr 23, 2007 3:59 pm

elan wrote:I will love TFMMaker Sega MD edition for sure... But I will track some tunes on original too - I hope I will hear it on real ZX one day on 8bit party.
TFM and SMD compatible with some limitations - TFM has more advanced PSG (2xAY) but has no DAC (at least while playing music in background). So it's will be not hard to make versions for both devices (or adapt from one to another) even when tracker will be splitted to SMD and TFM exclusively versions.

There is plans for TFM music compo on upcoming DiHalt'07 party, although nobody sure about it (for now it's even not included in compo list).
elan wrote:Hmm Renoise Tracker has fullscreen and dont forget non window FT2.I am simply Atari 8bit oldschooler so sorry - I like fullscreen...But I can track in any size of window
Note that most of trackers (if not all them) which works in fullscreen is designed for it (fullscreen with fixed resolution). And it's not very usable in multi-task operation system like Windows (just imagine that you chat in ICQ while you work in fullscreen tracker). Also fixed resolution looks bad on today's big TFT monitors - blurry for fullscreen, too small for windowed mode.
elan wrote:Why short help.
Because my knowledge of english is very limited (as you can see in this thread;), and it's too hard to translate whole help and support both versions later.
elan wrote:One more question what is *.dat??? 2612 yamaha instrument editor??? It is for PC?
It's format which used in 'YM2612 instrument editor' and Devster Noise Machine tools (both for PC/Windows). I don't remember much about first.

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

Post by elan » Mon Apr 23, 2007 6:33 pm

Thank You Shiru.

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) » Tue Apr 24, 2007 5:28 am

As much I have messed with YM2612, I've discovered, that 1 NOP instead of WaitBeforeYM2612ReadyLoop does all the job, at least on my MD2. Only 70KHz DAC playback silenced it after a while. Small optimization :wink:
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

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

Post by Shiru » Tue Apr 24, 2007 3:56 pm

TmEE co.(TM) wrote:As much I have messed with YM2612, I've discovered, that 1 NOP instead of WaitBeforeYM2612ReadyLoop does all the job, at least on my MD2. Only 70KHz DAC playback silenced it after a while. Small optimization :wink:
Afaik, built-in DAC (which used for FM synth) into YM2612 has samplerate about 50-60KHz, maybe slightly more. I don't sure what happens if you will output values to DAC faster than samplerate of DAC, maybe it's a reason for silence.

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

Post by Shiru » Fri Apr 27, 2007 3:25 am

Shiru wrote: There is plans for TFM music compo on upcoming DiHalt'07 party, although nobody sure about it (for now it's even not included in compo list).
TurboSound FM compo added to compo list. Two works from one author max, not more than 3 minutes, only 15 works will be showed/voted. Party will be in 2-3 June, deadline for works is May 30. Here is english version of rules (although still not updated to actual information at time - TurboAY listed instead of TurboSound FM), if anybody interested.

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

Post by zinger » Fri May 04, 2007 7:35 am

How about a new version soon? :)

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

Post by Shiru » Fri May 04, 2007 8:00 am

zinger wrote:How about a new version soon? :)
This month, I think. Can't say exactly.

nim
Newbie
Posts: 4
Joined: Fri Apr 20, 2007 10:02 am
Location: Sweden
Contact:

Post by nim » Fri May 04, 2007 2:05 pm

great! hope it'll include note cut and/or reset adsr features if possible :-)

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

Post by Shiru » Fri May 04, 2007 2:35 pm

nim wrote:great! hope it'll include note cut and/or reset adsr features if possible :-)
Note cut - maybe, although I'm not sure that new effects will be added in next version. Envelope reset is not possible, it's a hardware limitation.

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 5:23 pm

hey there. i created a program called ymstat (currently win32 command-line, but with some tweaking can do unix command-line and i'm also working on a mac gui version) that takes a .GYM file and outputs plain text (or html formatted text) describing (in human readable form) the file (similar to the program midistat). i'd like to add instrument dump support for the fm channels so that the instruments can be loaded in tfmmaker. i'm thinking of using the genskmod dump format. where can i acquire the specs for the ym2612 dumps genskmod can do?

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.

Post Reply