English Amiga Board


Go Back   English Amiga Board > Requests > request.Music

 
 
Thread Tools
Old 14 June 2011, 23:02   #1
Lonewolf10
AMOS Extensions Developer
Lonewolf10's Avatar
 
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 39
Posts: 1,920
.WAV to RAW convertor?

Hi,

I have some .WAV audio files I need to convert to RAW format so I can use them in my demo. I have tried "wav2raw" from Aminet, but that doesn't work - or atleast not with the .WAV's I have

Does anyone know of some software I can use to do the converting? Ideally I don't wish to end up with another sideproject (I just finished ripping the Conrad Hart sprites from Flashback as I needed the animations frames to use as a base for my own creation...) and write the conversion software myself.

To the mods, I hope this is the correct forum - it was either this one or the "Request.other" that I was toying with using and decided on this one.


Regards,
Lonewolf10
Lonewolf10 is offline  
Old 14 June 2011, 23:16   #2
s2325
Zone Friend

s2325's Avatar
 
Join Date: Jun 2006
Location: Gargore
Age: 39
Posts: 17,789
Fast Tracker II have support for RAW files http://www.sonicspot.com/fasttracker/fasttracker.html so maybe you can also save in this format. It will work with DOS Box.
s2325 is offline  
Old 15 June 2011, 19:23   #3
Lonewolf10
AMOS Extensions Developer
Lonewolf10's Avatar
 
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 39
Posts: 1,920
Quote:
Originally Posted by s2325 View Post
Fast Tracker II have support for RAW files http://www.sonicspot.com/fasttracker/fasttracker.html so maybe you can also save in this format. It will work with DOS Box.
A cool piece of kit (just wasted 30 minutes playing Nibbles), but with one crucial option missing - you can't load existing samples, not to mention it seems to freeze randomly

Not sure it matters, but I tried Version 2.08.


Regards,
Lonewolf10
Lonewolf10 is offline  
Old 15 June 2011, 19:28   #4
s2325
Zone Friend

s2325's Avatar
 
Join Date: Jun 2006
Location: Gargore
Age: 39
Posts: 17,789
Freeze? Do you configured sound with 'Config' button? What you see when you try to load .wav file?
s2325 is offline  
Old 15 June 2011, 21:09   #5
Skope
Protracker
Skope's Avatar
 
Join Date: Sep 2008
Location: 8364
Posts: 381
Can't go wrong with SoX. Check http://sox.sourceforge.net/
Skope is offline  
Old 15 June 2011, 21:11   #6
Lonewolf10
AMOS Extensions Developer
Lonewolf10's Avatar
 
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 39
Posts: 1,920
Quote:
Originally Posted by s2325 View Post
Freeze? Do you configured sound with 'Config' button? What you see when you try to load .wav file?

I was thrown by the absence of a load button. After configuring the default directories and placing the .wav file in it I was able to load it.

However, I was unable to save it as anything useful to me - only .XT, .XM and .XP formats exclusive to Fast Tracker. I could save as a .MOD but a whole load of errors popped up (too many tracks or something along those lines) before it saved.

I also tried saving under the Samples (.SMP format) and Instrument options, but all they did was add the appropriate extension to the filename and didn't save anything at all


Regards,
Lonewolf10
Lonewolf10 is offline  
Old 15 June 2011, 21:16   #7
s2325
Zone Friend

s2325's Avatar
 
Join Date: Jun 2006
Location: Gargore
Age: 39
Posts: 17,789
I think in Fast Tracker II only 4 tracks can be possible when you save music as MOD file. It's very easy to add and remove tracks.
s2325 is offline  
Old 15 June 2011, 21:18   #8
Skope
Protracker
Skope's Avatar
 
Join Date: Sep 2008
Location: 8364
Posts: 381
Quote:
Originally Posted by s2325 View Post
I think in Fast Tracker II only 4 tracks can be possible when you save music as MOD file. It's very easy to add and remove tracks.
MOD also has a sample size limit of 64kb. I would deeply recommend SoX for any sound format converting.
Skope is offline  
Old 15 June 2011, 21:20   #9
s2325
Zone Friend

s2325's Avatar
 
