{"action":"created","issue":{"url":"https://api.github.com/repos/robotastic/trunk-recorder/issues/28","labels_url":"https://api.github.com/repos/robotastic/trunk-recorder/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/robotastic/trunk-recorder/issues/28/comments","events_url":"https://api.github.com/repos/robotastic/trunk-recorder/issues/28/events","html_url":"https://github.com/robotastic/trunk-recorder/issues/28","id":114228526,"number":28,"title":"Empty .wav files..... acts like its recording, but it's not working","user":{"login":"brendanvg","id":13157771,"avatar_url":"https://avatars.githubusercontent.com/u/13157771?v=3","gravatar_id":"","url":"https://api.github.com/users/brendanvg","html_url":"https://github.com/brendanvg","followers_url":"https://api.github.com/users/brendanvg/followers","following_url":"https://api.github.com/users/brendanvg/following{/other_user}","gists_url":"https://api.github.com/users/brendanvg/gists{/gist_id}","starred_url":"https://api.github.com/users/brendanvg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendanvg/subscriptions","organizations_url":"https://api.github.com/users/brendanvg/orgs","repos_url":"https://api.github.com/users/brendanvg/repos","events_url":"https://api.github.com/users/brendanvg/events{/privacy}","received_events_url":"https://api.github.com/users/brendanvg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-30T09:04:19Z","updated_at":"2015-11-01T22:34:21Z","closed_at":null,"body":"I've spent the past month working with this software and I'm fairly sure I've configured everything correctly, however the audio files it outputs are empty.... help?\r\n\r\nThe dependencies/instance of trunk recorder I'm using comes from this repository:\r\nhttps://github.com/brendanvg/vagrantScanner\r\nThis is using Vagrant...In order to address problems I came across while compiling/building trunk-recorder I wrote this VagrantFile and bootsrap.sh (which is a script which compiles the software to a virtual machine so that people can share/collaborate on software without troubleshooting each computer's dependencies/config..)... \r\nMy virtualbox settings is set to Enable USB Controller USB 2.0 (EHCI) Controller, which points to Realtek RTL2838UHIDIR [0100].... I don't think this would be the problem...\r\n\r\nThe ChanList.csv I used is located in:\r\nhttps://github.com/brendanvg/Oakland\r\n\r\nMy config.json file looks like: \r\n{\r\n    \"sources\": [{\r\n        \"center\": 853266800,\r\n        \"rate\": 8000000.0,\r\n        \"error\": 0,\r\n        \"gain\": 60,\r\n        \"antenna\": \"TX/RX\",\r\n        \"digitalRecorders\": 1,\r\n        \"driver\": \"osmosdr\",\r\n        \"device\": \"\"\r\n    }],\r\n    \"system\": {\r\n        \"control_channels\": [853266800],\r\n        \"type\": \"p25\"\r\n    },\r\n    \"talkgroupsFile\": \"ChanList.csv\"\r\n}\r\n\r\nThis is the Oakland specific data I'm working with: http://www.radioreference.com/apps/db/?sid=6077\r\nbut when looking at the spectrum in GQRX I found that 853266800 and 853105700 are a strong (seemingly digital signal) that are always on.... and I figured they might be \"close enough\" to be the two control channels specified in http://www.radioreference.com/apps/db/?sid=6077... -> 853.33750c and 853.46250c.....\r\n\r\nAfter all this, it does write .wav files, but when I inspect them, they are empty (they're all 44bytes no matter the time I keep it on)\r\nI keep the recording on between 30-60 sec....\r\n\r\nSome things I can think of: \r\nin GQRX it's important for my hardware gain to be set, but it doesn't seem like I have this option in this software...is there anyway it can be added as a config attribute? I tried setting gain to 60 and even 80 with still no result... what type of gain is this???\r\n\r\nAm I on the wrong frequency? I've tried many, so I wouldn't say this is a for sure problem...but would it be possible for you to take a gqrx screenshot of what a control channel should look like (its frequency, amplitude....the info shown in the waterfall display in gqrx)....\r\n\r\nThanks for all the help! Let me know what you think of the Vagrant solution and if I can be of help in any other way.\r\nSincerely,\r\nBrendanvg\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/robotastic/trunk-recorder/issues/comments/152870655","html_url":"https://github.com/robotastic/trunk-recorder/issues/28#issuecomment-152870655","issue_url":"https://api.github.com/repos/robotastic/trunk-recorder/issues/28","id":152870655,"user":{"login":"brendanvg","id":13157771,"avatar_url":"https://avatars.githubusercontent.com/u/13157771?v=3","gravatar_id":"","url":"https://api.github.com/users/brendanvg","html_url":"https://github.com/brendanvg","followers_url":"https://api.github.com/users/brendanvg/followers","following_url":"https://api.github.com/users/brendanvg/following{/other_user}","gists_url":"https://api.github.com/users/brendanvg/gists{/gist_id}","starred_url":"https://api.github.com/users/brendanvg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendanvg/subscriptions","organizations_url":"https://api.github.com/users/brendanvg/orgs","repos_url":"https://api.github.com/users/brendanvg/repos","events_url":"https://api.github.com/users/brendanvg/events{/privacy}","received_events_url":"https://api.github.com/users/brendanvg/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T22:34:21Z","updated_at":"2015-11-01T22:34:21Z","body":"By the way.... the username:password is vagrant:vagrant"}}