I use pyaudio library to read sound from audiocard. I use the following code
stream = pyaudio.PyAudio().open(format=pyaudio.paInt16, channels=2,
rate=44100, input=True,
frames_per_buffer=1024)
CHUNK = 1024
frames = []
for i in range(0, int(44100 / 1024 * seconds)):
data = stream.read(CHUNK)
frames.append(data)
I want to know what is one frame, what is one chunk and what is their format. It seems like there's no such info in the library description.