Javascript :: The Best Scripting Language For Web Audio / Sound

Jul 1, 2010

I'm looking to start learning a scripting language for web audio and sound development. It needs to be able to handle simultaneous audio events, eg; to trigger a sound when another is playing (I'm not sure if and how this is possible, but have witnessed this kind of presentation: [URL] (can this kind of thing be done with JavaScipt?, this looks like AS / Flash)).

From what I can tell the choice appears to be between JavaScript (JS) and ActionScript (JS), with details as follows: - If going the JS route (look into JS and HTML(5) audio capability) Learn about the basics of HTML and CSS, and then start to look into JavaScript, Ajax, and JQurey (library / framework for JavaScript). If going the AS route Will not need to know as much about HTML and CSS. AS is the language behind Flash. Not supported on the i-phone(?) I know Java to around an intermmediate level.

[Code]...

View 3 Replies


Similar Posts:


Javascript :: Possible To Access The Internal Elements Of An Embedded Flash Object Via A Scripting Language?

Nov 16, 2010

I would like to be able to access all the components of say a Flash image gallery on someone else's site. I want to be able to find the images, image coordinates, action script code, audio files, video, etc. I do not want to manipulate these elements, I just want to view them and their related information.

View 2 Replies

ActionScript 3.0 :: Scripting Language In Flash?

Dec 2, 2009

I'm using Flash CS3 with Actionscript 3, and I need to have a scripting language that the user can use. If they could type in their own actionscript and have it evaluated, that would be perfect. Another scripting language such as Lua would be fine too. I looked into lua alchemy, but it seems poorly supported so I'd rather not use that. The Eval command from actionscript 2 isn't available in as3, and some of the things I've heard indicate that it's functionality is pretty limited, although I've never used it before.

View 1 Replies

What Is The Recommended Scripting Language For Talking Between Flash And Facebook API

Dec 10, 2009

Currently I have a flash based application (game) which I need to put on facebook, the users could save their scores and resume their game. For the task I was wondering which scripting language would be appropriate. And are there any API's available which could in the process. Or does one has to make all of it from scratch.

View 1 Replies

ActionScript 2.0 :: Control Timeline Audio Through Scripting?

Jan 13, 2010

Is there any way we can control the audio which is been put on the timeline? I need to do it through AS2.

View 0 Replies

Objective C :: What Language/API To Use For A Standalone Live-input Audio Visualizer App

Mar 24, 2010

I develop with Actionscript and was glad to see that AIR 2.0 was going to give access to mic input data. I planned to use this to create a visualizer set to the tempo of the incoming live audio. After doing a few days of google research it seems unlikely that it will be possible to analyze the data of the mic input in Flash/AIR. If anyone has ideas on how I can achieve this in AIR please let me know. (I'm open to workarounds.)Run on OSX Two windows - one that can go fullscreen while the other(controller GUI) stays put Able to access live mic input data I've done reading on FFT and understand what needs to be done on the sound side so no need to help with that.

View 1 Replies

ActionScript 2.0 :: Flash Scripting Call The Sound From The Library At The Timeline?

Sep 12, 2002

I have a flash movie which has got 5 scenes and from scene 2 onwards i am using sound. In scene 1 I have made a prelaoder. My problem is that it starts loading sounding in scene 1 frame 1. Is there any way by which the sound starts prelaoding in frame 2.

Problem 2.I am using same sound in different scenes timeline. How can we by flash scripting call the sound from the library at the timeline.I am using F 5.

View 3 Replies

CS4 Media Encoder Audio - Audio Sound Stops After A Few Seconds From The Beginning?

Aug 4, 2009

I am converting from .FLV's to .F4V. Video outputs fine but the audio sound stops after a few seconds from the beginning.I have tried many different settings for the audio with no luck. Also, tried on a colleague's machine who is running CS3, which works fine, so something is buggy in CS4...

View 1 Replies

Javascript :: Language To Choose For A Board Game (flash Or HTML5)?

Dec 7, 2010

I am developing a web based multi-player board game and wondering what the best language for the UI would be? Its a board game similar to Go but a lot simpler.I have two options flash or the much touted HTML5 with JS. I have to learn both though I have basic knowledge of JS.The problem with flash is I have to pay for the server component but the UI development could be easier and have a richer look and feel to it. With HTML5 + JS there is no cost involved but the UI development I feel will be clunky and not smooth. This I am not sure.

View 6 Replies

Media Server :: Send Sound With Stream (both Sound And Mic Audio)?

Oct 6, 2011

I have a broadcasting project that I've got where the host of the show can have multiple sound effects they can use on their show.I'm wondering if the only way to go about this is for all the clients listening to the show need to download the mp3 of that sound effect or if the sound effect could come from the host ...like combining his mic (for his voice) but also straight audio (the sound effect) into the stream.

View 1 Replies

Javascript :: Streaming Audio On Website?

Oct 28, 2010

I am interested in streaming audio on my website, but I have no clue where to begin. There are two types of streaming I hope to achieve. The first would be streaming a playlist of songs stored on the server and the second would be live audio streaming. Can anybody recomend any good sites or plugins to use?

View 2 Replies

Javascript :: Use Flash Backend For New Audio()?

Mar 9, 2012

I've made a website, to test the html5 audio. Unfortunately some browser doesn't support it. How to use a flash backend? I haven't found anything useable. The flash backend examples on the web use the DOM element, not the new Audio(). I don't want to use JQuery for this little experiment.

My code:

<!DOCTYPE html>
<html>
<head>

[Code]....

View 3 Replies

ActionScript 3.0 :: Globally Mute Audio From Javascript?

Oct 19, 2010

I just started developing flash recently and I need to globally mute the audio in an swf by javascript ... I've got the following functions in my AS3 already.

Code:

function mute():void
{
var st:SoundTransform = new SoundTransform(0);
SoundMixer.soundTransform = st;

[code]...

Do I need to use addCallback() somehow to trigger this through javascript?

View 4 Replies

Javascript :: IE Not Letting Flash Stream Audio

Dec 10, 2009

This problem is happening is both IE8 and IE7. I have a small swf compiled with flex. It's basically just a wrapper around audio streaming functionality. All the controls and such are in html with javascript. I load the swf using swfobject's "static" method. This works great in Firefox and Chrome. In IE, the swf loads correctly, but as soon as I try to stream any audio with it, I get an error. EDIT: I've reduced the code quite a bit to try and find the problem. You can see the new version running here. Here is the error, html and flex files for my reduced version:

[Code]...

View 2 Replies

Javascript :: Record Audio With Mic And Send To Server?

Mar 24, 2011

What is the best option for recording audio with microphone on website and send to server for some operation.

1) java/javascript

2) red5

