Musetracker

Discuss NSF files, FamiTracker, MML tools, or anything else related to NES music.

Moderator: Moderators

User avatar
thefox
Posts: 3134
Joined: Mon Jan 03, 2005 10:36 am
Location: 🇫🇮
Contact:

Post by thefox »

Version 1.3 is out. Get it from http://kkfos.aspekt.fi/projects/nes/tools/pornotracker/

New features:

- FamiTone text export
- Software synthesized pulse/saw on the PCM channel
- Max. number of instruments increased to 255
- Max. envelope length increased to 250
- PCM samples are loaded in normal instrument slots
- DPCM sample support
- Cycle perfect NSF timing
- Changeable instrument colors
- Instrument envelopes can be copied to Windows clipboard
User avatar
thefox
Posts: 3134
Joined: Mon Jan 03, 2005 10:36 am
Location: 🇫🇮
Contact:

Post by thefox »

Version 1.4 released: http://kkfos.aspekt.fi/projects/nes/tools/pornotracker/

This version also includes a new 6502 playback library, called MUSE.

Changes:

- MUSE (6502 playback library for games and demos)
- Linear frequency handling (note slide speed and vibrato is not dependent on the note frequency anymore)
- Glissando
- Max. channel volume was changed from 15 to 63
- Modifier keys don't hang when using Alt+Tab to switch windows (SDL fix)
- Support for display drivers that don’t support non-power-of-two textures
- Fix to copy/pasting from the triangle channel
- Fixed (bad!) bugs in autodelay
- Volume envelope ending in 0 with loop is now considered a note off
- Fixed note slides/etc in the example songs
- Various other bugfixes
cak
Posts: 34
Joined: Mon Jun 28, 2010 8:35 pm
Location: oregon

Post by cak »

Hi, I don't know if you plan on releasing another version, but I had a couple of requests in mind for DPCM: note delay, and Z effect (delta counter). Thanks...this is a great tracker.
User avatar
thefox
Posts: 3134
Joined: Mon Jan 03, 2005 10:36 am
Location: 🇫🇮
Contact:

Post by thefox »

cak wrote:Hi, I don't know if you plan on releasing another version, but I had a couple of requests in mind for DPCM: note delay, and Z effect (delta counter). Thanks...this is a great tracker.
A new version is not likely to happen anytime soon (sometime in the future is possible), but thanks for the suggestions.
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
cak
Posts: 34
Joined: Mon Jun 28, 2010 8:35 pm
Location: oregon

Post by cak »

Ah ok, I understand. Also, I was wondering if integral tempi are possible in NTSC mode? 150 bpm seems to skip a frame here and there.
edit: Nevermind, I found this at your website:
I added NTSC mode to Pornotracker so that the user knows exactly how the song would sound when exported to NTSC NSF. Multimode NSF is too much work so it won’t be supported. Currently all the mode flag does is set the CPU clock rate, so note frequencies and tempos are off. I will certainly fix the note frequencies but still undecided on the tempo issue, as there are some problems with that.
Actually that would be great if you could fix that someday. The other things I mentioned are inessential in comparison. Anyway, thanks for the reply.
User avatar
thefox
Posts: 3134
Joined: Mon Jan 03, 2005 10:36 am
Location: 🇫🇮
Contact:

Post by thefox »

cak wrote:Ah ok, I understand. Also, I was wondering if integral tempi are possible in NTSC mode? 150 bpm seems to skip a frame here and there.
Yeah this is unfortunately true, you can't use 150 bpm to get a integral tempo. The reason is that NTSC mode isn't a true NTSC mode in the sense that it doesn't run at 60Hz. Why? Because the NSF code is completely cycle timed for PAL machines, and I didn't want to rewrite it for NTSC. So the ratio between the speeds of PAL/NTSC modes in Musetracker is not 60/50 = 1.2, but 1789773/1662607 = 1.0765 (based on CPU frequencies).