Join Date: Jun 2006
Location: Gargore
Age: 39
Posts: 17,789
Yes, and some sound effects added on pattern will not work when you save as MOD file.
s2325 is offline  
Old 15 June 2011, 21:22   #10
Skope
Protracker
Skope's Avatar
 
Join Date: Sep 2008
Location: 8364
Posts: 381
Well speaking of trackers I know Milkytracker is decent at converting to raw and saving mod files.
Skope is offline  
Old 15 June 2011, 21:22   #11
Lonewolf10
AMOS Extensions Developer
Lonewolf10's Avatar
 
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 39
Posts: 1,920
I just found out that it has corrupted the sample I was trying to convert. Now I have to hunt it down on the internet again

Added on 15th June @ 20:30:

It seems it wasn't corrupted after all. VLC player doesn't seem to recognise some .WAV files for some reason.


Edit 2:

Thanks for trying to help guys, but after some googling I ended up finding Switch (by NCH software) - you can find the Windows 2K version here (it's the version I used, but they do have modern versions for you XP/Vista/Windows 7 freaks!).

NB: To successfully convert .WAV's to .RAW you must set the encoder options to 8 bit signed and an appropriate frequency (e.g. 11025 or 16000). I also had it set to mono as I am using a mono .WAV sample


Regards,
Lonewolf10

Last edited by Lonewolf10; 15 June 2011 at 22:29. Reason: Solved my problem, finally!
Lonewolf10 is offline  
Old 16 June 2011, 08:13   #12
Minuous
Coder/webmaster/gamer
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 1,967
SoundBox can convert WAV to RAW, it's on Aminet.

Or you could always just strip off the header bytes with a hex editor.
Minuous is offline  
Old 16 June 2011, 10:55   #13
Frog
Junior Member

Frog's Avatar
 
Join Date: Aug 2001
Location: France
Posts: 1,295
Play16 could also convert WAV to RAW, also on aminet
Frog is offline  
Old 16 June 2011, 19:10   #14
Lonewolf10
AMOS Extensions Developer
Lonewolf10's Avatar
 
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 39
Posts: 1,920
Quote:
Originally Posted by Minuous View Post
Or you could always just strip off the header bytes with a hex editor.
That would only work with 8-bit signed samples.

The samples I have are 16-bit and windows compatible, which would also mean flipping the byte order from little-endian to big-endian.


Regards,
Lonewolf10
Lonewolf10 is offline  
Old 16 June 2011, 19:15   #15
Rebel-CD32
Amiga will never die!
Rebel-CD32's Avatar
 
Join Date: Nov 2004
Location: Gold Coast, Australia
Age: 38
Posts: 529
Send a message via MSN to Rebel-CD32
Definitely agree with Minuous, SoundBox is a great tool for converting samples, I have been using it for years to convert wavs and stuff to 8svx to use in games and Scala presentations.

http://aminet.net/package/mus/misc/SoundBox
http://aminet.net/package/mus/misc/SoundBoxKey
Rebel-CD32 is offline  
Old 29 September 2012, 21:37   #16
Photon
Moderator

Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 4,696
Quote:
Originally Posted by Skope View Post
Well speaking of trackers I know Milkytracker is decent at converting to raw and saving mod files.
For previewing it's fine but you really need to 'nurture' the samples to get them palatable on Amiga (and also Amiga trackers need hi frq support to not make every sample sound muffled but that's another matter). I think MT friends will agree it's hard to get something decent out except bass and bassdrum.

Everything else you say is spot on.

Or as someone said, use any wave editor for PC, export as 8 bit mono 22.05kHz or your instrument frq and strip the header. You can even see the header in the tracker and just 'remove the gunk at the start that sounds bad'
Photon is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amiga RGB to YPrPb convertor narmi Hardware pics 75 07 March 2014 01:57
composite TV to VGA convertor gizmomelb MarketPlace 0 25 January 2006 02:59
Write to wav option gone? Jerry support.WinUAE 2 24 September 2005 12:12
Kefrons Convertor V1.35 (K2+) redblade request.Apps 5 23 October 2004 01:08
Joystick convertor idea! ElectroBlaster support.Hardware 11 22 July 2003 13:38

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:54.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.09629 seconds with 13 queries