Log in to Freesound

Problems logging in?
Don't have an account? Join now

Problems logging in?

Enter your email or username below and we'll send you a link to help you login into your account.

Back to log in

Almost there!

We've sent a verification link by email

Didn't receive the email? Check your Spam folder, it may have been caught by a filter. If you still don't see it, you can resend the verification email.

Default title

  • Sounds
  • Tags
  • Forum
  • Map
    • Sounds
    • Packs
    • Forum
    • Map
    • Tags
    • Random sound
    • Charts
    • Donate
    • Help

Freesound Forums

  • Freesound Forums
  • Bug Reports, Errors and Feature Requests
  • [Android, Chromium] Previews inherit sample rate of file that playback initiates with

[Android, Chromium] Previews inherit sample rate of file that playback initiates with

Subscribe

Started November 19th, 2023 · 5 replies · Latest reply by frederic.font 2 years, 1 month ago

Saltbearer

298 sounds

2 posts

2 years, 1 month ago
#1

So far only tested on a OnePlus Nord N20 5G running Android 12. Chromium browsers are affected, Firefox isn't. Not one to say if this is some hard limitation of them, or something to be accounted for. The same thing is happening with audio embeds on cohost.org

https://freesound.org/people/Saltbearer/packs/39756/

https://cohost.org/Saltbearer/post/3567029-uh-oh-this-public-r

From page load, if you preview the 8 kHz file, and then preview the 44.1 kHz file, the latter will play at 8 kHz. This can happen in loaded instances of the sites' players across tabs, and regardless of filetype.

I only have 223 characters left.
frederic.font

748 sounds

501 posts

2 years, 1 month ago
#2

Hi @Saltbearer,

I don't seem to be experiencing these issues, at least on a desktop computer, and thinking of the code I can't imagine so far how the two players could affect each other. Can you provide clear steps to reproduce the issue? The issue is that depending on the order in which the sounds are played, their "content" changes?

frederic
the freesound team
S
strangely_gnarled

17 sounds

605 posts

2 years, 1 month ago
#3

Don't understand the technicals at all, but only silly suggestion I have is that files are somehow being retrieved from local cache.

Heaven in the sky is to die for, Heaven on earth is to live for.
Saltbearer

298 sounds

2 posts

2 years, 1 month ago
#4

Here's a recording of it happening in Chrome and Brave, then *not* happening in Firefox:
https://youtu.be/BxzECTJ9PHw

(Mono audio is a limitation of any screen capture on this phone)

I only have 223 characters left.
frederic.font

748 sounds

501 posts

2 years, 1 month ago
#5

Hmm this is interesting, this looks like a android+chromium bug (Brave is also chromium based), as technically on the Freesound side we don't tell the browser "how to play a file", but just provide the file and the browsers figures it out, so I don't think there is code on our side that we could add to fix this. Thanks for reporting anyway, hopefully it gets fixed in future releases.

frederic
the freesound team
Post reply
About Freesound Terms of use Privacy Cookies Developers Help Donations Blog Freesound Labs Get your t-shirt!
© 2025 Universitat Pompeu Fabra