Met dynamiek van muziek plaatjes laten zien in Flash

Is het mogelijk in flash de dynamiek van een audiofile te meten en aan de hand daarvan met parameters uit een database beeldmateriaal te laten zien?

Vooralsnog zou ik het voldoende vinden als Flash dan zou kiezen uit bijvoorbeeld drie kleuren.

Bijvoorbeeld:

Hoge tonen = Geel
Middengebied = Blauw/Groen
Lage tonen = Rood/Bruin

Iemand een idee of dat dit mogelijk is?

Niemand?

Iemand misschien wel een tip waar ik het antwoord zou kunnen vinden? De site van Macromedia levert me tot nu toe niets op.

misschien heb je hier iets aan: http://www.flashfocus.nl/showDetail.asp?TypeId=2&NewsId=5600

Hey,

Het zal zeker mogelijk zijn, maar stel de vraag nog eens op actionscript.org of de forums van ultrashock.com.
Daar zitten dé Flash goeroes.

Succes.
En als je iets weet, dan mag je het hier ook zeker posten :slight_smile:

Bedankt alvast voor de tips, morgen even mee aan de slag.

Nog geen nieuws onder de zon. Tot nu toe reageren de meeste 'goeroe's' met "NOPE, niet/not mogelijk/possible"

Jammer. :cry:

Geen ‘disco fever’ met Flash. Flashisco, Flashco, Flashfever. :roll:

Ik denk inderdaad niet dat Flash kan herkennen of er hoge of lage tonen gespeeld worden.

De link van basvandorst geeft alleen aan als er geluid afgespeeld wordt dat er dan iets beweegt, maar niet de herkenning van tonen.

Misschien over een tijdje, met een nieuwe versie van Flash?

What is possible is to measure the left and right channels using

setTransform()
getTransform()

This measures how much of a channel is coming through an how much should be output. You would have to split your audio over these two channels so that the low (or weak) wave form was on one channel, and then progressed to the other as it became higher (or stronger).

Then, with setVolume() getVolume() it may be possible to tie these functions to a movie clip color object.

Deze tip kreeg ik van een Actionscripter maar volgens mij kun je hiermee alleen de balans en het volume instellen op een vaste waarde. Bv.
MySound.setVolume(23);

Het zou zo mooi zijn als er een commando bestond als:

MySound.getDynamics(x);

Met x een getal tussen de 0 en 44000 Hz. Zoiets?? :mrgreen: :mrgreen: :mrgreen:

Toch een kleine update:

These tools can output audio info and based on it you could build animation.

Flashamp
available from http://marmalademedia.com.au/flashamp/
$30

Swift MP3 does the same for free
http://swift-tools.com/swift-mp3.html

Amplitude Xtra 2.0
http://www.marmalademedia.com.au/amplitude.htm

Nu nog even hier mee prutsen. :mrgreen:

And yet again, update.

FlashAmp werkt ‘fab’

Programma’tje doet niets anders dan het generen van getalletjes op basis van volume of dynamiek. Deze getalletjes kunnen met een beetje copy/paste in Flash omgezet worden naar bewegend beeld. De site biedt wat scriptjes daarvoor. Zelf mee knutselen is natuurlijk leuker.

Van een stuk van Yann Tiersen (La redécouverte) maakt FAmp dit:

File=16 La redécouverte.mp3
FPS=15
Scale=100
Smoothing=1
Return dB Values=0

