Record sound: Difference between revisions

Content deleted Content added
Created page with "{{task}} Record sound (mono 16-bit PCM) into an integer array. =={{header|Python}}== <lang python>import pyaudio chunk = 1024 FORMAT = pyaudio.paInt16 CHANNELS = 1 RATE = 4410..."
 
Line 10:
CHANNELS = 1
RATE = 44100
 
p = pyaudio.PyAudio()
 
stream = p.open(format = FORMAT,