Shop More Submit  Join Login
×




Details

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

Stats

Views
6,685 (2 today)
Favourites
121 (who?)
Comments
136
Downloads
398

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:
 
:icong0thg1rl:
g0thg1rl Featured By Owner Oct 17, 2014  Hobbyist General Artist
This actually helped me, I'm trying to change the pitch of a song so it's easier for me to sing, and I changed it from a really deep male's voice, to a slightly deep female voice~! Thanks a bunch. ^-^
Reply
:iconbrownieraider:
BrownieRaider Featured By Owner Nov 9, 2013  Student General 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 General 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
Add a Comment: