HOME | DD

wonderwhy-ER — MP3 Pitcher -Update- by-nc-nd

Published: 2009-08-27 22:50:06 +0000 UTC; Views: 11820; Favourites: 123; Downloads: 490
Redirect to original
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

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

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 Funny that pop starts to sound like metal sometimes at 1/2


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 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
Related content
Comments: 141

Gh0stParade [2015-10-12 20:30:09 +0000 UTC]

It won't work...

👍: 1 ⏩: 0

Edgy-celestialFoxx [2015-06-29 19:27:00 +0000 UTC]

thanks :3

👍: 1 ⏩: 0

g0thg1rl [2014-10-18 00:36:19 +0000 UTC]

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. ^-^

👍: 1 ⏩: 0

BrownieRaider [2013-11-09 21:24:32 +0000 UTC]

:< I have music but they aren't mp3 folders.. D:

👍: 1 ⏩: 1

wonderwhy-ER In reply to BrownieRaider [2013-11-09 23:09:14 +0000 UTC]

Not sure what you mean -_-

👍: 1 ⏩: 1

BrownieRaider In reply to wonderwhy-ER [2013-11-10 00:18:34 +0000 UTC]

Files*  -_-.... I don't have any music that's a mp3 file- Accept for my few Sims  music

👍: 1 ⏩: 1

wonderwhy-ER In reply to BrownieRaider [2013-11-10 08:12:56 +0000 UTC]

I see. Well sadly Flash has libraries only for wav and mp3 formats(at least at the time) so -_-

👍: 1 ⏩: 0

traukha [2013-09-07 13:58:51 +0000 UTC]

Funny

👍: 0 ⏩: 0

Evilpagemistress [2013-03-16 10:21:30 +0000 UTC]

Oh my GOD This is GREAT!

👍: 0 ⏩: 1

wonderwhy-ER In reply to Evilpagemistress [2013-03-16 19:01:54 +0000 UTC]

)

👍: 0 ⏩: 1

PRUSSlA In reply to wonderwhy-ER [2013-09-07 18:05:41 +0000 UTC]

wat xD

👍: 0 ⏩: 0

wigio [2012-09-06 07:52:05 +0000 UTC]

I love this.

Well... what kind of interpolation algorithm did you use?

👍: 1 ⏩: 1

wonderwhy-ER In reply to wigio [2012-09-07 09:44:53 +0000 UTC]

Hmm, if I remember right just linear.

👍: 1 ⏩: 0

alymarry [2012-07-03 13:05:15 +0000 UTC]

But....where can I get MP3?

👍: 0 ⏩: 0

alymarry [2012-07-02 20:30:05 +0000 UTC]

Oh ok xD

👍: 0 ⏩: 0

alymarry [2012-07-01 21:22:58 +0000 UTC]

What can I do here? o3o

👍: 0 ⏩: 1

wonderwhy-ER In reply to alymarry [2012-07-02 08:58:28 +0000 UTC]

Hmm, load mp3, use pitch slider to make it play faster or slower changing the pitch

👍: 0 ⏩: 0

Ghewler [2012-04-05 05:31:39 +0000 UTC]

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!

👍: 0 ⏩: 1

wonderwhy-ER In reply to Ghewler [2012-04-05 09:56:22 +0000 UTC]

Hehe, well its possible but there is not such feature here yet.

👍: 0 ⏩: 1

Ghewler In reply to wonderwhy-ER [2012-04-07 02:19:52 +0000 UTC]

Gosh. If you ever do find the drive and or the time to add such an option, mind notifying me?

👍: 0 ⏩: 1

wonderwhy-ER In reply to Ghewler [2012-04-07 09:15:27 +0000 UTC]

Ok Added to my "do someday things" list with link to this comment

👍: 0 ⏩: 1

Ghewler In reply to wonderwhy-ER [2012-04-07 18:33:03 +0000 UTC]

Thanks a bunch, friend!

👍: 0 ⏩: 0

Shade703 [2011-12-18 15:42:11 +0000 UTC]

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.

👍: 1 ⏩: 1

wonderwhy-ER In reply to Shade703 [2011-12-18 20:07:10 +0000 UTC]

Not that its very original but yeah its fun

👍: 0 ⏩: 0

RisangAyu [2011-11-18 05:51:55 +0000 UTC]

And how to save it in MP3 format?

👍: 0 ⏩: 1

wonderwhy-ER In reply to RisangAyu [2011-11-18 08:54:26 +0000 UTC]

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.

