[Flashcoders] Music visualisation in Flash 9

2006-11-02 Thread Jake Prime

Hi

I have just been asked about the possibility of making an app which
will play MP3s, and display visual effect to match it. Does this sound
like something that is possible in AS3?

As I see it the issues are:

- being able to load and play an MP3 from the users harddrive
- converting the MP3 to PCM format
- analysing the PCM for volume / tempo (and possibly frequency)

I will be researching this fully myself now, but if anyone has any
experiences or thoughts they want to share I'd be grateful.

Cheers
Jake
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Music visualisation in Flash 9

2006-11-02 Thread slangeberg

RE your points:

- being able to load and play an MP3 from the users harddrive




You'll need an executable wrapper.

- converting the MP3 to PCM format

- analysing the PCM for volume / tempo (and possibly frequency)



Not sure if these are necessary, as I believe what you need is within the
AS3 classes. People have been creating these for a while. See andre
michelle. He's also got some nice examples in his 'labs' section:

http://blog.andre-michelle.com/2006/spectrum-meter/


Scott


On 11/2/06, Jake Prime [EMAIL PROTECTED] wrote:


Hi

I have just been asked about the possibility of making an app which
will play MP3s, and display visual effect to match it. Does this sound
like something that is possible in AS3?

As I see it the issues are:

- being able to load and play an MP3 from the users harddrive
- converting the MP3 to PCM format
- analysing the PCM for volume / tempo (and possibly frequency)

I will be researching this fully myself now, but if anyone has any
experiences or thoughts they want to share I'd be grateful.

Cheers
Jake
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Music visualisation in Flash 9

2006-11-02 Thread Martin Wood-Mitrovski



Jake Prime wrote:

Hi

I have just been asked about the possibility of making an app which
will play MP3s, and display visual effect to match it. Does this sound
like something that is possible in AS3?


Its easy in AS3, just look up Sound.computeSpectrum in the reference.

you'll also find code examples on the internet.

such as

http://blog.andre-michelle.com/2006/soundmixercomputespectrum/

and

http://www.martijndevisser.com/blog/article/as3-computespectrum-bitmapdata


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Music visualisation in Flash 9

2006-11-02 Thread Paul Steven
Haven't looked into AS3 yet but seeing this thread I wonder if it is
possible to change the pitch of dynamically loaded mp3 files in real time?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin
Wood-Mitrovski
Sent: 02 November 2006 20:49
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Music visualisation in Flash 9



Jake Prime wrote:
 Hi
 
 I have just been asked about the possibility of making an app which
 will play MP3s, and display visual effect to match it. Does this sound
 like something that is possible in AS3?

Its easy in AS3, just look up Sound.computeSpectrum in the reference.

you'll also find code examples on the internet.

such as

http://blog.andre-michelle.com/2006/soundmixercomputespectrum/

and

http://www.martijndevisser.com/blog/article/as3-computespectrum-bitmapdata


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Music visualisation in Flash 9

2006-11-02 Thread Martin Wood-Mitrovski



Paul Steven wrote:

Haven't looked into AS3 yet but seeing this thread I wonder if it is
possible to change the pitch of dynamically loaded mp3 files in real time?


im 99% certain the answer is no.

if there is a way i would love to know how. :)

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Music visualisation in Flash 9

2006-11-02 Thread Paul Steven
Thought as much!

I have managed to do this for a projector using Director and the tactile
xtra but I really need an online version.

Maybe AS4 will do it:)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin
Wood-Mitrovski
Sent: 02 November 2006 21:11
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Music visualisation in Flash 9



Paul Steven wrote:
 Haven't looked into AS3 yet but seeing this thread I wonder if it is
 possible to change the pitch of dynamically loaded mp3 files in real
time?

im 99% certain the answer is no.

if there is a way i would love to know how. :)

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com