V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐关注
Meteor
JSLint - a JavaScript code quality tool
jsFiddle
D3.js
WebStorm
推荐书目
JavaScript 权威指南第 5 版
Closure: The Definitive Guide
est

我也用 1k 字节 js 撸了个 DTMF 电话拨号音模拟

  •  1
     
  •   est · Oct 30, 2022 · 3340 views
    This topic created in 1275 days ago, the information mentioned may be changed or developed.

    之前有 @xiangyuecn 发过类似的帖子 /t/685157 ,感觉用 PCM+FFT 是不是太麻烦了。。于是撸了个巨简单的

    在线 demo:http://lab.est.im/dtmf

    可以手机拨打 10086 之后,在这个网页上输入 1 2 3 之类的发出声音,控制电话里的菜单跳转玩

    45 行 1000 字节左右。javascript 和 H5 其实可玩性挺强的。

    5 replies    2023-04-10 09:52:51 +08:00
    matthewzhong
        1
    matthewzhong  
       Oct 31, 2022
    非常有趣,点赞
    kalos
        2
    kalos  
       Oct 31, 2022
    哈哈,用空格和"-"来模拟发了一段电报
    40EaE5uJO3Xt1VVa
        3
    40EaE5uJO3Xt1VVa  
       Oct 31, 2022
    挺有意思的,会开源吗,我想拿来玩玩
    est
        4
    est  
    OP
       Oct 31, 2022
    @yanzhiling2001 开源吧。右键查看 html 即可。。。


    github https://github.com/est/snippets/blob/master/dtmf/index.html
    shipLoad
        5
    shipLoad  
       Apr 10, 2023
    牛啊 页面美化一下更牛了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1234 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 317ms · UTC 23:35 · PVG 07:35 · LAX 16:35 · JFK 19:35
    ♥ Do have faith in what you're doing.