.. _moduleAudioSearch.recording:

music21.audioSearch.recording
=============================

.. WARNING: DO NOT EDIT THIS FILE: AUTOMATICALLY GENERATED. Edit the .py file directly

.. module:: music21.audioSearch.recording


modules for audio searching that directly record from the microphone.


Requires PyAudio and portaudio to be installed (http://www.portaudio.com/download.html)


To download pyaudio for windows 64-bit go to http://www.lfd.uci.edu/~gohlke/pythonlibs/


users of 64-bit windows but 32-bit python should download the win32 port


users of 64-bit windows and 64-bit python should download the amd64 port






.. function:: samplesFromRecording(seconds=10.0, storeFile=True, recordFormat=None, recordChannels=1, recordSampleRate=44100, recordChunkLength=1024)


    records `seconds` length of sound in the given format (default Wave)
    and optionally stores it to disk using the filename of `storeFile`


    Returns a list of samples.



