RJDMC 1.53

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

Moderator: Moderators

tepples
Posts: 22738
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

Wave wrote:
tepples wrote:For an illustration, have a look at how I handle samples in the source code to LJ65.
So you have to do it manually for each sample?
Wouldn't it be better to have samples padded to 64 bytes and use the trail as I suggested?
They are padded to 64 bytes (see .align). It's no more manual than manually specifying the addresses of the trail. If you mean something else, please quote the part of the source code that you're claiming is too manual.
Wave
Posts: 110
Joined: Mon Nov 16, 2009 5:59 am

Post by Wave »

tepples wrote:
Wave wrote:
tepples wrote:For an illustration, have a look at how I handle samples in the source code to LJ65.
So you have to do it manually for each sample?
Wouldn't it be better to have samples padded to 64 bytes and use the trail as I suggested?
They are padded to 64 bytes (see .align). It's no more manual than manually specifying the addresses of the trail. If you mean something else, please quote the part of the source code that you're claiming is too manual.
Except the starting address, that would be set 1 time, length and freq would be outputted by the program.
The way I am saying you don't have to realign all samples if the first one changes it's size.

EDIT: on NESHLA is something like this:
#rom.org 0xC000
tostarStart:
#incbin "../../music/dmc/tostar.dmc"
byte tostarData[] = {lo((tostarStart - 0xC000)/64)}
#incbin "../../music/dmc/tostar.tra"
flipStart:
#incbin "../../music/dmc/flip.dmc"
byte flipData[] = {lo((flipStart - 0xC000)/64)}
#incbin "../../music/dmc/flip.tra"
etc...
tepples
Posts: 22738
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

Length would be computed from the starting address of the following sample minus the starting address of this sample. Frequency is manual, I admit, but due to the coarse frequency control, it can't easily be changed unless your converter program resamples the data. Music engines usually have to change the frequency anyway for something like a Sunsoft bass, SMB3 timpani, or a Dr. Mario/Hello Kitty World drum line. But perhaps we could combine these approaches. The converter would store the default frequency as part of a 15-byte footer, and the same reference to the $4013 value for sample n+1 would let the playback code look up sample n's precise length and default frequency.
Wave
Posts: 110
Joined: Mon Nov 16, 2009 5:59 am

Post by Wave »

tepples wrote:Length would be computed from the starting address of the following sample minus the starting address of this sample. Frequency is manual, I admit, but due to the coarse frequency control, it can't easily be changed unless your converter program resamples the data. Music engines usually have to change the frequency anyway for something like a Sunsoft bass, SMB3 timpani, or a Dr. Mario/Hello Kitty World drum line. But perhaps we could combine these approaches. The converter would store the default frequency as part of a 15-byte footer, and the same reference to the $4013 value for sample n+1 would let the playback code look up sample n's precise length and default frequency.
That's the idea, store on the footer the original data. For "fixed rate" samples, for Drum or Bass, you could select the sample via code.
User avatar
RushJet1
Posts: 156
Joined: Wed Nov 10, 2004 10:17 pm
Contact:

Re: RJDMC 1.4

Post by RushJet1 »

Bumping for updated file.
User avatar
RushJet1
Posts: 156
Joined: Wed Nov 10, 2004 10:17 pm
Contact:

Re: RJDMC 1.53

Post by RushJet1 »

v1.53 released
danielt2k8
Posts: 1
Joined: Sun May 28, 2023 7:53 pm

Re: RJDMC 1.53

Post by danielt2k8 »

When I try to go to 4x86.com, it asks me if I'm interested in this domain. It also says that the related searches are [Mod note: Edited to remove SEO terms]
bootmii
Posts: 13
Joined: Sat Jul 25, 2015 11:53 am

Re: RJDMC 1.53

Post by bootmii »

The same goes for the FamiTracker website. It says "Avstängd webbplats". Please attach RJDMC because it's lost media now.
User avatar
freem
Posts: 176
Joined: Mon Oct 01, 2012 3:47 pm
Location: freemland (NTSC-U)
Contact:

Re: RJDMC 1.53

Post by freem »

Was only able to find v1.4 via Wayback Machine; attached it to this post. Hopefully someone comes across the later v1.53 version.
Attachments
RJDMCv1.4.zip
(113.09 KiB) Downloaded 103 times
User avatar
RushJet1
Posts: 156
Joined: Wed Nov 10, 2004 10:17 pm
Contact:

Re: RJDMC 1.53

Post by RushJet1 »

Updated the link in the first post
Post Reply