Pages: 1
Today, I decided to see how my soundtrack would sound like imported into Scratch and compressed, and ran into a strange bug.
The soundtrack was 7:29 minutes long. When I imported the soundtrack into Scratch, it displayed a run time of 9:45 minutes. After listening to the imported soundtrack and comparing it to being played on Winamp, I did notice a slight difference in tempo, but not enough to make such a big difference in run time.
Although, I should say that difference in tempo is quite frustrating in itself for people who work with accurate timing in their projects. The music in the imported soundtrack ended at 7:27 as compared to the original soundtrack, in which the music ended at 7:24.
Now when the music ended, I knew that what was really causing such difference in time was additional silence. Over 2 minutes of silence after the music has ended.
The silence was never there in the first place. I don't know what might be causing this bug and this is the first time I've run into it, but I suppose it's got to do with some conversion and rewriting error.
I've tried re-opening Scratch, re-importing the song, with the same result. Although, I did find a cure. The only thing that seemed to fix it was converting it from mp3 to wav and importing that. Importing as wav also fixed the tempo problem, and the compressed size was smaller. ^^ (Note to self: always import as wav in the future!)
But it's still interesting to know what might have caused this. Has anyone experienced (or is experiencing) similar problems in the past?
Offline
Offline
mathematics wrote:
Ah - thanks!
Offline
Sounds like an issue with the way mp3 libraries decode the files. Interesting bug though! It should get solved when we re-implement sound importing in Scratch 2.0.
Offline
Pages: 1