By Michael Sanelli
20 Jun 2014 04:13
English
1 Replies
Hi, I'm trying to use webkitAudioContext for create audio at runtime, but It don't work.
var context = new audioContext(),//webkit browsers only
oscillator = context.createOscillator();
oscillator.type = 0; // sine wave
oscillator.frequency.value = 2000;
oscillator.connect(context.destination);
oscillator.noteOn && oscillator.noteOn(0);
Javascript doesn't give me any error, but my Gear2 don't emit any sounds.
Thanks a lot
Edited by: Michael Sanelli on 20 Jun, 2014
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------