amplitude=[0, 0, 2, 11, 17, 14, 10, 8, 9, 10, 8, 6, 7, 8, 7, 5, 4, 9, 13, 11, 8, 7, 9, 9, 8, 6, 12, 20, 22, 21, 20, 22, 21, 22, 23, 23, 22, 18, 14, 11, 12, 12, 9, 7, 10, 14, 14, 11, 7, 9, 13, 11, 9, 9, 12, 12, 9, 7, 14, 23, 23, 18, 13, 12, 14, 11, 8, 12, 17, 16, 11, 8, 10, 13, 12, 10, 13, 17, 15, 12, 9, 16, 23, 23, 22, 23, 26, 24, 24, 24, 25, 26, 21, 15, 14, 16, 16, 12, 10, 12, 17, 18, 15, 16, 18, 16, 13, 11, 15, 21, 22, 21, 17, 22, 29, 25, 19, 14, 14, 14, 11, 9, 12, 15, 13, 10, 10, 14, 17, 14, 10, 10, 12, 11, 8, 11, 19, 20, 21, 22, 23, 26, 26, 28, 28, 28, 24, 18, 13, 12, 12, 9, 7, 9, 14, 15, 12, 8, 10, 13, 11, 10, 9, 12, 13, 10, 8, 15, 24, 24, 18, 16, 18, 18, 14, 11, 12, 16, 14, 11, 8, 10, 13, 12, 10, 13, 16, 14, 11, 14, 21, 24, 21, 17, 20, 24, 24, 25, 22, 23, 23, 18, 13, 15, 18, 15, 12, 13, 17, 17, 14, 12, 13, 14, 12, 10, 12, 17, 17, 13, 10, 15, 22, 22, 22, 18, 20, 23, 20, 16, 15, 18, 16, 12, 9, 13, 18, 15, 11, 12, 14, 12, 9, 10, 14, 18, 21, 23, 23, 25, 26, 24, 22, 24, 22, 18, 15, 15, 16, 14, 10, 8, 12, 17, 16, 13, 12, 15, 14, 11, 10, 15, 19, 19, 21, 25, 28, 26, 23, 21, 20, 19, 16, 14, 17, 20, 18, 16, 13, 14, 16, 15, 13, 14, 17, 16, 14, 12, 16, 21, 23, 23, 23, 26, 25, 25, 26, 28, 28, 23, 19, 19, 20, 17, 13, 10, 15, 19, 17, 15, 14, 17, 17, 13, 10, 15, 20, 18, 13, 12, 18, 21, 22, 21, 22, 27, 23, 18, 15, 15, 15, 12, 10, 14, 18, 16, 13, 11, 12, 12, 9, 8, 10, 14, 19, 21, 19, 21, 24, 23, 19, 20, 23, 25, 23, 18, 18, 19, 16, 13, 14, 18, 17, 12, 12, 16, 16, 13, 11, 14, 19, 20, 22, 21, 27, 31, 27, 24, 23, 22, 19, 17, 17, 18, 19, 17, 14, 15, 17, 16, 14, 16, 19, 18, 15, 13, 18, 24, 25, 24, 24, 25, 23, 23, 25, 24, 25, 25, 24, 23, 24, 22, 19, 15, 16, 18, 17, 15, 16, 20, 18, 14, 11, 15, 20, 16, 13, 19, 37, 46, 42, 32, 28, 28, 25, 22, 21, 22, 22, 21, 17, 28, 44, 46, 42, 39, 39, 37, 30, 22, 19, 20, 26, 39, 44, 44, 43, 39, 32, 27, 23, 20, 19, 21, 20, 19, 18, 24, 36, 44, 46, 44, 44, 42, 34, 28, 26, 23, 21, 29, 40, 42, 43, 44, 41, 37, 35, 31, 26, 30, 35, 33, 28, 25, 33, 45, 48, 46, 46, 48, 48, 44, 38, 33, 27, 31, 41, 41, 39, 41, 39, 35, 33, 29, 27, 28, 29, 27, 23, 20, 30, 47, 54, 54, 53, 53, 50, 42, 36, 33, 31, 33, 38, 43, 46, 42, 36, 29, 27, 25, 25, 26, 25, 24, 22, 21, 27, 39, 45, 44, 41, 42, 43, 37, 27, 22, 20, 20, 28, 39, 46, 45, 43, 36, 29, 25, 24, 25, 23, 22, 20, 18, 24, 39, 48, 50, 47, 44, 41, 35, 30, 26, 22, 22, 31, 38, 43, 45, 39, 33, 32, 31, 29, 26, 27, 31, 29, 26, 28, 40, 48, 46, 44, 45, 46, 41, 32, 28, 28, 27, 34, 42, 43, 43, 42, 37, 31, 29, 29, 27, 29, 30, 26, 25, 24, 32, 47, 53, 54, 54, 54, 49, 42, 38, 38, 33, 29, 35, 42, 45, 44, 39, 35, 30, 24, 22, 22, 25, 26, 23, 19, 27, 42, 43, 41, 41, 41, 42, 41, 33, 25, 21, 26, 38, 47, 50, 49, 46, 38, 32, 30, 28, 26, 26, 25, 22, 19, 25, 39, 43, 43, 45, 51, 52, 44, 36, 34, 30, 26, 31, 38, 45, 46, 40, 34, 32, 30, 25, 23, 22, 23, 21, 20, 29, 44, 48, 50, 51, 52, 52, 49, 46, 44, 43, 34, 30, 36, 43, 46, 44, 34, 26, 25, 23, 17, 18, 22, 20, 19, 18, 29, 47, 53, 50, 50, 51, 46, 40, 31, 27, 32, 32, 34, 37, 40, 42, 41, 36, 32, 32, 28, 24, 23, 25, 24, 22, 21, 27, 39, 43, 44, 46, 46, 43, 41, 34, 28, 23, 24, 34, 46, 48, 45, 45, 43, 37, 32, 29, 30, 30, 28, 23, 20, 26, 38, 45, 44, 42, 44, 47, 49, 45, 37, 29, 27, 34, 42, 45, 45, 40, 35, 34, 30, 29, 29, 29, 27, 24, 21, 32, 46, 46, 46, 46, 48, 48, 50, 49, 46, 42, 40, 41, 44, 49, 48, 38, 29, 27, 23, 18, 16, 21, 27, 24, 17, 27, 44, 49, 47, 42, 41, 41, 37, 29, 27, 31, 33, 32, 33, 41, 47, 44, 37, 32, 30, 27, 23, 21, 21, 22, 17, 12, 13, 17, 16, 13, 12, 13, 14, 12, 9, 18, 34, 43, 45, 43, 45, 51, 54, 52, 50, 50, 47, 40, 32, 26, 21, 16, 13, 16, 20, 18, 12, 10, 13, 15, 13, 11, 13, 16, 14, 10, 9, 20, 37, 44, 41, 36, 33, 29, 23, 17, 12, 13, 18, 18, 13, 9, 7, 11, 14, 13, 11, 10, 11, 13, 12, 10, 8, 8, 24, 41, 41, 37, 35, 34, 29, 26, 35, 46, 48, 46, 46, 42, 34, 27, 25, 26, 25, 28, 31, 32, 29, 25, 25, 27, 24, 21, 20, 18, 17, 17, 18, 20, 20, 20, 17, 14, 12, 10, 9, 12, 14, 13, 11, 9, 8, 7, 5, 4, 10, 18, 18, 14, 11, 9, 11, 15, 14, 10, 8, 6, 5, 9, 15, 16, 17, 21, 25, 28, 29, 25, 19, 15, 12, 9, 7, 5, 4, 4, 3, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];

:lol: :lol: :lol: