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 > FamiTracker Talk > DPCM question Owner: Orion96 New post
Page 1 of 1 Sort:  
DPCM question Posted: 2013-01-08 11:39 Reply | Quote
Orion96

Avatar

Member for: 3526 days
Status: Offline

#43391
Why do samples play for only 1 second? It's ok for percussion, but for a bass instrument, some songs don't sound good when the bass is supposed to play a long note and it cuts off.

_______________________
Who's going to dodge that? Nobody! Not the first time! You'd have to know: Oh! This is gonna be a vertical 2D shooter, and, there's going to be an obstacle immediately at the start of the game!
AVGN
Posted: 2013-01-08 14:43 Reply | Quote
za909

Avatar

Member for: 3962 days
Location: Hungary
Status: Offline

#43394
That's pretty much a limitation of the console. If you use repitched samples like in sunsoft games, the notes get longer as you go lower with the pitch. But if you have a sample for each note, you should try to import at a lower quality. That way you can get slightly longer samples in there.

_______________________
Rectangular sh*t ©
Posted: 2013-01-08 14:48  (Last Edited: 2013-01-08 14:49) Reply | Quote
rainwarrior

Avatar

Member for: 4150 days
Location: Canada
Status: Offline

#43395
You can make looped samples if you like, but you can only set loop points in 128 sample increments (and currently Famitracker only lets you loop from the beginning, I think).

The other thing is it's usually better to have a quick release on a DPCM sample than a slow one. The bit depth on DPCM sample playback is actually only 6-bit, so quiet fading tails sound really horribly distorted (on top of the 1-bit distortion that comes from it being NES DPCM in the first place).

Posted: 2013-01-09 05:42 Reply | Quote
furrykef

Avatar

Member for: 5189 days
Status: Offline

#43404
6-bit? Not 7-bit?

Posted: 2013-01-09 09:37 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#43406
Each bit in a DPCM sample moves the delta counter two steps, so the actual resolution is 6 bits.

_______________________
Programmer and developer
Posted: 2013-01-09 09:46  (Last Edited: 2013-01-09 09:47) Reply | Quote
furrykef

Avatar

Member for: 5189 days
Status: Offline

#43407
Huh. You learn something new every day. You'd think I'd have known that, having written a partial NSF player for the Tandy (I didn't get around to trying DPCM).

As for the problem of playing longer samples, it's sometimes a simple matter to just split your sample up into multiple samples and play them in sequence. A bit annoying, perhaps, but doable.

Posted: 2013-01-09 10:32 Reply | Quote
Orion96

Avatar

Member for: 3526 days
Status: Offline

#43409
You know, I never thought of that. I believe that is what danooct1 did in famicompo entry if I'm not mistaken.

_______________________
Who's going to dodge that? Nobody! Not the first time! You'd have to know: Oh! This is gonna be a vertical 2D shooter, and, there's going to be an obstacle immediately at the start of the game!
AVGN
Posted: 2013-01-09 11:31 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#43410
If the NSF format supported DMC IRQs then it would be possible to chain any number of DPCM samples automatically, but it isn't so I haven't added it to the tracker. It would be possible in iNES exports though.

_______________________
Programmer and developer
Page 1 of 1 Sort: