Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Rom Hacking: hukka | 2 guests
Acmlm's Board - I2 Archive - Rom Hacking - PCM Sounds in NES Games | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
drjayphd

Beamos
What's that spell?




pimp!
Level: 56

Posts: 61/1477
EXP: 1387410
For next: 10766

Since: 03-15-04
From: CT

Since last post: 2 hours
Last activity: 2 hours
Posted on 03-24-04 06:18 AM Link | Quote
Ever play an NES game with samples and think "holy crap, that doesn't even SOUND like what it should be"? No? Go download NES Play Action Football, get a first down, and then you will. Anyway, I'm wondering if anyone has any ideas about how I could replace samples in NES games... I'm referring to the PCM channel in particular. I'm sure there's no one way to do it in every game, but if anyone has any ideas as to registers and such... Going off of the name, it sounds like I could possibly use a WAV file to replace the sample, because that's also PCM audio too, no?
Gavin

Fuzzy
Rhinoceruses don't play games. They fucking charge your ass.
Level: 43

Posts: 6/799
EXP: 551711
For next: 13335

Since: 03-15-04
From: IL, USA

Since last post: 13 hours
Last activity: 13 hours
Posted on 03-24-04 06:46 AM Link | Quote
well, Damian Yerrick has got some really cool stuff. He's got source to all his projects, but your going to have a hella hard time deciphering it i'm guessing It's in his newest game that he reads a sound effect from a .wav file: Tetramnio, a tetris-like game. linkage: http://www.pineight.com/nes/

i'm fairly certain VN has experimented with it as well, or at least maybe he had an example of someone else experimenting with it..

but in short, yes it most certainly is possible. i'd say it's not a beginners programming project by any means..

but for your futher research:

http://gavin.panicus.org/downloads/dmc.txt

i really wish i could help you more.. in fact, i know i at one point had a copy of a PCM test that VN made a long while ago, i have the .ASM file and the .NES file still, but i'm missin the main component..the .raw file that has the sound to compile . besides, i never asked him if i could hand it out..

you're best bet is to ask him. sorry




(edited by Gavin on 03-23-04 09:58 PM)
(edited by Gavin on 03-23-04 09:59 PM)
BMF98567
BLACK HAS BUILT A SILLY DICE-MAZE!
GO!

Current list of BURNING FURY >8( recipients:
- Yiffy Kitten (x2)
- Xkeeper
Level: 53

Posts: 56/1261
EXP: 1094149
For next: 62970

Since: 03-15-04
From: Blobaria
Special Move: Rising Meatloaf Backhand Combo

Since last post: 21 hours
Last activity: 1 hour
Posted on 03-24-04 07:11 AM Link | Quote
It really depends on what kind of samples the game uses. Most are 1-bit delta modulation, which AFAIK is a pain in the you-know-where to replace, because it's obviously not a standard sound format; I have seen tools that encode/decode the data, though. Other games (though this is rather uncommon) stream raw waveform data straight into the chip; you can usually open these games in a sound editor and listen to the samples (The Three Stooges and the Teenage Mutant Ninja Turtles demo ROM, for example). In these games, you could probably just cut and paste a sound clip directly into the file.
Geiger

Buster Beetle
Level: 34

Posts: 32/460
EXP: 241080
For next: 12571

Since: 03-15-04
From: Indianapolis, IN, USA

Since last post: 6 hours
Last activity: 6 hours
Posted on 03-24-04 10:51 AM Link | Quote
While its probably completely possible to replace the PCM sounds, its unlikely that you'll get better sound quality. Remember that the entire ROM for some NES games is only about 16k. Far too little room for good sound bytes.

---Evil Peer
Vystrix Nexoth

Level: 30

Posts: 81/348
EXP: 158678
For next: 7191

Since: 03-15-04
From: somewhere between anima and animus

Since last post: 3 days
Last activity: 2 days
Posted on 03-24-04 11:14 AM Link | Quote
ROM
Source

(the source is not compilable because the raw sound data file has not been uploaded).

this is, like, two seconds of 8000Hz, 7-bit, Mono PCM audio. I think the pAPU can handle up to a little under 16000Hz; I didn't try it, though.


(edited by Vystrix Nexoth on 03-24-04 02:14 AM)
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Rom Hacking - PCM Sounds in NES Games | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.018 seconds.