Discuss Scratch
- CatsUnited
-
Scratcher
1000+ posts
Use Opus audio compression
I think they meant OP as in “Original Post”, not "Original Poster"The OP said that there would be a way to disable this on a per project basis.Why did you say “The OP said” if you’re the OP?
- Flowermanvista
-
Scratcher
1000+ posts
Use Opus audio compression
bump again, maybe the buggy forums will actually bump it this time
- _nix
-
Scratcher
1000+ posts
Use Opus audio compression
-Rex- already said this earlier, but just to bring it up again and add something more: Scratch 3.0 supports MP3 files; if you upload an MP3, Scratch will save the file as-is. It won't convert it into a much larger (and same audio quality!–you can't restore quality lost in the data of a lossy format, of course) WAV file, like Scratch 2.0 did.
Note that if you make an edit to a sound, Scratch will convert and save it as a WAV, though – so if you edit a sound that was uploaded as an MP3, you might find that you've suddenly run out of space in the project, because the new file is uncompressed. The only workaround there is to download it to your computer and convert it back to an MP3 yourself (and replace the sound in the project with that). It'd be nice if Scratch automatically resaved it as an MP3 instead of a WAV, but that hasn't been implemented yet because audio compression is a pretty computation-heavy task and would slow down Scratch considerably (either every time you edit a sound or whenever you save the project).
But back to the main point, I don't really see it as necessary to change the audio system as it is right now, besides maybe to implement saving edited sounds as MP3 instead of WAV (if they can figure out a nice/performant way to do that). MP3s already work pretty well for keeping data usage low, and Scratch doesn't change the data of audio files you upload (unless you make a sound edit), which means the sound data that comes from the Scratch project is the same as what you'd get if you played it in an ordinary audio player on your computer. (That means you can make neat wave-based projects like badatprogrammingibe mentioned, and reliably know audio quality per each sound, like ResExsention talked about.)
Note that if you make an edit to a sound, Scratch will convert and save it as a WAV, though – so if you edit a sound that was uploaded as an MP3, you might find that you've suddenly run out of space in the project, because the new file is uncompressed. The only workaround there is to download it to your computer and convert it back to an MP3 yourself (and replace the sound in the project with that). It'd be nice if Scratch automatically resaved it as an MP3 instead of a WAV, but that hasn't been implemented yet because audio compression is a pretty computation-heavy task and would slow down Scratch considerably (either every time you edit a sound or whenever you save the project).
But back to the main point, I don't really see it as necessary to change the audio system as it is right now, besides maybe to implement saving edited sounds as MP3 instead of WAV (if they can figure out a nice/performant way to do that). MP3s already work pretty well for keeping data usage low, and Scratch doesn't change the data of audio files you upload (unless you make a sound edit), which means the sound data that comes from the Scratch project is the same as what you'd get if you played it in an ordinary audio player on your computer. (That means you can make neat wave-based projects like badatprogrammingibe mentioned, and reliably know audio quality per each sound, like ResExsention talked about.)
- Flowermanvista
-
Scratcher
1000+ posts
Use Opus audio compression
oh of course it didn't bump, maybe the second time will work?
- 15-MinuteGaming
-
Scratcher
100+ posts
Use Opus audio compression
Neutral support; Scratch 3.0 already supports MP3 files.However, recordings are recorded as WAV, instead of MP3, even if it exceeds the size limit. This is a story I had. I uploaded an mp3 to a scratch prject. Then, I recorded. Even though it was long, it still recorded as WAV. Therefore, it cut off at the middle. Audio compression would be extremely useful.
I performed a test by converting a stereo 44100Hz 16-bit WAV file to an MP3 file using Audacity/LAME's Medium setting (joint stereo and 145–185 kbps) and achieved a similar ratio: 53509668 B/5737695 B = 9.325987
The quality was probably not as good as AAC, but it should be more than good enough for most people and is still much better than Scratch 2.0's audio quality.
- SuperKamekArea
-
Scratcher
500+ posts
Use Opus audio compression
I get more compression by spending up then slowing down to original speed
- infinitytec
-
Scratcher
1000+ posts
Use Opus audio compression
Definitely support. This would be a great move.
I don't think it needs to really be optional. If so, the option should probably be in a shift-click menu.
I don't think it needs to really be optional. If so, the option should probably be in a shift-click menu.
- Nambaseking01
-
Scratcher
1000+ posts
Use Opus audio compression
Support.
This could really free up tons of space and be really helpful to people that create advanced projects.
On the Scratch Wiki, you immediately get warned by a bot that you should compress files you upload and it automatically does. Why can't such a bot come in original Scratch as well?
And I have an announcement.
This could really free up tons of space and be really helpful to people that create advanced projects.
On the Scratch Wiki, you immediately get warned by a bot that you should compress files you upload and it automatically does. Why can't such a bot come in original Scratch as well?
And I have an announcement.
Hello!
I am a worker from the Scratch Ultimate Coding Shop and we would like to sponsor your suggestions! This means that we will advertise your suggestion in our shop and ask others to view it and see how it is! If you would want to remove your suggestion from the sponsoring event, you can always notify us in the shop!
Thank you for reading this letter,
Nambaseking01








