English Amiga Board


Go Back   English Amiga Board > Requests > request.Music

 
 
Thread Tools
Old 07 November 2015, 19:27   #1
dissident
Registered User
 
Join Date: Sep 2015
Location: Germany
Posts: 256
WAV-16-bit-files converted to RAW-8-bit-files

I'm planning to compose some protracker-MODs with the Roland TR808 samples.

I have found the right WAV-samples in 16 bit format and converted them with wav2ami into RAW-8-Bit files to use them with the protracker. I know that the quality decreases converting 16 bit to 8 bit.

But the result in most cases is horrible. Much noise superimpose the samples data and the amplitude is very low so the samples are not very loud. The highhat/handclap/ claves samples on the ST-01: are much better than the converted ones from the WAV-files.

Reworking the samples (cutting the length etc.) with the protracker didn't help very much.

Does anyone know a better way or a tool for converting without decreasing the quality so much?
dissident is offline  
Old 07 November 2015, 20:18   #2
Thorham
Computer Nerd
 
Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,751
Quote:
Originally Posted by dissident View Post
the amplitude is very low so the samples are not very loud.
That's part of the problem. The 16 bit samples have to be as loud as possible without clipping before you convert them to 8 bit. For use in Protracker they also have to be down sampled using a good down sampling algorithm. Also, DO NOT USE DITHERING! The sample rates will be way to low for dithering to be useful.

There may be a bit more to it than that. Some of our local audio experts will probably explain this better than I can
Thorham is online now  
Old 09 November 2015, 22:17   #3
dissident
Registered User
 
Join Date: Sep 2015
Location: Germany
Posts: 256
Quote:
Originally Posted by Thorham View Post
That's part of the problem. The 16 bit samples have to be as loud as possible without clipping before you convert them to 8 bit.
Thanks for the hints. Working with Audacity I changed the volume to the maximum before the converting.

Quote:
For use in Protracker they also have to be down sampled using a good down sampling algorithm.
It seems that wav2ami already samples down and only works with 16 bit. Reducing the sample rate to 8 kHz and the depth to 8 bit in Audacity before saving didn't work. Strange effects with messed up data were the result of the wav2ami converting.
dissident is offline  
Old 09 November 2015, 22:48   #4
adrdesign
Registered User
 
adrdesign's Avatar
 
Join Date: Nov 2013
Location: Spain
Age: 45
Posts: 314
You can use the script in there (check the entire post)
http://eab.abime.net/showpost.php?p=940131&postcount=3

it will apply some compression to enhance the lost of resolution. You can modify the script to match your requirements
adrdesign is offline  
Old 17 November 2015, 18:12   #5
dissident
Registered User
 
Join Date: Sep 2015
Location: Germany
Posts: 256
Quote:
Originally Posted by adrdesign View Post
You can use the script in there (check the entire post)
http://eab.abime.net/showpost.php?p=940131&postcount=3

it will apply some compression to enhance the lost of resolution. You can modify the script to match your requirements
Great, that helped me a lot. Now the converting of the 16-bit samples has a much better result of 8-bit samples. Many thanks adrdeign
dissident is offline  
Old 22 March 2016, 04:10   #6
Knocker
Registered User
 
Join Date: Jan 2016
Location: Santa Cruz/US
Posts: 48
I came across this thread, and also noticed that wav2ami automatically down samples, as opposed to e.g. sox. I need to down sample, otherwise the pitch is too low for use in Protracker. Can someone explain why that is, why I need to down sample?
Knocker is offline  
Old 02 April 2016, 21:57   #7
DanScott
Lemon. / Core Design
 
DanScott's Avatar
 
Join Date: Mar 2016
Location: Tier 5
Posts: 1,209
because original samples are probably at 44.1khz... and Amiga will play at some much lower rate
DanScott is online now  
Old 04 April 2016, 16:12   #8
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,741
Side to this adrdesign script is incorrect as Amiga (Paula) have no 22050Hz sample rate.
Closest to 22050Hz is AUDxPER=161 and frequency 22030Hz (real 22030.4Hz).

