Shop Mobile More Submit  Join Login
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  Professional Digital 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
:iconalymarry:
alymarry Featured By Owner Jul 3, 2012  Professional Digital Artist
But....where can I get MP3?
Reply
:iconalymarry:
alymarry Featured By Owner Jul 2, 2012  Professional Digital Artist
Oh ok xD
Reply
:iconalymarry:
alymarry Featured By Owner Jul 1, 2012  Professional Digital Artist
What can I do here? o3o
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jul 2, 2012
Hmm, load mp3, use pitch slider to make it play faster or slower changing the pitch :)
Reply
:iconghewler:
Ghewler Featured By Owner Apr 4, 2012
Turning Taylor Swifts 'Ours' into a male singer is..
Wow I wish they made that real <333
Is it possible to save it as is? Just wondering!
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Apr 5, 2012
Hehe, well its possible but there is not such feature here yet.
Reply
:iconghewler:
Ghewler Featured By Owner Apr 6, 2012
Gosh. If you ever do find the drive and or the time to add such an option, mind notifying me?
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Apr 7, 2012
Ok :) Added to my "do someday things" list with link to this comment :)
Reply
:iconghewler:
Ghewler Featured By Owner Apr 7, 2012
Thanks a bunch, friend!
Reply
:iconshade703:
Shade703 Featured By Owner Dec 18, 2011
This is pure brilliance! I fiddled around with it for hours and got Daft Punk to play like blues and swing. Absolute and utter magnificence.
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Dec 18, 2011
Not that its very original but yeah its fun :)
Reply
:iconrisangayu:
RisangAyu Featured By Owner Nov 17, 2011  Student Digital Artist
And how to save it in MP3 format?
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Nov 18, 2011
Hmm, it does not have that feature. May be I can do saving in uncompressed wav. But actually compressing in to MP3 in Flash may be little bit complicated.
Reply
:icongingerbread69:
gingerbread69 Featured By Owner Aug 31, 2011
This is so fun, great job! Songs in slo-mo and reversed sound weird :O I played Still Alive
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Sep 1, 2011
Haha, yeah this can be much of fun :) Thanks for :+fav: :)
Reply
:iconlovelife99:
lovelife99 Featured By Owner Aug 21, 2011  Hobbyist Photographer
How do I make it play? Is it supposed to play right when I upload it? Cuz it doesn't play...
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Aug 22, 2011
Hmm, tried and seems to work fine still. It may silently fail to load certain encoding(48khz or something) or may break on damaged files. Until started experimenting with such stuff did not even know how many are damaged and how usual audio players are good at ignoring that :)

Have you tried only one specific song or many? For me most I have on my PC do work.
Reply
:iconlovelife99:
lovelife99 Featured By Owner Aug 25, 2011  Hobbyist Photographer
It took me a surprisingly long time to figure out that it only works on MP3 files... :XD:
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Aug 26, 2011
Ouh lol :D :D :D That did not cross my mind :D
Reply
:iconlovelife99:
lovelife99 Featured By Owner Aug 21, 2011  Hobbyist Photographer
Oh, it's only for mp3 files! Okay goooot iiit.
Reply
:iconrockangel2410:
rockangel2410 Featured By Owner Jul 28, 2011
you should make a save button so you can save your made song xD
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jul 28, 2011
Interesting idea :) Not that easy though.
Reply
:iconrockangel2410:
rockangel2410 Featured By Owner Jul 28, 2011
well just an idea ;)
Reply
:iconrockangel2410:
rockangel2410 Featured By Owner Jul 28, 2011
XD fly with me jonas brother pitch 0.81 sooooooooooooooooooo funny older dude's voice
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jul 28, 2011
Ah, I am too lazy to check, thanks for :+fav:'s :)
Reply
:iconrockangel2410:
rockangel2410 Featured By Owner Jul 28, 2011
your welcome
Reply
:iconciennajayde:
CiennaJayde Featured By Owner Jul 15, 2011
I love this :)
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jul 15, 2011
Thanks, yeah its quite fun :)
Reply
:iconciennajayde:
CiennaJayde Featured By Owner Jul 15, 2011
I've been playing music on this non-stop. Lol. It's cool to hear it in different pitches. So, NO, Thank you ! :))
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jul 16, 2011
HAha, I was playing with my whole music collection when I made this :D Was funny how some songs turn from rock to pop or from pop to rock :D
Reply
:iconciennajayde:
CiennaJayde Featured By Owner Jul 16, 2011
Haha. Yeah, exactly.
Reply
:iconnugget12:
nugget12 Featured By Owner Mar 11, 2011
I played doctor who series 5
Reply
:iconsnuwnevr:
snuwnevr Featured By Owner Jan 25, 2011  Professional Artist
So that's what The Disappearance of Hatsune Miku sounds like... It sounds like a pedophile singing while jacking off.
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 25, 2011
:D
Reply
:iconaslann1211:
aslann1211 Featured By Owner Jan 15, 2011  Student Digital Artist
Having so fun with this. "Idiot Boyfriend" by Jimmy Fallon at 1.44 sounds so amazing. :love:
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 16, 2011
Hehe :)
Reply
:iconbl00dmafia:
bl00dmAfiA Featured By Owner Jan 2, 2011  Student Digital Artist
this calling sounds so epic on this
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Jan 2, 2011
Hmm what?
Reply
:iconbl00dmafia:
bl00dmAfiA Featured By Owner Jan 8, 2011  Student Digital Artist
its a song by all that remains
Reply
Add a Comment:
 
×




Details

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

Stats

Views
7,311
Favourites
123 (who?)
Comments
136
Downloads
421

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License.
×