{"action":"created","issue":{"url":"https://api.github.com/repos/simonyiszk/openwebrx/issues/44","repository_url":"https://api.github.com/repos/simonyiszk/openwebrx","labels_url":"https://api.github.com/repos/simonyiszk/openwebrx/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/simonyiszk/openwebrx/issues/44/comments","events_url":"https://api.github.com/repos/simonyiszk/openwebrx/issues/44/events","html_url":"https://github.com/simonyiszk/openwebrx/issues/44","id":168844763,"number":44,"title":"No Audio on OS X","user":{"login":"mehdideveloper","id":12119776,"avatar_url":"https://avatars.githubusercontent.com/u/12119776?v=3","gravatar_id":"","url":"https://api.github.com/users/mehdideveloper","html_url":"https://github.com/mehdideveloper","followers_url":"https://api.github.com/users/mehdideveloper/followers","following_url":"https://api.github.com/users/mehdideveloper/following{/other_user}","gists_url":"https://api.github.com/users/mehdideveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/mehdideveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mehdideveloper/subscriptions","organizations_url":"https://api.github.com/users/mehdideveloper/orgs","repos_url":"https://api.github.com/users/mehdideveloper/repos","events_url":"https://api.github.com/users/mehdideveloper/events{/privacy}","received_events_url":"https://api.github.com/users/mehdideveloper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-02T09:55:59Z","updated_at":"2016-08-05T22:04:38Z","closed_at":null,"body":"Hi\r\nI'm trying to run the latest openwebrx with RTL-SDR and I've no errors and I can see the spectrum, but no audio!\r\nThe only audio-related log in Chrome's developer tools is this: \r\n\r\n> audio_calculate_resampling() :: 4, 11025\r\n\r\nAlso here's the first lines of log when I run openwebrx:\r\n\r\n> [openwebrx-main] Configuration script not specified. I will use: \"config_webrx.py\"\r\n[openwebrx-import] Found plugin: plugins.dsp.csdr.plugin\r\nNcat: Version 7.12 ( https://nmap.org/ncat )\r\n[openwebrx-main] Started rtl_thread: rtl_sdr -s 1800000 -f 88000000 -p 0 -g 5 -| ncat -4l 4951 -k --send-only --allow 127.0.0.1\r\n[openwebrx-main] Waiting for I/Q server to start...\r\nFound 1 device(s):\r\n  0:  Realtek, RTL2838UHIDIR, SN: 00000001\r\nUsing device 0: Generic RTL2832U OEM\r\n[openwebrx-main] I/Q server started.\r\n[openwebrx-main] Starting watchdog threads.\r\n[openwebrx-main] Starting spectrum thread.\r\n[openwebrx-spectrum] Spectrum thread initialized successfully.\r\n[openwebrx-dsp-plugin:csdr] Command = ncat -v 127.0.0.1 4951 | csdr convert_u8_f | csdr fft_cc 4096 200000 | csdr logpower_cf -70 | csdr fft_exchange_sides_ff 4096 | csdr compress_fft_adpcm_f_u8 4096\r\n[openwebrx-spectrum] Spectrum thread started.\r\nNcat: Version 7.12 ( https://nmap.org/ncat )\r\nNcat: Connected to 127.0.0.1:4951.\r\nFound Rafael Micro R820T tuner\r\nSampling at 1800000 S/s.\r\nTuned to 88000000 Hz.\r\nTuner gain set to 3.70 dB.\r\nReading samples in async mode...\r\n[openwebrx-main] Starting HTTP server.\r\n\r\nI've tried changing \"audio_compression\" to \"none\" and also bigger values for \"client_audio_buffer_size\" without success!\r\n\r\nWhen I close my browser, these errors are shown in the terminal:\r\n\r\n> [openwebrx-httpd] error in dsp.stop()\r\n[openwebrx-httpd] client 127.0.0.1#20559ac5c768cd7410e1a4d1bdd53dc1 :: client being closed.\r\n[openwebrx] close_client dsp.stop() :: error - <type 'exceptions.AttributeError'> dsp_plugin instance has no attribute 'process'\r\n  File \"openwebrx.py\", line 378, in close_client\r\n    clients[i].dsp.stop()\r\n  File \"/Users/mehdi/Documents/Radio_Electronics/Source/openwebrx/plugins/dsp/csdr/plugin.py\", line 215, in stop\r\n    os.killpg(os.getpgid(self.process.pid), signal.SIGTERM)\r\nException happened during processing of request from ('127.0.0.1', 59977)\r\nTraceback (most recent call last):\r\n  File \"/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py\", line 599, in process_request_thread\r\n    self.finish_request(request, client_address)\r\n  File \"/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py\", line 334, in finish_request\r\n    self.RequestHandlerClass(request, client_address, self)\r\n  File \"/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py\", line 657, in __init__\r\n    self.finish()\r\n  File \"/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py\", line 716, in finish\r\n    self.wfile.close()\r\n  File \"/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py\", line 283, in close\r\n    self.flush()\r\n  File \"/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py\", line 307, in flush\r\n    self._sock.sendall(view[write_offset:write_offset+buffer_size])\r\n**error: [Errno 32] Broken pipe**\r\n\r\nMy system info:\r\nOS X 10.11.6\r\nChrome 52.0.2743.82\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/simonyiszk/openwebrx/issues/comments/237976935","html_url":"https://github.com/simonyiszk/openwebrx/issues/44#issuecomment-237976935","issue_url":"https://api.github.com/repos/simonyiszk/openwebrx/issues/44","id":237976935,"user":{"login":"ha7ilm","id":5903408,"avatar_url":"https://avatars.githubusercontent.com/u/5903408?v=3","gravatar_id":"","url":"https://api.github.com/users/ha7ilm","html_url":"https://github.com/ha7ilm","followers_url":"https://api.github.com/users/ha7ilm/followers","following_url":"https://api.github.com/users/ha7ilm/following{/other_user}","gists_url":"https://api.github.com/users/ha7ilm/gists{/gist_id}","starred_url":"https://api.github.com/users/ha7ilm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ha7ilm/subscriptions","organizations_url":"https://api.github.com/users/ha7ilm/orgs","repos_url":"https://api.github.com/users/ha7ilm/repos","events_url":"https://api.github.com/users/ha7ilm/events{/privacy}","received_events_url":"https://api.github.com/users/ha7ilm/received_events","type":"User","site_admin":false},"created_at":"2016-08-05T22:04:38Z","updated_at":"2016-08-05T22:04:38Z","body":"I'm looking for something like this:\r\n\r\n    [openwebrx-dsp-plugin:csdr] Command = ncat -v 127.0.0.1 4951 | csdr convert_u8_f | csdr shift_addition_cc --fifo /tmp/openwebrx_pipe_3059136684_shift | csdr fir_decimate_cc 22 0.0068178 HAMMING | csdr bandpass_fir_fft_cc --fifo /tmp/openwebrx_pipe_3059136684_bpf 0.0281615770483 HAMMING | csdr squelch_and_smeter_cc --fifo /tmp/openwebrx_pipe_3059136684_squelch --outfifo /tmp/openwebrx_pipe_3059136684_smeter 5 1 | csdr fmdemod_quadri_cf | csdr limit_ff | csdr fractional_decimator_ff 1.03065759637 | csdr deemphasis_nfm_ff 11025 | csdr fastagc_ff 1024 | csdr convert_f_s16 | csdr encode_ima_adpcm_i16_u8\r\n\r\nIf this is stuck somewhere, you will get no audio."}}
{"actor":{"display_login":"ha7ilm"}}