Giter Club home page Giter Club logo

draw-audio-spectrum-using-opencv's Introduction

Draw-Audio-Spectrogram-Using-OpenCV

オーディオスペクトラムや波形をOpenCVで描画するサンプルです。

Requirement

opencv-python 4.5.5.62 or later
PyAudio 0.2.11         or later

WindowsでPyAudioをインストールしたい方は、自力でビルドするか、
非公式のWindowsビルドPyAudioを用いてください。

Contents

No.0
No.1
No.2
No.3
No.4

Usage

デモの実行方法は以下です。

python sample.py
  • --device
    マイクなどの入力デバイス番号の指定
    デフォルト:1
  • --wave
    Waveファイルの指定 ※指定時はマイクデバイスより優先
    デフォルト:指定なし
  • --frames
    フレーム読み出し数
    デフォルト:2048
  • --fft_n
    FFTポイント数
    デフォルト:1024
  • --draw_type
    Contentsの描画種別
    デフォルト:0

Author

高橋かずひと(https://twitter.com/KzhtTkhs)

License

Draw-Audio-Spectrogram-Using-OpenCV is under Apache-2.0 license.

draw-audio-spectrum-using-opencv's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.