06 August 2010, 21:42 | #1 |
Registered User
Join Date: Jun 2010
Location: Sao Paulo, Brazil
Posts: 14
|
Exporting raw audio on a PC for Amiga
Hi all,
I want to put on some samples on my a600 and use them with OctaMED, but I'm having some issues. These samples are in wav or aiff, and I'm using Audacity on the PC for exporting them in raw data. I tried to export 8-bit and 16-bit raw, both signed and unsigned. None of them worked. When I import the samples on OctaMED (or Protracker), the sounds are awfully distorted and with their pitch all messed up. Also tried Soundforge to export the raw files, but doesn't work as well. I really don't know if this is the right way. Anyway, some tips on how to do it properly on the PC? Or is this a proper tracker setting on the Amiga? Thanks for your time. |
07 August 2010, 19:11 | #2 |
Registered User
Join Date: May 2010
Location: Ulm / GER
Posts: 82
|
Hi, i have the same problem. Apparently Audacity can export Amiga IFF Samples in 8bit but my results were the same as yours. Of course some quality loss is inavoidable. I also tried to convert the samples on the Amiga side, using various Aminet tools. But somehow the most effective way until now seemed to be resampling. If someone has some hints, i would be thankfull too!
By the way, Octamed SS can playback 16bit wave samples, if i remember correctly. |
07 August 2010, 19:35 | #3 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
|
Use Sox for the peecee. It's a command line program, which isn't too handy, but it should do what you want, and it can down sample quite well (which is why I use it). Get it here: Sox. Just one thing, the documentation is a little annoying
|
07 August 2010, 20:21 | #4 | |
Registered User
Join Date: Jun 2010
Location: Sao Paulo, Brazil
Posts: 14
|
Quote:
|
|
07 August 2010, 21:09 | #5 |
Registered User
Join Date: May 2010
Location: Ulm / GER
Posts: 82
|
Thank you as well! I will give it a try soon.
|
09 August 2010, 19:22 | #6 |
Registered User
Join Date: Aug 2010
Location: Brighton
Age: 34
Posts: 12
|
/wave pulselooper
i can sell you a sampler for £8, bargain! problems solved?? |
20 August 2010, 19:35 | #7 |
Registered User
Join Date: Aug 2010
Location: Staffordshire, England
Posts: 16
|
Damn, Just paid £15.0 for one :-) Still Sox sounds useful also.
|
19 September 2010, 20:59 | #8 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
Note that samplers usually introduce a bias (shift of the zero-point crossing), and depending on how well you have grounded both computers, hum. Normal cables act as antennas, picking up interference from electronic equipment to varying degree. Make sure you connect sound only to line-out/line-in jacks, not amplified outputs or mic inputs, or you will get distortion. USB sound cards for musicians are usually the best (least likely to pick up electronic interference on recording/playback) for the PC, and AMAS is a good sampler for Amiga (bit cumbersome software though, but it samples stereo if you need it.) Combine stereo to mono by software/settings in the PC before sampling, ie. don't plug a stereo 3.5mm plug in a sampler's mono 3.5mm hole.
GoldWave can load/save Amiga IFF and reads raw, just input frequency, 8-bit signed PCM mono and it loads correctly. Raw can be had by saving as IFF and re-save the sample in Protracker or Audiomaster, or by saving as raw and specifying PCM 8-bit signed mono. When converting from 16-bit to 8-bit, you *will* get noise and distortion on low volumes (such as faded out ends of instruments), simply due to aliasing. Going from 11kHz to 28.8kHz improves this, but only slightly. I've planned and am about to code an improved converter, but I'll give sox a go - if it's better than GoldWave/Soundforge/Wavelab, I might save myself some time Last edited by Photon; 19 September 2010 at 22:09. |
19 September 2010, 22:10 | #9 |
Gets there in the end...
Join Date: Sep 2005
Location: Wales
Posts: 862
|
I'm sure I got samples onto my Miggy from PC by using Modplug tracker or similar on the PC and saving as .mod - might work!
|
19 September 2010, 22:30 | #10 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
Sox output sounds identical to the output from GoldWave (which also has batch processing), BUT: Goldwave has a strange distortion of the fadeout end. So it was a nice find, sox is better - but disregarding the endfade flaw in Goldwave, the sounds were identical.
Here's the commandline I used: Code:
sox pcfile.wav -b 8 -e signed-integer -t raw amigafile.raw channels 1 rate -v 28800 Tried several dither options, they did not effect the sound *at all* audibly (I have good equipment). Tried some treble cutoff filter settings that could improve things, but concluded that the above was as good as it would get. |
19 September 2010, 23:05 | #11 |
Posts: n/a
|
I'll describe how do I do it. You can use SoundForge if you want. First, mix sample to mono and normalize. Or better, use compressor/limiter to use most of all 8 bits. Otherwise your sample can be extremely noisy. Resample to 22 050 Hz and save sample asi 22kHz, mono, 8bit standard wav. You can open it with protracker 3.61.
|
22 September 2010, 20:35 | #12 | |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
|
Quote:
That might be quite okay, if done right - ie. if the musician had already compressed it and knows what he's doing/what he wants. Also, it doesn't so much remove aliasing noise as drown it out. And it won't fix a fadeout. An mp3 converts fine to mono 8-bit with only a slight background noise which stay at the same level all the way until the end of the song. When the song fades out the same noise level is suddenly quite noticable. Normalizing is important, though! sox supports normalizing but is bitchy about it, it may throw up at the gain level for any random sample and not convert it. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Best Audio Config in Winuae for a Creative X-Fi Audio Card | shaf | support.WinUAE | 2 | 14 June 2012 16:27 |
Raw images | VoltureX | Coders. General | 24 | 16 November 2011 22:43 |
RAW scanning | MrX_Cuci | HOL contributions | 1 | 21 June 2011 23:46 |
.raw ->.ipf | orange | support.Apps | 2 | 12 September 2009 22:48 |
Exporting LSD docs disks to Word? | Gabe | New to Emulation or Amiga scene | 52 | 06 May 2008 01:50 |
|
|