By destianrezza
on Tue, 03/12/2013 - 00:10
hello all,
i'm beginer native programmer,
anyone help me, how to play sound using when image trackable and rendering 3d object,
I want play different sound in each target.. i'm using ImageTargets sample code..
thanks before :)
[help] how to play audio when image trackable
Hi, the Dominoes sample shows how to play a simple sound using the SoundPool Android API;
have a look at the class SoundManager class (SoundManager.java), and also to the file DominoesRenderer.java where this is used;
[help] how to play audio when image trackable
I've tried it, but the sound comes when the 3D object is not rendered and also the sound only appears in 5 seconds,
can give me tutorial can using the MediaPlayer instead of using soundpool..
please help me :)
[help] how to play audio when image trackable
The VideoPlayback sample shows how to use the Android MediaPlayer (to play videos, but you can also use it just for audio).
[help] how to play audio when image trackable
thanks
[help] how to play audio when image trackable
Sure, you can combine the 3D model rendering code (for instance from ImageTargets sample), with the code to play audio (taking the necessary MediaPlayer specific code from VideoPlayback sample);
but we don't have a specific tutorial about that.
[help] how to play audio when image trackable
May I see the script?
I want play different sound
I want play different sound in each target.. i'm using ImageTargets sample code.. any one pls help me out