ActionScript 3.0 :: Detect Input Audio Tempo Via Microphone?
May 22, 2009
Is it possible for Flash to detect the tempo of audio coming through the microphone (ex. - someone singing into the microphone or playing music on their computer)?I am trying to figure out whether this is possible.
View 2 Replies
Similar Posts:
Dec 2, 2009
Basically I want to recreate a sound installation that I made a couple of months ago which used Logic Express and a Tape Delay effect to take ambient sound captured by a mic, delay its output by 3 seconds, and then play it into the headphones. All without recording anything and in realtime.I've basically got this far, which lets me hear the mic input through my headphones loud and clear. Now all I want to do is apply a 3 second delay to the input before it outputs. Do I have to send the audio to a buffer where it can be constantly stored and rewritten?
Code:
//Create a new Microphone
var mic:Microphone = Microphone.getMicrophone();
[code].....
View 3 Replies
Apr 1, 2012
Is there a way to stream and audio line level feed rather than the audio from a computer's microphone?
View 1 Replies
Jun 1, 2011
It appears that if one has a mic available, then one can add an event listener for the StatusEvent. However, this only tells you if the mic has been allowed or disallowed.
What I'd really like to do is detect if the static Microphone.names property changes. I would have expected this property to be bindable.
If I right click and select "settings" immediately after plugging in a mic, I can see that flash has updated their list of available microphones. However, there seems to be no way in code for me to receive the same update.
The docs say "Calling Microphone.names requires an extensive examination of the hardware, and it may take several seconds to build the array." So I think polling this every few seconds is not a feasible option.
View 3 Replies
Jan 2, 2012
I want to check whether the microphone is connected to the system or not. If not, it should display a warning message and not allowed to record anything. All this should be done through actionscript3.0.
View 3 Replies
May 23, 2010
I have to detect avtivityLevel of microphone in Flex. I am using the activityLevel property of Microphone class but as I found out it always return -1 even if I have done Microphone.getMicrophone(). To detect activity level we have to set microphone.setLoopback = true;
how to do this without using loop back as I do not want to hear my sound back just monitor the activity level
View 1 Replies
Apr 7, 2011
i am trying to detect the microphone activity level. In windows XP, it's returing the activity level. But in windows vista, even if the mic is not connected it's returning an activity level. has anyone come across like this.what is the problem?
View 1 Replies
Sep 25, 2008
I am a newbie to this Flash Segment. Though for my recent project i am diving into it. I want to make "A Flash app which will Capture user voice from microphone. It can be appended if paused. After recording done i want to upload the file to the server. so that i can play it back when required." I tried this with java applet but the UI is too bad so i am thinking in respect to flash. What i found till now is for this i have to go for Flash Media Server which is not possible in my project. I want a simple player. You guys rocks that i can easily understand after some wondering in this forum but did not get my solution so thought of posting it.
View 1 Replies
Oct 8, 2010
I'm making a audio recorder with Adobe Flex (Microphone, NetStream), I want to get the current audio wave from Microphone to display in the visualization area, how can i get the data?
View 1 Replies
Mar 30, 2011
I'd like to record audio from a microphone and I'd like the user to be able to add cue points during the recording so when he loads the file afterwards, he can jump easily to a specific position.
I don't really know what file format I should use and how to store the metadata (cue points)
I thought about
encoding a wav/mp3 and stores metadata in a .cue file (easy to do but 2 files to store)storing XMP data in a mp3 file (seems a bit harder but standard metadata embedded in 1 file)flv/f4v with audio only and standard cue points but I'm not sure I can create them directly from the client
View 3 Replies
Dec 2, 2006
I am having a problem trying to record internal sounds made from the flash file.I can record sound from the microphone no problem,What i want is to be able to record the sounds from the flash file without isung the microphone etc.
View 2 Replies
Jan 14, 2010
I am trying to stream audio from flash app directly to server. We strongly prefer not using Flash Media Server.
I have very little AS3 knowledge. I managed to connect to Mic, speak and hear my voice back. However, I am not sure how to stream this to PHP or rails server side.
View 2 Replies
Jul 16, 2008
In my project i need to get the data from the microphone and webcam to upload in the webserver. how to get the data from those devices
View 1 Replies
Jul 7, 2011
In Java there is a method of the AudioFormat called
getSampleRate
This returns the number of samples per second. I was wondering what the best way to achieve this with the microphone in flash is. I am not sure if I need to add a SamplesDatatEvent and use extract() or ?? I need to know the number of samples per second from the audio coming into the mic.
View 1 Replies
Dec 19, 2011
We need send h264 from flash to Wowza and after to vlc by RTSP protocol. But if we send sound in Speex codec, we not listens sound. what it is possible to make?
View 1 Replies
Oct 21, 2010
Is there a way to detect the privacy dialog box for allowing/denying microphone access has been selected/closed (so sound recording can be started)?
View 1 Replies
Apr 5, 2010
We're trying to get microphone input in a Flash movie and the post it to the server so it can be saved in a file.
Currently, we're using PHP in the server, but I guess the key thing here is: How to post the audio to the server?
After a post is made, then I guess it'd be a matter of handling the encoding and saving to a file, which can be done with pretty much any server-side language.
View 1 Replies
Oct 7, 2009
I'm setting up an application where I need to record users' voice every so often during the course of the users' interaction with the application. Recording is fine, and the quality is fine, but now my issue is understandng how Flash handles the microphone when it gets attached to a stream for publishing.Basically, the problem is that when I "publish" my stream, the voice gets cut off (clipped) at the beginning. So, I initially thought this may have to do with buffer settings on the FMS server side, but it wasn't. Then I investigated client side stuff. For some reason, my internal mic .activityLevel property is -1 even though I have called Microphone.getMicrophone(). According to Flash's documentation, this shouldn't be the case:
activityLevel propertyactivityLevel:Number [read-only]Language Version : ActionScript 3.0Player Version : Flash Player 9The amount of sound the microphone is detecting. Values range from 0 (no sound is detected) to 100 (very loud sound is detected). The value of this property can help you determine a good value to pass to the Microphone.setSilenceLevel() method.If the microphone is available but is not yet being used because Microphone.getMicrophone() has not been called, this property is set to -1.I am using a timer to investigate the microphone .activityLevel property every 50 milliseconds:
package
{
import fl.controls.Button;
import fl.controls.TextInput;[code].....
View 1 Replies
Jul 24, 2009
A groups of friends are working on a little game that would listen to the microphone as part of the interaction. We've tinkered with processing and flex. What we'd like to know is if anyone has succeeded in:
recording from the microphone using a web app
performing an FFT on this microphone data
In the case of flex, according to the docs "Because sound data from a microphone...do not pass through the global SoundMixer object, the SoundMixer.computeSpectrum() method will not return data from those sources."[1]
View 2 Replies
Feb 28, 2010
is that possible and how?
View 1 Replies
Mar 29, 2010
I wonder if it is possible to change the tempo on 1 scene then return to the 24 fps on all the other without having to change the tempo of the whole flash.
View 4 Replies
May 26, 2010
Is there a way to detect whether an FLV file contains video, audio or both?The flv file is streamed to a flash client, that needs to show a certain view depending on the data in wrapped in the flv file.
View 1 Replies
Jun 10, 2011
so this the code with it i am able to mix several trackswith a Shader done in pixel bender.the problem here i don't know when the mixing is finish or all the sound reache their endto be able to save the bytearray into a file any Event or something like that
package
{
import flash.display.*;
[code].....
View 1 Replies
Jan 7, 2007
i need to play back mp3 file in flash. but i have more one output device installed in my pc. the question is:-
can flash list all (detects) audio output device installed in my pc then let me pick one of them to play back sound by selected output device?
View 1 Replies
Jul 1, 2010
Is is possible to detect within JavaScript of Flash if there is auto audio another flash object (mostly ad) on the page?
View 2 Replies
May 15, 2010
I'm finding lots of ways to change the "speed" of a loaded mp3 file. However, is it possible to only change the pitch or tempo (and not both at the same time)?
View 1 Replies
Feb 2, 2006
I'd like to know if it is possible to change the tempo/pitch of a sound when an event happens? So I just like to speed up a looping sound...
View 2 Replies
May 24, 2005
i 've an input text field and i want to insert a "<br>" when i hit the "enter key", meaning, i will read the text variable and then insert the tag each time break the line.
Then i will just pass to php and print on screen in html format. But i don't want use the textarea component or any component.
how can i manipulate that text variable.
View 2 Replies
Jun 3, 2011
how could i detect empty input in a textfield?[code]not working..
View 4 Replies
Jul 29, 2006
I have many input text boxes, I want to do something when a user clicks on an input text box but I don't know how to detect which input text box got clicked?
View 2 Replies