{"action":"created","issue":{"url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/24","labels_url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/24/comments","events_url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/24/events","html_url":"https://github.com/masmu/pulseaudio-dlna/issues/24","id":62404725,"number":24,"title":"noise on marantz","user":{"login":"mc007","id":1205100,"avatar_url":"https://avatars.githubusercontent.com/u/1205100?v=3","gravatar_id":"","url":"https://api.github.com/users/mc007","html_url":"https://github.com/mc007","followers_url":"https://api.github.com/users/mc007/followers","following_url":"https://api.github.com/users/mc007/following{/other_user}","gists_url":"https://api.github.com/users/mc007/gists{/gist_id}","starred_url":"https://api.github.com/users/mc007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mc007/subscriptions","organizations_url":"https://api.github.com/users/mc007/orgs","repos_url":"https://api.github.com/users/mc007/repos","events_url":"https://api.github.com/users/mc007/events{/privacy}","received_events_url":"https://api.github.com/users/mc007/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-17T13:58:27Z","updated_at":"2015-03-17T19:35:43Z","closed_at":"2015-03-17T14:41:40Z","body":"Hi,\r\ncurrently its playing music with quite a quality loss, there is an incredible noise when playing over dlna. I am on Ubuntu-14 and I stream to Marantz-5007, over net cable. \r\n\r\nAny suggestions? I see there are some python files with encoding settings. Do you know where are they located after the ppa installation? I guess I can find them with lsof.\r\n\r\nthank you,\r\nguenter\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/comments/82557884","html_url":"https://github.com/masmu/pulseaudio-dlna/issues/24#issuecomment-82557884","issue_url":"https://api.github.com/repos/masmu/pulseaudio-dlna/issues/24","id":82557884,"user":{"login":"masmu","id":7857307,"avatar_url":"https://avatars.githubusercontent.com/u/7857307?v=3","gravatar_id":"","url":"https://api.github.com/users/masmu","html_url":"https://github.com/masmu","followers_url":"https://api.github.com/users/masmu/followers","following_url":"https://api.github.com/users/masmu/following{/other_user}","gists_url":"https://api.github.com/users/masmu/gists{/gist_id}","starred_url":"https://api.github.com/users/masmu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masmu/subscriptions","organizations_url":"https://api.github.com/users/masmu/orgs","repos_url":"https://api.github.com/users/masmu/repos","events_url":"https://api.github.com/users/masmu/events{/privacy}","received_events_url":"https://api.github.com/users/masmu/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T19:35:43Z","updated_at":"2015-03-17T19:35:43Z","body":"I am actually not sure.\r\n\r\nWhat i am basically doing is that i record all sound via _parec_ and pipe it to an encoder such as _lame_. So at this point there should not be any quality loss, besides the one which is a result of encoding. Then i am sending the encoded bytes through HTTP to the DLNA device. At this point there should be any no quality loss, since TCP does not loose packets or stuff.\r\n\r\nWhen i am googling for _Marantz-5007_, i get different search results. There are some which say, this device can only handle mp3 streaming. Others like the manufacturers [homepage](http://www.marantz.de/de/products/pages/productdetails.aspx?catid=airplayproducts&subcatid=avreceiver&productid=sr5007) proclaim, that it can also play \r\n```Network Audio: MP3 / WAV / AAC / FLAC / WMA```.\r\nSo, since i am not owning that device, i cannot find out which is acutally true. Perhaps this is a firmware thing, so that later firmwares can play more codecs.\r\nIf it can play _FLAC_ i would go with this, since with the right settings it is a lossless codec.\r\n_WAV_ is always lossless, but it is also a bit antiquated. But i got feedback, that some people got the best results with that.\r\nIf not, try to tweak your _LAME_ settings. I don't know what you mean with _slight over amplification_, but i think that you can figure out which settings are best.\r\n\r\nThe last thing i can think of is, that perhaps some volume settings in your OS is causing the trouble. You know there is a _main volume mixer_, and there are _volume mixers_ for every application which is actually playing sound. Install ```pavucontrol``` and try to lower the _main volume mixer_ and increase the _application volume mixer_ for the application which is acually playing.\r\n\r\nI am currently doing a complete rewrite of the streaming server of _pulseaudio-dlna_. But i don't expect better quality, but less latency and less CPU usage on your computer."}}