vgmrips

The forum about vgm files
It is currently 2017-10-24, 4:15:34

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: 2016-07-25, 21:10:23 
Offline

Joined: 2016-06-05, 17:13:29
Posts: 23
Hi So here I am trying to extract samples from my NAMCO System 12 ROM's - specifically the 'Wave' labelled ROM file but it seems when using Audacity and importing the RAW DATA it always ends up heavily distorted ?

I have successfully ripped from other MAME ROMS with no issues, and Its definitely the correct file as you can hear the actual samples however as I stated they clip like crazy and it seems it's 'within' the actual file.

I was hoping someone could chime in and offer a complete noob some help, I've tried almost every import setting i can think of but no luck yet

Basically I'm trying to extract the orchestral sample library that's used in the Game.

Thanks in advance !


Top
 Profile  
 
 Post subject:
PostPosted: 2016-07-25, 21:12:39 
Offline

Joined: 2016-06-05, 17:13:29
Posts: 23
Settings are - unsigned 8 bit > little endian > 44100


Top
 Profile  
 
 Post subject:
PostPosted: 2016-07-25, 21:14:47 

Contributors Contributors
Staff Staff
Offline
User avatar

Joined: 2013-07-17, 23:32:39
Posts: 215
The sound format is a custom mulaw algorithm only used by the C352 chip. The VGMPlay source code has a function which generates the conversion tables used to convert mulaw data to PCM. Here is a quick and dirty program that converts the mulaw-encoded ROMs to 16-bit PCM (command line only).


Top
 Profile  
 
 Post subject:
PostPosted: 2016-07-25, 21:41:04 
Offline

Joined: 2016-06-05, 17:13:29
Posts: 23
ctr wrote:
The sound format is a custom mulawalgorithm only used by the C352 chip. The VGMPlay source code has a function which generates the conversion tables used to convert mulaw data to PCM. Here is a quick and dirty program that converts the mulaw-encoded ROMs to 16-bit PCM (command line only).



Thanks so much that makes sense - Now if i could only get that DOS app to run on WIN 8.1 ! arggh


Top
 Profile  
 
 Post subject:
PostPosted: 2016-07-25, 21:56:22 

Contributors Contributors
Offline
User avatar

Joined: 2015-08-30, 14:24:00
Posts: 71
Location: Scotland
The program is not a DOS program. Use Command Prompt to run the program.

_________________
I'm HarmoDevil. Formerly Dr Devil, but I still use the drdevil username here.

Check out my Soundcloud.

I might get back to VGM ripping someday.


Top
 Profile  
 
 Post subject:
PostPosted: 2016-07-25, 22:06:36 
Offline

Joined: 2016-06-05, 17:13:29
Posts: 23
drdevil wrote:
The program is not a DOS program. Use Command Prompt to run the program.


Ok, so using Command prompt I get ...
Mulaw.exe
usage & File & destination file ?


Scratching my head please help


Top
 Profile  
 
 Post subject:
PostPosted: 2016-07-25, 22:11:20 

Contributors Contributors
Staff Staff
Offline
User avatar

Joined: 2013-07-17, 23:32:39
Posts: 215
easy way: make sure the program and your sample roms (you can also use an uncompressed VGM file) is in the same directory, then shift-right click the explorer window and select "Open command window here". In there you run the program by entering the command:
Code:
mulaw <name of sample rom> <name of output file>


Top
 Profile  
 
 Post subject:
PostPosted: 2016-07-25, 22:21:07 
Offline

Joined: 2016-06-05, 17:13:29
Posts: 23
ctr wrote:
easy way: make sure the program and your sample roms (you can also use an uncompressed VGM file) is in the same directory, then shift-right click the explorer window and select "Open command window here". In there you run the program by entering the command:
Code:
mulaw <name of sample rom> <name of output file>


Hi ctr , listen thnaks for your help ...

However bearing in mind I'm an obvious newbie (Beyond newbie in fact!) I assume it should look exactly like this...

mulaw <soc1wav0.2> <soc1wacpcm>

Names are not important for the files just now but I am including the < > ?

because it stated 'could not open soc1wav0.2' which is the rom file that has the samples


Top
 Profile  
 
 Post subject:
PostPosted: 2016-07-25, 23:08:31 
Offline

Joined: 2016-06-05, 17:13:29
Posts: 23
Ok so I managed to get mulaw.exe to output but the file is only 1kb ? I thought it would convert to a PCM Wav file ?


Top
 Profile  
 
 Post subject:
PostPosted: 2016-07-26, 23:25:16 
Offline

Joined: 2016-06-05, 17:13:29
Posts: 23
All sorted now thanks to ctr !

I was wondering about the 'Verb' ROMS in the Namco Rom packs - Would this be Reverb settings ? or the Reverb itself I wonder,

I wonder if it would be possible to create an Impulse response file in wav from the Verb ROMS' ?


Top
 Profile  
 
 Post subject:
PostPosted: 2016-07-27, 0:30:56 

Contributors Contributors
Staff Staff
Offline
User avatar

Joined: 2013-07-17, 23:32:39
Posts: 215
The other sound roms contain the sound CPU program code and data (music sequences, etc).


Top
 Profile  
 
 Post subject:
PostPosted: 2016-07-28, 20:45:28 
Offline

Joined: 2016-06-05, 17:13:29
Posts: 23
Hi , again much respect & thanks to ctr and Valley bell for their help on this.

A wee query now about CPS2 roms, I sometimes notice when I am writing a track using , for example Street-fighter Alpha 3 Samples (Drums/Guitar /Bass etc) They lack some top end from 10Khz and above , whereas when i listen to the VGM in Winamp using in_vgm the overall sound is much brighter (In a good way) and all that nice top end (treble/presence) is back.
Is there any reason for this or am I doing something terribly wrong ? or perhaps it's the nature of simply extracting samples directly from the ROMS?


Top
 Profile  
 
 Post subject:
PostPosted: 2017-07-31, 2:44:44 
Offline

Joined: 2017-07-31, 2:36:01
Posts: 1
Hi all,
Sorry to bump the thread, this is my first post here and not sure if that's encouraged or not. However I was looking for the utility mentioned here to extract c352 samples. The link is down. Can it be reuploaded? Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: 2017-08-21, 22:53:33 

Contributors Contributors
Staff Staff
Offline
User avatar

Joined: 2013-07-17, 23:32:39
Posts: 215
Sorry for the delay, it is now reuploaded here, with source code.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group