👍: 0 ⏩: 0

gingerbread69 [2011-08-31 22:58:50 +0000 UTC]

This is so fun, great job! Songs in slo-mo and reversed sound weird I played Still Alive

👍: 0 ⏩: 1

wonderwhy-ER In reply to gingerbread69 [2011-09-01 08:04:55 +0000 UTC]

Haha, yeah this can be much of fun Thanks for

👍: 0 ⏩: 0

lovelife99 [2011-08-21 22:17:56 +0000 UTC]

How do I make it play? Is it supposed to play right when I upload it? Cuz it doesn't play...

👍: 0 ⏩: 2

wonderwhy-ER In reply to lovelife99 [2011-08-22 12:47:20 +0000 UTC]

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.

👍: 0 ⏩: 1

lovelife99 In reply to wonderwhy-ER [2011-08-26 05:19:26 +0000 UTC]

It took me a surprisingly long time to figure out that it only works on MP3 files...

👍: 0 ⏩: 1

wonderwhy-ER In reply to lovelife99 [2011-08-26 07:06:26 +0000 UTC]

Ouh lol That did not cross my mind

👍: 0 ⏩: 0

lovelife99 In reply to lovelife99 [2011-08-21 22:30:55 +0000 UTC]

Oh, it's only for mp3 files! Okay goooot iiit.

👍: 0 ⏩: 0

rockangel2410 [2011-07-28 19:04:01 +0000 UTC]

you should make a save button so you can save your made song xD

👍: 0 ⏩: 1

wonderwhy-ER In reply to rockangel2410 [2011-07-28 19:17:08 +0000 UTC]

Interesting idea Not that easy though.

👍: 0 ⏩: 1

rockangel2410 In reply to wonderwhy-ER [2011-07-28 19:25:09 +0000 UTC]

well just an idea

👍: 0 ⏩: 0

rockangel2410 [2011-07-28 18:56:27 +0000 UTC]

XD fly with me jonas brother pitch 0.81 sooooooooooooooooooo funny older dude's voice

👍: 0 ⏩: 1

wonderwhy-ER In reply to rockangel2410 [2011-07-28 19:19:10 +0000 UTC]

Ah, I am too lazy to check, thanks for 's

👍: 0 ⏩: 1

rockangel2410 In reply to wonderwhy-ER [2011-07-28 19:24:56 +0000 UTC]

your welcome

👍: 0 ⏩: 0

CiennaJayde [2011-07-15 22:54:08 +0000 UTC]

I love this

👍: 0 ⏩: 1

wonderwhy-ER In reply to CiennaJayde [2011-07-15 23:08:24 +0000 UTC]

Thanks, yeah its quite fun

👍: 0 ⏩: 1

CiennaJayde In reply to wonderwhy-ER [2011-07-16 01:07:05 +0000 UTC]

I've been playing music on this non-stop. Lol. It's cool to hear it in different pitches. So, NO, Thank you ! )

👍: 0 ⏩: 1

wonderwhy-ER In reply to CiennaJayde [2011-07-16 09:26:59 +0000 UTC]

HAha, I was playing with my whole music collection when I made this Was funny how some songs turn from rock to pop or from pop to rock

👍: 0 ⏩: 1

CiennaJayde In reply to wonderwhy-ER [2011-07-16 14:01:28 +0000 UTC]

Haha. Yeah, exactly.

👍: 0 ⏩: 0

nugget12 [2011-03-11 20:59:31 +0000 UTC]

I played doctor who series 5

👍: 0 ⏩: 0

snuwnevr [2011-01-26 03:44:50 +0000 UTC]

So that's what The Disappearance of Hatsune Miku sounds like... It sounds like a pedophile singing while jacking off.

👍: 0 ⏩: 1

wonderwhy-ER In reply to snuwnevr [2011-01-26 07:25:46 +0000 UTC]

👍: 0 ⏩: 0

aslann1211 [2011-01-16 00:34:48 +0000 UTC]

Having so fun with this. "Idiot Boyfriend" by Jimmy Fallon at 1.44 sounds so amazing.

👍: 0 ⏩: 1

wonderwhy-ER In reply to aslann1211 [2011-01-16 09:16:47 +0000 UTC]

Hehe

👍: 0 ⏩: 0

bl00dmAfiA [2011-01-03 05:28:58 +0000 UTC]

this calling sounds so epic on this

👍: 0 ⏩: 1


| Next =>