New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imported .wav sound from computer is unplayable #365

Open
studej opened this Issue Mar 28, 2014 · 5 comments

Comments

Projects
None yet
4 participants
@studej

studej commented Mar 28, 2014

When you import sounds from computer to Snap then only sounds in .wav format are unplayable. If you convert that track from .wav to .mp3 format and import it again to Snap then it will works fine (but .wav tracks are still unplayable).

Problem is definitly not in soundtrack because if you import sound from Snap library (in .wav or .mp3) then everything is ok.

I made demonstration where I am using sound from Scratch 2 exported in .wav (unplayable) and I converted that track to .mp3 (which is playable).

Here's the project:
imported_wav_sound_problem

Note: There is not any difference between importing sound via drap&drop or "Import" menuitem. Sound in .wav format is still unplayable regardless on way of import.

@cycomachead

This comment has been minimized.

Collaborator

cycomachead commented Apr 5, 2014

What browser are you using?

I tried this in Safari (7.0.3, OS X 10.9.3) and the file played fine.

Chrome, however, does show the same problem.

Something is definitely off... Can you try just opening the .wav file in Chrome (not in Snap though) and seeing if it plays fine?

@studej

This comment has been minimized.

studej commented Apr 6, 2014

I am using Google Chrome (Version 33.0.1750.154 m) and .wav sound can't be played if I drag that file to new browser tab. The "volume" button is crossed-out (disabled) and I can't change volume.

I have also problem in Firefox (Version 28.0). If I drag my .wav file to new browser tab then it can be played via VLC plugin, but in Snap it is still unplayable.

@jmoenig

This comment has been minimized.

Owner

jmoenig commented Apr 7, 2014

Hmmm, this works for me, including your sample project...

@cycomachead

This comment has been minimized.

Collaborator

cycomachead commented Apr 7, 2014

FF 27 on my system also doesn't work. However, I notice the MP3 clip in firefox shows 0s but also plays correctly.

Chrome 33 was the version I was using. It may be that there is simply a problem with that particular file. Snap should handle wav files just fine, otherwise.

@studej

This comment has been minimized.

studej commented Apr 7, 2014

@cycomachead
Yes, I have the same problem with time length in FF -- it also shows 0s to me.

I also installed Opera browser and these tracks are unplayable with 0s:

  • Laugh-male3
  • drum_mp3
  • drum_wav

mmaroti pushed a commit to c2stem/snap-physics that referenced this issue Jan 23, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment