ActionScript 2.0 :: Create Sound File Of A Particular Frequency?

Aug 18, 2011

I need to create an audio file (sine wave) of a particular frequency. I need to do this in actionscript 2.0.

View 0 Replies


Similar Posts:


ActionScript 3.0 :: Sound Visulizer On The Basis Sound Frequency?

Jul 9, 2009

I'm developing a flash application that capture an input sound using the microphone object. Unfortunately in this way there's no possibility to get the sound frequency or the bands of the source. How to make Sound Visulizer on the basis sound frequency

View 3 Replies

ActionScript 3.0 :: Render Frequency Spectrum While Loading Sound?

Jan 13, 2009

I am action script developer in a company. I want to render my freequency spectrum while loading sound.I tried it different way.please suggest any way to do it

View 0 Replies

ActionScript 3.0 :: Retrieving Sound Frequency And Mono/stereo Channels?

Sep 28, 2011

Can I figure out somehow sound's frequency (primarily .mp3s) and if it is mono or stereo?

View 4 Replies

Alter Frequency Of An MP3 File?

Jan 26, 2010

Does anybody know a purely PHP based way to alter the frequency of an MP3 file?

A client's website is utilizing a Flash based MP3 player to play some audio.The client is producing the audio herself.

The trouble is that the tools that she is producing it with, and is familiar with, automatically produces MP3 files with a frequency of 48000hz, while some versions of Flash have trouble playing anything with a frequency differing from 44100khz.

View 1 Replies

ActionScript 3.0 :: Create Dynamic Sound To Play Sound-file?

Oct 14, 2009

It's possible to play a sound file through AS, either by loading it from a folder or import it to flash. It's also possible to play a dynamic tone with flash.media.Sound + writeFloat.

But... is it possible to play a sound file with flash.media.Sound + writeFloat in some way? I want to play a sound file without having to deal with any files except the .swf!

View 9 Replies

ActionScript 3.0 :: Play A Sound File And Show The Progress Of The Sound File Being Played

Mar 16, 2009

I have to play a sound file and show the progress of the sound file being played. I am using import flash.media.Sound; import flash.media.SoundChannel; But the PROGRESS event gives theprogress of loading of file. I want to know of much of the song has been played and how much more is left.

View 3 Replies

Flash :: Dynamically Create New Sound Objects Based On Raw WAV / DATA Or Other Sound Object?

Jan 31, 2012

Is there any AS3 library or code-snippet that can create altered versions of a Sound object on-the-fly (at runtime)? Either based on:

An existing Sound object; A ByteArray object;

For example, say you have a "dry" sound of a gun-shot. You could:

[Code]...

View 1 Replies

ActionScript 2.0 :: Frequency Of A Value In Array?

Jun 8, 2008

I have an array with duplicate values (strings) in it. I would like to have a function that i can call with the string-parameter and returns how many times this string is in the array.

View 7 Replies

Arrays :: How To Use Cepstral And Get The Fundamental Frequency From FFT

Feb 7, 2011

Recently I asked this question: How to get the fundamental frequency from FFT? (you don't actually need to read it) My doubt right now it: how to use the cepstral algorithm? I just don't know how to use it because the only language that I know is ActionScript 3, and for this reason I have few references about the native functions found in C, Java and so on, and how I should implement them on AS. Most articles are about these languages) The articles I found about cepstral to find the fundamental frequency of a FFT result told me that I should do this:

[Code]...

View 3 Replies

ActionScript :: Ratio And Frequency - Even Dispersion

Sep 2, 2011

