Array

Accessing Metadata, Audio Example Using Multitouch

Must Read

Avoid Default With Deferred Student Loans

With the economy the way it is now, millions of college graduates from around the country are having a...

Business Blogging – the art of headline

An effective headline is one that not only captures the reader's attention and interest, but also accurately reflects what...

Types of Personal Injury Lawsuits and How to Know If You Qualify

Personal injury is a legal term for an injury that occurs to the body, mind or emotions, as opposed...

Customer service is key to the success of small business sales

Several times during the sales process when a client after critical.1. If the customer is the process of buying...

IPTV Concepts

As described in Ref. , IPTV deals with approaches, technologies, and protocols to deliver commercial-grade SD and HD entertainment-quality...

Advantages of Home Equity Fixed Rate

A home equity can either be fixed rate or a variable rate. Most people would opt for home equity...
Admin
test

When playing AAC files, you have access to metadata information that can be useful for your application. In this example, we are tracing the duration and the codec:

import flash.net.NetConnection;
import flash.net.NetStream;
var connection:NetConnection;
connection = new NetConnection();
connection.connect(null);
var stream:NetStream = new NetStream(connection);
// define the stream client property
var metaObject:Object = new Object();
metaObject.onMetaData = onGetMetaData;
stream.client = metaObject;
stream.play(“someAudio.m4a”);
function onGetMetaData(data:Object):void {
// audio duration
trace(data.duration*1000, “milliseconds”);
// codec
trace(data.audiocodecid);
for (var prop:String in data) {
trace(prop, data[prop]);
}
}

Audio Example Using Multitouch

You can develop a musical instrument or device to trigger audio and music. Android devices only support two simultaneous touches; however, they support a range of gestures.

You can, for instance, use a left-to-right swipe gesture to turn the volume up and a right-to-left swipe gesture to turn the volume down.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest News

Digital Marketing for Beginners

Digital marketing for starter, Let to basic learning about connecting with your audience in the right place...

What are 7 things poor people do that the rich don’t?

1. poor people watch TV in which people read books how many hours you spend in front of the TV and when...

Top 18 best small business ideas for beginners starting

A small business can be frightening and requires plenty of careful planning there are many small business ideas which can be beneficial...

Summer that makes you happy

We saw were already here I've been thinking about some of the things. I used to do with my husband even though...

4 Point to helpful tips specifically for caregivers

What you need to take a vacation. I know it sounds impossible creative and try to make it work for you almost...

More Articles Like This