3) flash/flex

4) silverlight

5) other(specify)

I want to create something like this : [URL]

View 2 Replies

Javascript :: Customized Audio Skin In HTML?

Dec 22, 2011

I'm new to HTML. I used the following code for a default skin<embed src="***.mp3" width="400" height="100" autostart="true"></embed>

View 1 Replies

Javascript - Free Audio Players For Website Streaming?

May 7, 2010

Are there any free audio players that I can use in my website? Are they customizable?

I've heard of Soundmanager 2. It's a flash based player with a javascript front-end.

Are there any other free players like that?

View 2 Replies

Flash :: Javascript - Detect Auto Audio On The Page?

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

Javascript :: Detecting Audio In Third Party Online Advertisements?

Mar 1, 2011

In an ideal world, I could do this through a browser in real-time and send a notification that would include the DOM information needed to remove the ad. In this type of model, I could theoretically then use all clients (web visitors) as test subjects. I believe that this might be far fetched, and thus will need to rely on a smaller subset of users. I'm looking for any way to do this. I have even thought about using speakers and a microphone to detect when a sound is playing, and then some how capture a screenshot and the DOM information.

View 1 Replies

Flash :: Javascript Library For Recording User Audio?

May 8, 2011

This isn't another one of those "How can I record audio in the browser?" questions... I know that the HTML5 Stream API is around the corner and Flash can already access the user's microphone and camera. I'm simply wondering, as a Javascript developer with little knowledge of Flash, if anyone has developed a JS library that hooks into Flash's device capabilities for recording but sends the results back to javascript (presumably using ExternalInterface).

In other words... libraries like SoundManager2 utilize a Flash fallback for audio playback, but they don't seem to allow for recording. Has anyone written a JS library that uses an invisible Flash movie to allow audio recording?

View 2 Replies

Flash :: Javascript - Html Elements Of Audio Player

Jun 9, 2011

I use flash audio player like:

[Code]...

and I want to use hotkeys for audio play, so I need to know html element id for play button.

View 1 Replies

Javascript :: Capture Audio Input With Flash Or Html5?

Dec 21, 2011

I am trying to capture the microphone and send the recording to my server.. I tried this method here but it records only a big WAV and the upload can be slow sometimes. Is there a way to capture the voice and compress it on the client side? Best method would be to send the recording while recording, but I have no Idea if this is possible. (It works for YouTube Live Webcam recording, it must work for Audio only too..)

View 1 Replies

Flash :: Arrays - Passing Audio Data ByteArray To Javascript?

Sep 7, 2011

I'm able to record sound with a Flash application embedded in my website, this audio is saved to a ByteArray, which I need to pass to Javascript in order to post to my server along with other required data.