It is easier to perform conversion on PC, bellow verified sox syntax:

(stereo is converted to mono, sample rate conversion to 22030Hz, automatic gain to maximize level without clipping)

Code:
@sox --multi-threaded --buffer 65536 -S -V -D %1 -e signed-integer -b 8 -c 1 %~n1.s8 remix - rate -v -s -L 22030 gain -n -0.07 stats -b 8 stat
pandy71 is offline  
Old 04 April 2016, 17:01   #9
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
If you play a 22050Hz sample in protracker 22168Hz or 22030Hz I don`t see/hear any problem. You get problems when your sample is a drumloop (at least 4 beats). Then it can go out of sync. I also noticed that BPM might be different from device to device. For example when I record a drumloop at 125 BPM from MC-303 and play it in Protracker at 125 BPM it needs finetuning to fit the sync.

However, for single instruments and most non drumloop samples a simple 44,1kHz to 22050Hz conversion is good enough IMO. Drift errors can be fixed by finetuning.
daxb is offline  
Old 05 April 2016, 18:59   #10
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,741
Quote:
Originally Posted by daxb View Post
If you play a 22050Hz sample in protracker 22168Hz or 22030Hz I don`t see/hear any problem. You get problems when your sample is a drumloop (at least 4 beats). Then it can go out of sync. I also noticed that BPM might be different from device to device. For example when I record a drumloop at 125 BPM from MC-303 and play it in Protracker at 125 BPM it needs finetuning to fit the sync.

However, for single instruments and most non drumloop samples a simple 44,1kHz to 22050Hz conversion is good enough IMO. Drift errors can be fixed by finetuning.
I'm not a musician but even at this forum there are discussions about musical notation, frequencies etc where 20Hz detune seem to be big issue.
Playing 22050Hz transposed down by almost 20Hz seem to me like not the best idea especially in case where people complain that Amiga sample rate are not in line with common musical notation, and yes - i agree probably 20Hz detune will be not particularly noticeable by most of people but if things can be done correctly then why bother especially that proper sample rate conversion take on PC anyway less time than on Amiga (from my perspective modern PC with lot of RAM, CPU power, and storage space is better tool to convert from 16 bit to 8 bit than Amiga - also amount of data required to transfer is lower).
pandy71 is offline  
Old 05 April 2016, 20:44   #11
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,644
If 22050 isn't correct, let's not use it! 20Hz could be a problem and finetuning within Protracker isn't the best option.

Then again it isn't all that simple. Supposedly, if you are converting samples in different keys, you need to use different sample rates.

The "one for all" method only works if you are going to use Protracker just for sample sequencing, meaning you aren't going to "compose" there or you convert every asset on the same key to the same sample rate. The moment you introduce a sample from another source, you're gonna hear the problems.
Amiga1992 is offline  
Old 06 April 2016, 11:40   #12
pandy71
Registered User
 
Join Date: Jun 2010
Location: PL?
Posts: 2,741
Quote:
Originally Posted by Akira View Post
If 22050 isn't correct, let's not use it! 20Hz could be a problem and finetuning within Protracker isn't the best option.

Then again it isn't all that simple. Supposedly, if you are converting samples in different keys, you need to use different sample rates.

The "one for all" method only works if you are going to use Protracker just for sample sequencing, meaning you aren't going to "compose" there or you convert every asset on the same key to the same sample rate. The moment you introduce a sample from another source, you're gonna hear the problems.
Well, my point was only related to 22050Hz vs 22030.4Hz on Amiga.
All above are valid and i believe this is well known limitation for wavetable samplers.
pandy71 is offline  
Old 11 March 2019, 09:33   #13
dissident
Registered User
 
