Skip to content

RIFFVtWAVEfmt Wave Files don't load in 3.0 #107

@BryceLTaylor

Description

@BryceLTaylor

Expected behavior

Wave files should load in Scratch 3.0.

Actual behavior

Wave Files with RIFFVtWAVEfmt in their header don't appear in the scratch project after uploading them. They load just fine into 2.0 projects. If you load a 2.0 project with one of those wave files into 3.0 it will give you an oops page.

Here are two sound files
sounds.zip

sound.wav is a RIFFVtWAVEfmt file.
2.wav is a RIFF4z��WAVEfmt file.
If you open the sound files in a text editor, the first string on the first line shows which type it is.

Steps to reproduce

Create a new 3.0 project
In the cat, switch to the sounds tab
Click the Upload a sound
Choose sound.wav (in the zipped folder above) in the file browser
Note: the file browser closes but no sound appears in the project.

Create a new 2.0 project
Upload sound.wav into the project (the cat or the background or another sprite)
Save the project
Load the project by id in the url into the 3.0 editor
Note: you get an oops page

Operating system and browser

Mac Chrome

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions