Read the data of a single channel from a stereo wave file wave with 24-bit data in Python
<p>I want to read the left and rigth channel.</p>

<pre><code> import wave
 origAudio = wave.open("6980.wav","r")
 frameRate = origAudio.getframerate()
 nChannels = origAudio.getnchannels()
 sampWidth = origAudio.getsampwidth()
 nbframe=origAudio.getnframes()
 da = np.fromstring(origAudio.readframes(48000), dtype=np.int16)
 origAudio.getparams()
</code></pre>

<p>the parametre</p>

<pre><code>  (2, 3, 48000, 2883584, 'NONE', 'not compressed')
</code></pre>

<p>Now I want to separate left and right channel with wave file in 24 bit data</p>