I have the following:
package {
import flash.display.MovieClip;
public class Ratio extends MovieClip {
private var counter:Number;
private var frequency:Number;
private var ratio:String;
[Code] .....

This outputs something like:
0: true
1: true
2: false
3: false

But what I would actually like is:
0: true
1: false
2: true
3: false
i.e. more even dispersion (alternation)...is there a way to do this?

View 1 Replies

ActionScript 2.0 :: Frequency Of Unique Item In Array?

Apr 11, 2007

how to remove duplicates from an array. But now I need to know how many times each unique item is in an array.

Example:

a,a,a,b,b,c,a

a:4
b:2
c:1

View 4 Replies

ActionScript 3.0 :: WAV File - New Sound.extract() Function To Get Two Seconds Of A Sound Into A ByteArray

Nov 11, 2009

I'm having some trouble getting the following code to work - trying to use the new Sound.extract() function to get two seconds of a Sound into a ByteArray, and then create a new bytearray with a WAV header, and then output the file. The resulting 'test.wav' file sounds very wrong although slightly recognisable? I think I may have some of the WAV header settings may be wrong but I'm not quite sure what's the matter and after a long time scratching

[Code]...

View 5 Replies

Actionscript 3 :: HTML: Start Sound Playback From URL Mid-file Without Buffering All Sound Data To That Point?

Nov 21, 2010

I have a long mp3 file hosted on a standard apache server (30 minutes long so far, but I would like it to work with longer sounds too).I'd like to start playback of this audio within at a specified point. When attempting to use Flash Actionscript 3, my basic tests show that ALL the audio from the start to the position I choose is buffered before playback (Sound.bytesLoaded was my friend here). If I start one second in, it takes about 3 seconds to start playback, 30 seconds in, takes about 25 secondsObviously with a really long mp3, like skipping playback to the middle of a 3-hour audiobook, this isn't going to be practical.Here's the ActionScript 3.0 code I'm using:

button.addEventListener(MouseEvent.MOUSE_DOWN, function():void {
var s:Sound = new Sound();
var req:URLRequest = new URLRequest("http://example.com/audio.mp3");

[code].....

View 1 Replies

Flex :: Using NetConnection And URLStream To Send/receive Data At High Frequency

Jun 17, 2009

I'm writing a Comet-like app using Flex on the client and my own hand-written server.

I need to be able to send short bursts of data from the client at quite a high frequency (e.g. of the order of 10ms between sends).

I also need the server to push short bursts of data at a similarly high frequency.

I'm using NetConnection.call() to send the data to the server, and URLStream (with chunked encoding) to push the data from the server to the client.

What I've found is that the data isn't being sent/received as soon as it's available. For example, in IE, it seems the data is sent every 200ms rather than as soon as NetConnection.call() is called. Similarly, URLStream isn't making the data available as soon as the server is sending it.

Judging by the difference in behaviour between the browsers, it seems as though the Flash Player (version 10) is relying on the host browser to do all the comms. Can anyone confirm this? Update: This is very likely as only the host browser would know about the proxy settings that might be set.

I've tried using the Socket class and there's no problem with speed there: it works perfectly. However, I'd like to be able to use HTTP-based (port 80) connections so that my app can run in heavily fire-walled environments (I tried using a Socket over port 80, but that has its problems).

Incidentally, all development/testing has been done on an internal LAN, so bandwidth/latency is not an issue.

Update: The data being sent/received is in small packets and doesn't need to be in any particular format. For example, I might need to send a short array of Numbers, and this could either be encoded in AMF (e.g. via NetConnection.call()) or could be put into GET parameters (e.g. using sendToURL()). The main point of my question is really to see whether anyone else has experienced the same problem in calling NetConnection/URLStream frequently, and whether there is a workaround (it's also possible that the fault lies with my server code of course, rather than Flash).

View 2 Replies

Actionscript :: Calculate The Average Frequency Of An Audio Recording Captured As A ByteArray In Flash?

Nov 30, 2011

Keeping it simple for now but assuming i have a ByteArray full of sample data is it possible to calculate the average frequency (thus a pitch) from the entire recording? Is this along the right lines? p = 69 + 12 x log2(f/440hz) ...

View 1 Replies

Attach A Sound To A .fla File That Starts To Play When The File Is Opened?

Sep 8, 2009

I would like to attach a sound to a .fla file that starts to play when the file is opened. I have created a button and would like to be able to use this button for a visitor to the site to mute the sound. So, I'm trying to accomplish two things, first attach a .wav file, then get the mute button to work.

View 1 Replies

ActionScript 3.0 :: Playing A Sound File And Graphic Positioning In The Same File

Dec 15, 2009

I have a problem that I have not found a syntax error or logic error to explain. It appears to be an obscure problem related to playing a sound file and graphic positioning in the same file. My next step is to look for any known bugs. I have posted the file at. URL] When the page loads you will see a list of selections. Do not click any of the html Play buttons In the graphic arrow pointing to the right is the play button click it and a default file will start. Click the pause button (which will be green while the selection plays) Then click the play button again. The knob that moves while the song plays, will begin moving from the position it was at the time pause was clicked.

Click the stop button (arrow facing left with vertical line at tip) Choose a selection from the html list by clicking the Play button next to it. Then click the play button in the player display. The title of selection will appear in the title area. repeat the original steps (play, pause, play) This time the knob that moves while song plays, snaps back to the start and moves from start, rather than from the pausedposition.

[Code]...

View 7 Replies

Actionscript 3 :: Use An Audio-file - Preload A Sound-file

Jan 21, 2011

I have AS3 project, made with FlashBuilder. I'm using MovieClips from an external .SWC-file. In a MovieClip from the .SWF-file, I want to use an audio-file. Is it possible to preload a sound-file (e.g. .MP3) in my FlashBuilder project, and access it in a MovieClip inside the .SWC?

View 1 Replies

Actionscript 3 :: Calculate Frequency & Amplitude In Flash With Flash Player 9?

Nov 26, 2009

How can I calculate Frequency & Amplitude in As3 with FP9. I got the all raw byte using

[Code]....

View 1 Replies

Flash :: Create The Sound Visualizer?

Oct 27, 2009

I need to create a basic bar chart distribution in ActionScript 2.0 based on sound output. I realize that ActionScript 3.0 has a very nice sound visualizer class SoundMixer.ComputeSpectrum but the limitations of my project require me to use ActionScript 2.0. Im wondering if you know of

A. Any third party libraries that I can use or purchase to create basic visualization effects based on sound output in AS2

B. Whether it is possible to create the sound visualizer in ActionScript 3.0 and somehow import/embed the AS3 file/swf in the AS2 file but allow the AS3 file to read from the AS2 sound

View 2 Replies

ActionScript 2.0 :: How To Create A Timeline For Sound

Jan 27, 2003

I wonder how to create a timeline for my sound that i attached to a variabel. And then how to control where in the timeline the sound should play.

View 3 Replies

ActionScript 2.0 :: CS4 :: Create A Sound Select Board?

Oct 31, 2009

I need to create a sound select board. There are 6 buttons; 5 which contain music, and one which will silence the music. Each time you push each button, the previous music will stop. The first button's music will start automatically.

View 1 Replies

ActionScript 2.0 :: Create Multiple Sound Buttons

Nov 8, 2009

I am using actionscript 2.0 and I am trying to create multiple sound buttons that trigger multiple different .mp3 files via mouse click.I have gotten it to work with one sound file using this actionscript [code]but as soon as I add another button and try to link it to another file it does not work.I would like to make it so that even if I click another button to start another sound, the first sound keeps playing.

View 1 Replies

Actionscript 3 :: Create Sound Object Dynamically?

Mar 19, 2011

How to create sound object dynamically in one movieClip.

Example

for(i=1;i<5;i++){var sound + i = new Sound();}

View 2 Replies

ActionScript 3.0 :: Create Multiple Sound Variables Using It?

Mar 30, 2011

My issue is that I have 10 small audio clips and I want to make them into variables that i can access later in the code. But I'd be happy if I didn't have to write the same code 10 times down over and over to create/access them.[code]...

A question on the side, is there any built in sound generator in actionssccript 3.0?

View 1 Replies

ActionScript 2.0 :: Create An Infinite Loop For A Sound?

Mar 20, 2003

how to use actionscript loops to loop things, like sounds for example. Can someone show me how to create an infinit loop for a sound. If you can a step by step thing would be nice since i am a TOTAL newb at actionscript, i can do the other things in flash but the actionscript messes me up. And for the loops, what frame do i put it in in the actionscript if i want to to go throught the entire scene?

View 6 Replies

ActionScript 2.0 :: Create The Sound Seeker In Flash?

May 18, 2009

create the sound seeker in flash (actionscript 2.0)..

View 1 Replies

ActionScript 2.0 :: Using Loop To Create Sound Object?

Aug 18, 2009

why does this not working?

for (i=0; i<=numVoices; i++) {
var this["voice"+i]:Sound= new Sound();
}

[code]......

View 2 Replies

ActionScript 3.0 :: Create A Simple Sound Playlist At Runtime?

Dec 15, 2011

This is what I try to do: I am creating a game with spoken sentences. These sentences are loaded dynamically from an XML file, which contains the paths to mp3-files.This is what is currently happening: All sentences are spoken at the same time.I want them to be spoken one after another - how to I obtain this requirement?This is my (simplified) code example:

import com.hydrotik.queueloader.QueueLoader;
import com.hydrotik.queueloader.QueueLoaderEvent;
_oLoader.addEventListener(QueueLoaderEvent.ITEM_COMPLETE, onItemComplete,false, 0, true);

[code].....

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved