wonderwhy-ER on DeviantArthttp://creativecommons.org/licenses/by-nc-nd/3.0/https://www.deviantart.com/wonderwhy-er/art/MP3-Pitcher-Update-134977302wonderwhy-ER

Deviation Actions

wonderwhy-ER's avatar

MP3 Pitcher -Update-

By
Published:
11.6K Views

Description

So this is continuation to my experiments with music. One of important new features of Flash 10 is possibility to extract raw music data + feed raw music data to sound card as stream of bytes. All that together allows to do manual sound filters that alter sound as it is passed to SoundCard. Here is one I really wanted to do :D

So click Load and pick some mp3 file. Then try changing Pitch slider position. To the right it starts to play faster. To the left it starts to slow down until stopping completely and then playing in reverse :D

For those who are curious I used linear interpolation when stretching it and average when squeezing. Tough it is little bit glitch and my technique is limited as I can only use whole steps. That's why I use only steps like 1/2 or 4 for speed... Will need to experiment/work on it more.


Also having a lot of fun listening a lot of music with 1/2 or 2 speed. Or with -1 speed :D Funny that pop starts to sound like metal sometimes at 1/2 :rofl:


Update:
Ok spent some time thinking and made number of changes to my interpolation algorithm. Now it allows any type of step. Not only powers of 2 :) So you can very smoothly change speed of play which sounds really cool :D Should be cool to use this effect in some say racing game where with higher speeds music plays faster :) Or with games where slowmo is used :)
Image size
805x160px 39.19 KB
Comments141
Join the community to add your comment. Already a deviant? Log In
fnaflover123abc's avatar
i loaded megalovania