Audible tick when playing samples with ptplayer
Hi all,
I have a few small .wav samples that I have saved to "IFF (Amiga/SVX8/SV16), signed 8-bit PCM" using Audacity. When I play these samples using ptplayer, I hear one audible "tick" noise at the beginning of them, regardless of whether a MOD is also playing or not. The IFFs don't have this noise when played back in Audacity. When this happens in a circuit is it because of a sudden DC level change in the audio signal. Is something similar happening here? How to fix this? |
Did you trying setting the first 2 sample bytes (raw, not iff) to 0? The player should do that automatically to prevent it, but...
You could also try loading a sample into Protracker and saving it back to take care of that. |
Yes, this is a FAQ, and a/b's hint is correct.
Please read the FAQ section in ptplayer.readme. (There is also an option without clearing the first two bytes). |
Yes, I am already using the "NULL_IS_CLEARED" option. Moreover, in my experience, not getting this right will cause a high-pitch noise at the end of the sample (as the FAQ says), not a "click" at the beginning.
I'll run the samples through Protracker anyway, just in case Audacity is doing something unexpected. Edit: I have confirmed that locations $0 and $1 stay 0. Also, passing the samples through ProTracker didn't help, regardless of the value of "NULL_IS_CLEARED". The click at the beginning is still there. What else could be wrong? |
Perhaps the samples aren't properly normalized, i.e. not centered around value 0.
|
Quote:
Can you share such a sample for testing? |
1 Attachment(s)
They seem to be properly centred around 0 as well.
I have attached one of the samples, saved using Audacity and then ProTracker 2 clone 1.57. Thanks for taking a look. |
Does ptplayer support playing back 8SVX directly (I'm not familiar with it) ?
If not, the IFF metadata in the file will cause some audible artifacts if played back. |
Players in general expect raw data. But that shouldn't be a problem, e.g. you load an IFF sample in protracker while composing a module, it gets converted and saved as raw within a module itself.
However, if you are using *external* samples, so you load an IFF sample yourself as a raw binary file and feed that to a player, that won't work (as hoover pointed out, the IFF header will be interpreted as raw sample data). Was this the case from the beginning? |
Easy, dont use IFF files as samples for Protracker, save them as raw data. This is common bug. some Amiga soundformats handles IFF samples, but not Protracker.
|
This was it! Raw data it is. Thanks everyone for your help!
|
Quote:
It does. You can store loop points data there. There is RAW/IFF/PAK switch in PT2.3. |
Quote:
|
Quote:
|
Protracker can load IFF samples, and will convert them to RAW inside the mod.
Thus, if the IFF file format isn't identified as such, you end up with IFF headers in samples. |
Quote:
|
SoX seem to be OK with 8svx files - i use script like this to convert audio files into 8svx. Feel free to modify - it has some additional audio processing to deal with some Amiga limitations.
Code:
@setlocal Just checked that this particular SoX doesn't have integrated 'spectrogram' command as such it may be not the best one. |
Thanks. Once I used Audacity to export those IFFs to raw files the annoying click went away.
|
Quote:
|
You just need to put a floppy disk in the drive to stop that clicking...
... sorry... couldn't help it... ;-) |
All times are GMT +2. The time now is 19:26. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.