Not really sure...
Not really sure what I might have done but I just sat down at the computer and the terminal had this displayed:
Freq: 527 Level: 3053
Freq: 510 Level: 3053
Freq: 521 Level: 3053
Freq: 521 Level: 3053
Freq: 532 Level: 3053
Freq: 516 Level: 3053
Freq: 451 Level: 3053
Freq: 677 Level: 3053
Expression 'alsa_snd_pcm_poll_descriptors_revents( self->pcm, pfds, self->nfds, &revents )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3597
Expression 'PaAlsaStreamComponent_EndPolling( &self->capture, capturePfds, &pollCapture, &xrun )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3793
Expression 'PaAlsaStream_WaitForFrames( stream, &framesAvail, &xrun )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4338
Traceback (most recent call last):
File "TwoToneDetect59Pi.py", line 683, in <module>
File "TwoToneDetect59Pi.py", line 672, in record
File "/usr/lib/pymodules/python2.7/pyaudio.py", line 564, in read
return pa.read_stream(self._stream, num_frames)
IOError: [Errno Unanticipated host error] -9999
pi@raspberrypi ~/TTD59/dist $
The log doesn't show any problem prior to that. It looks like it shut TTD down.
I have been working on sound settings this morning but hadn't touched anything for an hour or so before this happened.
Now when I try to restart TTD I get the name "stream" error. This makes it look like it changed Index numbers mid-stream?
You are correct that I hadn't put the line in from the Audio issues comment at the end of the instructions. Will do that now.
Jim