Distributions
› Ubuntu
› Fedora
› CentOS
中文资源站
› 网易开源镜像站
tamamaxox
V2EX  ›  Linux

如何通过一个耳机线控操作执行程序?

  •  
  •   tamamaxox · May 13, 2014 · 4587 views
    This topic created in 4558 days ago, the information mentioned may be changed or developed.
    哪里有相关的资料或者脚本吗?

    系统是arch
    8 replies  •  2014-05-14 11:12:57 +08:00
    tonyluj
    tonyluj
    May 13, 2014
    1
    arch?
    笔记本或台式机的3.5mm的line-out or audio-out不支持线控吧
    lightening
    lightening
    May 13, 2014
    2
    @tonyluj 现代电脑的 3.5mm 接口都是带麦克风/线控的。
    soundbbg
    soundbbg
    May 13, 2014
    3
    为硬件写一个简单的驱动程序?
    tamamaxox
    tamamaxox
    OP
    May 13, 2014
    4
    我意思是这样的:
    像音乐软件一样,通过线控来控制音乐。

    我像通过线控为自己的PI执行一些简单的操作。
    当然用ssh可以完成这些工作,但是有些简单又高频工作使用ssh不够方便。

    @tonyluj
    @lightening
    @soundbbg
    tonyluj
    tonyluj
    May 14, 2014
    5
    @lightening
    @tamamaxox
    麦克风是有的 不过线控貌似也是通过MIC和GND进行控制的吧
    那是否可以监听MIC来实现
    lightening
    lightening
    May 14, 2014
    6
    @tonyluj 是的,当然可以监听 MIC。以前 Windows 上还有个监听 MIC 的模拟信号做得示波器软件呢。
    lightening
    lightening
    May 14, 2014
    7
    @tonyluj 但是我想,既然可以用这个来控制播放暂停,系统一定已经有处理这个信号的功能了。只要找到这个地方,插入一段代码就行。
    tamamaxox
    tamamaxox
    OP
    May 14, 2014
    8
    (⊙o⊙)哦。线控的方案好像有点绕路了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5266 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 03:45 · PVG 11:45 · LAX 19:45 · JFK 22:45
    ♥ Do have faith in what you're doing.