The heart projection that will be outline of the boxes will glow when there is sound detected so import the heart image from I
llustrator and make into a movie clip in
Flash . Then I add the coding and it will detect the sound .
Here is the coding :
myMic = Microphone.get();
attachAudio (myMic);
micInterval = setInterval (this,"micCheck",20);
function micCheck (){
heart._alpha = myMic.activityLevel;
}
No comments:
Post a Comment