This repository was archived by the owner on Apr 19, 2023. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork7
DTMF Tone Generator and Receiver
License
NotificationsYou must be signed in to change notification settings
meefik/dtmf.js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Library for sending and receive DTMF codes.
Receiver
varreceiver=newDTMF.Receiver({duration:100,step:10});// for capture an audio you need to use localhost or HTTPSnavigator.getUserMedia({audio:true},function(stream){receiver.start(stream,function(char){console.log(char);});},function(e){alert('Cannot access audio stream.');console.log(e);});// for stop listening// receiver.stop();
Sender
varsender=newDTMF.Sender({duration:100,pause:40});sender.play('1234567890ABCD#*');// for destroy sender instance// sender.destroy();
See this video:https://youtu.be/OS6yIiq_Cp8
About
DTMF Tone Generator and Receiver
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.