echolevel / AmigaPal

Sample prep/converter tool for Protracker
67 stars 3 forks source link

'Destination Protracker Note' feature #2

Open echolevel opened 7 years ago

echolevel commented 7 years ago

As suggested by Hoffman/Unstable Label (who has also written a nice SoX-based conversion tool for Windows), a nice option would be to mix to a destination Protracker note based on a lookup table of Amiga-specific note frequencies. The Amiga isn't quite at 440hz=A tuning so it'd need some work to produce samples that could work alongside chipsamples.

alk of Titan pointed me towards his MOD frequency calculator, which will come in handy: http://alk.untergrund.net/modtool.html.

This feature will take a bit of getting my head around before I'm sure it's reliably doing what it's supposed to; it might be worth waiting until I can refactor the whole playback system to use Web Audio API. Currently it's only used for the waveform display; normal HTML5 media elements are used for the audio players. The WAI doesn't seem to offer current playback times of wavs without a lot of hassle, and I'm not sure how well it can handle large samples...so research needs to be done. If I could get WAI to do all the playback, then I'm sure it'd be possible to also preview the pitch and maybe even the un-dithered bit reduction before converting. It might not work for input formats other than WAV, however.