So, theoretically, the base "integral" tempo for NTSC would then be 125 * 1.0765 = 134.5625 (unfortunately not an integer :(). So a tempo of 135 bpm should get you pretty close to an integral tempo.

What I really should do, is add another NTSC mode based on the 60/50 ratio. This wouldn't work with NSF export (unless I add another NSF export option based on MUSE, without raw PCM and auto-delay support). Maybe some day.
User avatar
thefox
Posts: 3134
Joined: Mon Jan 03, 2005 10:36 am
Location: 🇫🇮
Contact:

Post by thefox »

cak wrote:edit: Nevermind, I found this at your website:
I added NTSC mode to Pornotracker so that the user knows exactly how the song would sound when exported to NTSC NSF. Multimode NSF is too much work so it won’t be supported. Currently all the mode flag does is set the CPU clock rate, so note frequencies and tempos are off. I will certainly fix the note frequencies but still undecided on the tempo issue, as there are some problems with that.
Actually that would be great if you could fix that someday. The other things I mentioned are inessential in comparison. Anyway, thanks for the reply.
That blog quote was based on an older version that had no note frequency and tempo compensation at all. So it doesn't apply here.

Anyway, thanks again for all the feedback.
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
cak
Posts: 34
Joined: Mon Jun 28, 2010 8:35 pm
Location: oregon

Post by cak »

Ok I understand now...the actual NSF rate is somewhere around 53.8 fps, which affects the real world tempo accordingly. What's weird though is I'm now having no trouble at all with frameskip at F96/F01. I don't know if yesterday I ran into a bug or what, it was like each pattern added an extra cpu frame at the end.
Thanks.
User avatar
B00daW
Posts: 586
Joined: Thu Jan 03, 2008 1:48 pm

Re: Musetracker

Post by B00daW »

Currently on a Mac and not able to do much in the way of NES music tracking. FamiTracker freezes a lot in a lot of the API wrapper programs. MuseTracker works great but there is no Right-Ctrl key on a MacBook so it becomes severely cripped; being not able to play the whole song.

Possible to remap keys or make a Mac port?

Btw, I use CrossOver right now as it requires little configuration and just works for most applications I try. WINE and WineBottler are very glitchy.
User avatar
thefox
Posts: 3134
Joined: Mon Jan 03, 2005 10:36 am
Location: 🇫🇮
Contact:

Re: Musetracker

Post by thefox »

B00daW wrote:Currently on a Mac and not able to do much in the way of NES music tracking. FamiTracker freezes a lot in a lot of the API wrapper programs. MuseTracker works great but there is no Right-Ctrl key on a MacBook so it becomes severely cripped; being not able to play the whole song.

Possible to remap keys or make a Mac port?
You can remap the keys by modifying musetracker.ini. Search for SDLK_RCTRL. You can find the available SDL key constants here: http://wiki.libsdl.org/moin.fcg/SDL_Keycode (some of them may not work as advertised).
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
darkhog
Posts: 192
Joined: Tue Jun 28, 2011 2:39 pm

Re: Musetracker

Post by darkhog »

I have issue (probably of ID ten tee kind): No matter what I do, I can't get instruments to play on triangle channel.
User avatar
thefox
Posts: 3134
Joined: Mon Jan 03, 2005 10:36 am
Location: 🇫🇮
Contact:

Re: Musetracker

Post by thefox »

darkhog wrote:I have issue (probably of ID ten tee kind): No matter what I do, I can't get instruments to play on triangle channel.
Make sure the volume envelope has a value that is greater than or equal to 8.
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
User avatar
B00daW
Posts: 586
Joined: Thu Jan 03, 2008 1:48 pm

Re: Musetracker

Post by B00daW »

hey thefox,

looks like the PCM PWM stuff doesn't want to export properly (located at the "end" of the track). doesn't work on nsfplay, virtualnsf, or nintendulator. mesen goes nuts at that time.
Attachments
wiptest.zip
(7.28 KiB) Downloaded 328 times
User avatar
thefox
Posts: 3134
Joined: Mon Jan 03, 2005 10:36 am
Location: 🇫🇮
Contact:

Re: Musetracker

Post by thefox »

Seems like a bug yeah. I'll check it out at some point (could take a while).
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
User avatar
B00daW
Posts: 586
Joined: Thu Jan 03, 2008 1:48 pm

Re: Musetracker

Post by B00daW »

No other channel or command seems to influence the bug behavior. The PCM volume decays and then doesn't continue. The Cxx volume command works as programmed on the PCM channel until the bug happens as well. Looks like some sort of issue in the generative PCM playback routine in relation to engine play routine frames?
Post Reply