Join Date: Sep 2015
Location: Germany
Posts: 256
Roland Juno 60 preset samples

Like I did for the Roland TR-808, I want to convert 16 bit/WAV samples of these Roland Juno 60 presets:

Quote:
11 Strings 1
12 Strings 2
13 Strings 3
14 Organ 1
15 Organ 2
16 Organ 3
17 Brass
18 Phase Brass
21 Piano 1
22 Piano 2
23 Celesta
24 Mellow Piano
25 Harpsichord 1
26 Harpsichord 2
27 Guitar
28 Synthesizer
31 Bass 1
32 Bass 2 !
33 Clavichord 1
34 Clavichord 2
35 Pizzicato Sound 1
36 Pizzicato Sound 2
37 Xylophone
38 Glockenspiel
41 Violine
42 Trumpet
43 Horn
44 Tuba
45 Flute
46 Clarinet
47 Oboe
48 English Horn
51 Funny Cat
52 Wah Brass
53 Phase Combination
54 Reed 1
55 Popcorn
56 Reed 2
57 Reed 3
58 PMW Chorus
61 Synthesizer Organ
62 Effect Sound 1
63 Effect Sound 2
64 Space Harp
65 Funk
66 Space Sound 1
67 Mysterious Invention
68 Space Sound 2
71 Percussive Sound 1
72 Percussive Sound 2
73 Whistle
74 Effect Sound 3
75 UFO
76 Space Sound 2
77 Surf
78 Synthesizer Drum
which I want to use in the Protracker and not in a VST/Plugin.

The problem is, that it was impossible for me to find all Juno 60 presets as samples, only a few of them. Does anyone know where to find the complete presets samples?
dissident is offline  
Old 12 March 2019, 11:17   #14
savior
Registered User
 
savior's Avatar
 
Join Date: Jan 2019
Location: Italy
Age: 44
Posts: 70
hi

samplemanager convert maybe well, try it on aminet need guigfx and render library

savior is offline  
Old 12 March 2019, 22:13   #15
dissident
Registered User
 
Join Date: Sep 2015
Location: Germany
Posts: 256
Quote:
Originally Posted by savior View Post
hi

samplemanager convert maybe well, try it on aminet need guigfx and render library

Hi savior, thanks for the hint, but that's not the point. A have already the right software to convert WAV-samples on the amiga.

What I need are the sample-files recorded from the Roland Juno 60 presets, mentioned in my last post, played once with a certain note like C-3 !

Again, does anyone of you know where to get the recorded WAV-samples of the Juno 60 presets for a special note? They don't have to be for free, I would also pay for it.
dissident is offline  
Old 17 July 2019, 15:09   #16
ElectroBlaster
Junior Member
 
ElectroBlaster's Avatar
 
Join Date: Mar 2002
Location: Exeter, Devon, UK
Age: 49
Posts: 1,705
Send a message via ICQ to ElectroBlaster
I found a way but it depends if you would like it!

I discovered Protracker for the PC. found it actually works quite well and allows protracker modules to load, play and edit. It not brilliant but its a pretty dam good stab at it.

The point here is, it can load 16bit wavs in, they work. But more importantly! you can save the sample back out as 8bit mono 22khz that is 100% what the Amiga wants

The quality is very good as well.
ElectroBlaster 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
Dumping Mods To Wav Files CodyJarrett support.Apps 13 23 September 2020 17:57
Extracting Wav Files yugioh Retrogaming General Discussion 3 17 December 2008 09:11
Bad DMS files on 17-bit CD-ROMs mark_k request.Other 3 14 September 2008 18:17
Commodore 64 Wav Files to be Converted back to Audio Tape File Paradroid90 support.Other 10 17 June 2008 03:47
Need 2 .hip module files converted to mod or 44,100kHz, 16 bit, Stereo. Ironclaw Retrogaming General Discussion 18 13 June 2007 23:16

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 13:16.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09213 seconds with 15 queries