Skip to content

本项目使用python来实现调用设备的麦克风录音,并保存到指定文件中去

Notifications You must be signed in to change notification settings

frozenleaves/pymicrophone

Repository files navigation

本项目使用python来实现调用设备的麦克风录音,并保存到指定文件中去
文件格式应为wav格式
用法:

example:

    from PyMicrophone import microphone as mp

    m = mp.Microphone("test.wav", 30)
    m.record()
    m.save()

注意:Microphone类被实现为单例模式

About

本项目使用python来实现调用设备的麦克风录音,并保存到指定文件中去

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages