-
Notifications
You must be signed in to change notification settings - Fork 27
I tried various ways to get it to play a 909 style bass drum sound WITHOUT any annoying noisy tail, but it sadly seems to add noise to every sample. Tried smooth faded drum sound and also tried a drum sound that is immediately silent after a zero crossing.
Both sound good in Ableton and Audacity and when previewed from Finder.
Tried doing a smooth fade in both Ableton and Audacity.
I suspect that it's maybe because of the compressor, so that is why made a sample with a silence after a zero crossing. Sadly that didn't eliminate that issue yet though.
Using Audacity to export the sound as a MONO 16 BIT PCM file, and then converting with this converter: https://notisrac.github.io/FileToCArray/
Recommendations on how to eliminate that noisy tail? (Maybe that converter is adding that?)
Thanks in advance.
All reactions
Replies: 8 comments 6 replies
Can you record a wav so I understand what kind of noise do you mean
All reactions
Ah, maybe later tonight. The recording gear is in the luggage now. It kinda sounds like a sizzling sound, so I had thought it was caused by the compressor compressing the natural oscillation fade too much. But there was still a little noise, regardless of if the sample had a smooth fade or instant silence after zero crossing.
All reactions
I can recall 2 issues caused by quite unexpected causes.
- Some DACs have silence detection and produce some kind of clicks and noise when the sound ends. So lately I add 01 LSB to the output data, this way it never outputs long series of zeros.
- Some audio systems like beatsaudio has crazy compression which turns itself on whenever it wants no matter if you turn it off in the settings menu. This would amplify line noise even if your output was crystal clear.
All reactions
All reactions
Here are the steps I did to import the drum sounds (this has the noise at the end):
- Opened the wave file in Audacity, and exported the MONO edition of that as a 16 BIT SIGNED PCM WAV
- Used this tool to convert it:
All reactions
I am wondering if maybe I should export RAW instead of WAV from Audacity. I think I maybe did that before.
All reactions
Actually, tried it with byte and raw, and that seems better. However, it seems that maybe something in ears (one ear has tinnitus) may be causing that buzz sound (it may not actually be a sound) at the end. Maybe anyway. When I switched headphones, the buzz at end was mainly only heard through the ear that doesn't have the tinnitus "tone".
All reactions
Why do you use c files instead of uploading filesystem? Btw, there were the errors in wav loading, but I seem to resolve them long ago. Though if you use some old version, it may have some glitches...
All reactions
Oh, using the file system originally seemed too involved. Haha! Obviously doing it this way has been MUCH more involved than that would have been though. LOL.
I had added a handclap array quickly before, so thought adding the new bass drum would be as easy. I hopefully made notes about how I did that handclap, and hopefully will find those notes.
All reactions
Actually remembered later that a main reason I hadn't used littlefs sample loading and storage is because I wanted to keep the sample player lightweight in case it needed to be replaced.
Anyway, shortening that bass drum sample thankfully eliminated that past issue where it was randomly missing some of those bass drum plays.
All reactions
Can you record dac playback to make sure the noise is recorded and seen , not just perceptual. Also this may suggest the place to search for the bug.
All reactions
I agree that it would be good to have a look at the recorded wave. Planning to get the audio interface out of luggage soon. Likely later today.
Admittedly been flipping out a little after realized how much differently these ears hear that same audio. Guess I should maybe focus on more visual and mechatronics related software engineering in the future.
All reactions
Surprisingly it doesn't play properly at all without the header bytes. So RAW headerless didn't seem to function.
Have noticed that it seems the ear with the tinnitus is maybe blurring the noise some, while the other ear is likely (THANKFULLY) accurate. Still don't know what is causing that. Made another export, carefully after that 909 faded out and at a zero crossing.
This code is from at least as early as March of 2025, so maybe it has that wav loader issue?
All reactions
By the way, every long once in a while (seems random) it misses a bass drum hit. That happens about the same amount at 120 BPM as it does at 170 BPM. That may only happen on longer bass drum samples though. Don't remember it happening on the original shorter drum sound.