stsaz / fmedia

fast audio player/recorder/converter
BSD 2-Clause "Simplified" License
217 stars 21 forks source link

Fmedia does not play back short duration wave files #97

Closed cheeryart2275 closed 1 year ago

cheeryart2275 commented 1 year ago

I work in pro audio and frequently have to preview a lot of short samples of audio. Like files less than 1 second long, drum hits and such. Fmedia opens these files but does not produce sound or the sound cuts off abruptly. Not just one specific file but all short wave files.

stsaz commented 1 year ago

What OS do you use? Can you attach a sample file so I can reproduce this?

cheeryart2275 commented 1 year ago

attached is an example WAV file with a bass drum sound that produces no sound on fmedia on my system. I'm on windows 10 enterprise, latest LTSC version, 64-bit.

--C.A.

On Mon, Nov 13, 2023, at 16:42, Simon Zolin wrote:

What OS do you use? Can you attach a sample file so I can reproduce this?

— Reply to this email directly, view it on GitHub https://github.com/stsaz/fmedia/issues/97#issuecomment-1808294222, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4VURE3ICI2Z3S667QR4S2DYEIWWBAVCNFSM6AAAAAA7H2LSVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBYGI4TIMRSGI. You are receiving this because you authored the thread.Message ID: @.***>

stsaz commented 1 year ago

It seems that you didn't attach the file correctly - can you please do so via github's Attach files button? Also, I've just tested the playback of some random 100ms wav file on win10, and it plays correctly for me. I suspect that it's something inside your wav files that is not supported by fmedia (could it be that your wav files use compression or non-standard extensions?)

cheeryart2275 commented 1 year ago

Thanks for trying to debug this. Here's a link:

I forgot to mention that I'm using the CLI version of fmedia. I'll see if I can make a screen capture to further display this problem. I'm pretty sure there's nothing special about my wave files since they come from many different sources and I've ran into this. On Tue, Nov 14, 2023, at 09:15, Simon Zolin wrote: > It seems that you didn't attach the file correctly - can you please do > so via github's `Attach files` button? > Also, I've just tested the playback of some random 100ms wav file on > win10, and it plays correctly for me. I suspect that it's something > inside your wav files that is not supported by fmedia (could it be that > your wav files use compression or non-standard extensions?) > > — > Reply to this email directly, view it on GitHub > , or > unsubscribe > . > You are receiving this because you authored the thread.Message ID: > ***@***.***>
stsaz commented 1 year ago

Got it. The problem is that there are currently several limitations in fmedia around 24-bit sample format. I guess it's time to finally resolve this.

cheeryart2275 commented 1 year ago

Ah, okay. Thanks for rooting out the problem! 24-bit is really common in audio and film audio production where you deal with very dynamic material where 16-bit is considered a bit "lofi". It'd be great if 24-bit support could be possible, love the quickness and snappiness of Fmedia and the versatility of the CLI player!

Cheers!

On Tue, Nov 14, 2023, at 10:09, Simon Zolin wrote:

Got it. The problem is that there are currently several limitations in fmedia around 24-bit sample format. I guess it's time to finally resolve this.

— Reply to this email directly, view it on GitHub https://github.com/stsaz/fmedia/issues/97#issuecomment-1809716850, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4VUREZQ7IYPK2ZCUW5YUODYEMRKVAVCNFSM6AAAAAA7H2LSVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBZG4YTMOBVGA. You are receiving this because you authored the thread.Message ID: @.***>

stsaz commented 1 year ago

It'd be great if 24-bit support could be possible

Yes, 24-bit format support will be improved. I'll update when the new version is released.

stsaz commented 1 year ago

@cheeryart2275 Hi! 24-bit format support is now included in phiola v2.0-beta9 (https://github.com/stsaz/phiola). Please check if it works for you.