Guest User

Untitled

a guest
Nov 11th, 2017
163
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. arecord -f S16_LE -r 48000 -d 10 est.wav
  2. Aufnahme: WAVE 'est.wav' : Signed 16 bit Little Endian, Rate: 48000 Hz, mono
  3.  
  4. aplay est.wav
  5. Wiedergabe: WAVE 'est.wav' : Signed 16 bit Little Endian, Rate: 48000 Hz, mono
  6.  
  7. Works. I can hear my recorded voice.
  8.  
  9. Also the device # is now correct
  10.  
  11. aplay -l
  12. **** Liste der Hardware-Geräte (PLAYBACK) ****
  13. Karte 0: Device [USB Audio Device], Gerät 0: USB Audio [USB Audio]
  14. Sub-Geräte: 1/1
  15. Sub-Gerät #0: subdevice #0
  16.  
  17. arecord -l
  18. **** Liste der Hardware-Geräte (CAPTURE) ****
  19. Karte 0: Device [USB Audio Device], Gerät 0: USB Audio [USB Audio]
  20. Sub-Geräte: 1/1
  21. Sub-Gerät #0: subdevice #0
  22.  
  23. But still having this errors when staring the testing branch. See below(i just cut the repeating error and stop it with ctrl+c, otherwise it seems it would run infinite.
  24.  
  25.  
  26.  
  27.  
  28. --------------------------------------------------------------------------------
  29.  
  30.  
  31. ./sopare.py -l -v
  32. sopare 1.3.8
  33. ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
  34. ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
  35. ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
  36. ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
  37. ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
  38. ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
  39. ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
  40. ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
  41. ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
  42. Cannot connect to server socket err = No such file or directory
  43. Cannot connect to server request channel
  44. jack server is not running or cannot be started
  45. JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
  46. JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
  47. No handlers could be found for logger "sopare.recorder"
  48. INFO:root:checking for plugins...
  49. DEBUG:root:loading and initialzing plugins/print
  50. INFO:sopare.recorder:start endless recording
  51. INFO:sopare.worker:worker queue runner started
  52. WARNING:sopare.recorder:stream read error [Errno -9981] Input overflowed
  53. WARNING:sopare.recorder:stream read error [Errno -9988] Stream closed
  54. WARNING:sopare.recorder:stream read error [Errno -9988] Stream closed
  55. WARNING:sopare.recorder:stream read error [Errno -9988] Stream closed
  56. WARNING:sopare.recorder:stream read error [Errno -9988] Stream closed
  57. WARNING:sopare.recorder:stream read error [Errno -9988] Stream closed
  58. INFO:sopare.buffering:buffering queue runner
  59. WARNING:sopare.recorder:stream read error [Errno -9988] Stream closed
  60. ......
  61. ......
  62. ........
  63. WARNING:sopare.recorder:stream read error [Errno -9988] Stream closed^CProcess buffering queue:
  64. Process worker for filtered data:
  65. Traceback (most recent call last):
  66. Traceback (most recent call last):
  67. File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  68. self.run()
  69. Traceback (most recent call last):
  70. File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  71. File "./sopare.py", line 162, in <module>
  72. main(sys.argv[1:])
  73. File "./sopare.py", line 104, in main
  74. recorder.recorder(hatched)
  75. File "/home/pi/Programs/test/sopare/sopare/recorder.py", line 60, in __init__
  76. File "/home/pi/Programs/test/sopare/sopare/buffering.py", line 41, in run
  77. buf = self.queue.get()
  78. self.run()
  79. self.recording()
  80. File "/home/pi/Programs/test/sopare/sopare/recorder.py", line 104, in recording
  81. File "/home/pi/Programs/test/sopare/sopare/worker.py", line 90, in run
  82. obj = self.queue.get()
  83. self.logger.warning("stream read error "+str(e))
  84. File "/usr/lib/python2.7/logging/__init__.py", line 1179, in warning
  85. File "/usr/lib/python2.7/multiprocessing/queues.py", line 117, in get
  86. File "/usr/lib/python2.7/multiprocessing/queues.py", line 117, in get
  87. res = self._recv()
  88. self._log(WARNING, msg, args, **kwargs)
  89. File "/usr/lib/python2.7/logging/__init__.py", line 1286, in _log
  90. res = self._recv()
  91. KeyboardInterrupt
  92. KeyboardInterrupt
  93. self.handle(record)
  94. File "/usr/lib/python2.7/logging/__init__.py", line 1296, in handle
  95. self.callHandlers(record)
  96. File "/usr/lib/python2.7/logging/__init__.py", line 1336, in callHandlers
  97. hdlr.handle(record)
  98. File "/usr/lib/python2.7/logging/__init__.py", line 759, in handle
  99. self.emit(record)
  100. File "/usr/lib/python2.7/logging/__init__.py", line 882, in emit
  101. stream.write(fs % msg)
  102. KeyboardInterrupt
RAW Paste Data