I know I can use AS3 ExternalInterface class to communicate with Flash from Javascript, but what would be the appropriate format or variable type in javascript to hold the ByteArray, and how can I ensure that I won't lose much audio data when doing so?

View 1 Replies

Flash :: Javascript - Make An Audio File And Player Embeddable?

Feb 20, 2012

I've got a flash player (using JWPlayer) that plays an audio file. The file plays fine. How do I provide the embed code for end-users to copy, so they can post the player and play the audio file on their own site directly? Should I be using HTML <pre> tags somewhere? Or JavaScript to generate the embed code / link?

[Code]...

View 1 Replies

ActionScript 3.0 :: Sound Mixer - Mix Several Audio Streams?

Nov 12, 2008

Is it possible to mix several audio streams? I want to play several audio tracks simultaneously, but several factors that are at times, the audio tracks are out of sync, such as latency Sound.play method, the for loop, the spec of users PC, FLash Player version, operating system etc

View 1 Replies

Android :: APK File - No Sound When Streaming Audio In AIR

Jan 28, 2012

I'm working on an app to stream audio from shoutcast. The streaming goes well on my computer and when debugging it with an Android-configuration. But when I deploy it to an APK-file and run it on a Samsung Galaxy S, the streaming doesn't work.

My code for streaming the audio:
var urlRequest:URLRequest = new URLRequest("http://.../;");
var soundContext:SoundLoaderContext = new SoundLoaderContext(2000, true);
soundChannel = new SoundChannel();
sound = new Sound(urlRequest, soundContext);
soundChannel = sound.play();

I've also tried an addEventListener(Event.COMPLETE), it seems my app doesn't get there when running on a Samsung Galaxy.

View 1 Replies

ActionScript 2.0 :: [CS3/CS4] Loading Audio From XML, Sound Won't Play

Sep 8, 2009

I've been working on a Flash/XML audio player and have been struggling with getting the audio to stream. Right now I have Flash create a list of songs based on the loaded XML file, which works, and I want to be able to click on one of the listed items for the song to start playing. When an item is clicked on, Flash will trace out a message from an onLoad command, but the audio never starts playing.

I opened a new Flash file to test the non-working segment of code and I still can't get it to co-operate.

Code:
var currentsong:Sound = new Sound();
currentsong.loadSound("http://www.vtspencer.com/recordjackets/beta/media/file_11.m4a",true);

[Code]...

All that happens is that the trace saying "Should be playing" comes through. The music still won't start.

View 1 Replies

ActionScript 3.0 :: Sound.extract() On Streaming Audio?

Sep 8, 2010

I'm picking up Flash and AS3 after working with AS1 a few years back. My first project is a mp3 player that is able to take an mp3 file, a start loop point, and an end loop point to loop the mp3 without any gaps or breaks in the sound.

blog.andre-michelle.com/2010/playback-mp3-loop-gapless

I found this page that got me started, and went off of that code. The resulting player works perfectly except for one fatal flaw. As far as I know, the mp3 file must be fully loaded to be able to use the Sound.extract method on it, this can take a while when the files are 3-4 MB, especially on slow connections. I want to be able to have the audio start playing as soon as the mp3 file begins loading.Is there any way to use the Sound.extract method on a streaming audio file that has not fully loaded yet?

View 6 Replies

ActionScript 2.0 :: Sound Object - Specifying Only Certain Audio To Stop

Nov 14, 2005

I am creating a flash project which contains video on a few pages. The project also contains background music which loops continuously. The goal is to have the background music stop whenever the user is on a page containing video and for the music to play again when the user leaves said page. The script I created works to stop the music, but it also stops the audio contained within the video and causes the video player (by proxxus) to lock up.

Here's the setup:
Library:
music.wav - linkage = "myMusic01"

Main Timeline:
Code:
//-- create a variable to determine if the current movie contains video
var currMovie:String = "notVideo";
//-- start playing sound object
myMusicMc.myMusic.start(0, 999);
[Code] .....

On the actions layer of the movie clip containing my navigation controls snippet of the callback used
Code:
videoLink_mc.onRelease = function() {
_parent.prodDetail_mc.gotoAndPlay("video");
_root.currMovie="Video";
}
on all the other buttons currMovie is set to "notVideo".

View 12 Replies

ActionScript 3.0 :: Audio Manipulation Reading Values In The Sound

Feb 14, 2010

As I've searched a lot and couldn't find it I thought of asking it here. Is there any good package or tutorial on Audio Manipulation? With this I'm not talking about play/stop/volume etc, but more on bitrate/speed manipulation etc. Or reading values in the sound (like an EQ does basically).

View 2 Replies







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