Deviant Login Shop  Join deviantART for FREE Take the Tour
×



Details

Submitted on
August 27, 2009
Image Size
39.2 KB
Resolution
805×160
Link
Thumb
Embed

Stats

Views
6,416 (5 today)
Favourites
120 (who?)
Comments
135
Downloads
383

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License.
×
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 :)
Add a Comment:
 
:iconbrownieraider:
BrownieRaider Featured By Owner Nov 9, 2013  Student Artist
:< I have music but they aren't mp3 folders.. D:
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Nov 9, 2013
Not sure what you mean -_-
Reply
:iconbrownieraider:
BrownieRaider Featured By Owner Nov 9, 2013  Student Artist
Files*  -_-.... I don't have any music that's a mp3 file- Accept for my few Sims  music
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Nov 10, 2013
I see. Well sadly Flash has libraries only for wav and mp3 formats(at least at the time) so -_-
Reply
:icontraukha:
traukha Featured By Owner Sep 7, 2013
Funny :D
Reply
:iconevilpagemistress:
Evilpagemistress Featured By Owner Mar 16, 2013  Hobbyist Writer
Oh my GOD :D This is GREAT!
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Mar 16, 2013
)
Reply
:iconprussla:
PRUSSlA Featured By Owner Sep 7, 2013  Hobbyist General Artist
wat xD
Reply
:iconwigio:
wigio Featured By Owner Sep 6, 2012
I love this.

Well... what kind of interpolation algorithm did you use?
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Sep 7, 2012
Hmm, if I remember right just linear.
Reply
Add a Comment: