Airplay distortion over USB

Raspberry Pi related support

Airplay distortion over USB

Postby Cyclopse » 02 May 2016, 09:56

I output direct from Rasberry Pi USB to my USB DAC.

Only bug I have is very bad distortion playing Apple Music over Airplay.

I have read the post from Tret that recommends changing one of the lines of code. I am OK accessing the SSH through Putty but am lost from there.

Can anyone list step by step where I go from there to change and save one of the lines of the programme?

Thanks

Steve
Cyclopse
 
Posts: 10
Joined: 10 May 2015, 14:21

Re: Airplay distortion over USB

Postby hondagx35 » 02 May 2016, 11:08

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Airplay distortion over USB

Postby Cyclopse » 02 May 2016, 11:18

Hi Frank,

I am running Pi 2 and Rune version 0.3 Beta. So I just need to input those commands you stated through Putty?

Thanks

Steve
Cyclopse
 
Posts: 10
Joined: 10 May 2015, 14:21

Re: Airplay distortion over USB

Postby hondagx35 » 02 May 2016, 14:32

yes
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Airplay distortion over USB

Postby Cyclopse » 07 Sep 2016, 21:55

Changed to 0.4 Beta for my Pi 2.

Distortion is back when playing Apple Music via Airplay. I have sound on the Meitner DAC, USB input but heavily distorted.

To be honest I have never fully cracked this. When changing the code as follows I get a short click every few seconds;-

ExecStart=/usr/bin/shairport -w –name=runeaudio –on-start=$ON –on-stop=$OFF –meta-dir=/var/run/shairport -o alsa — -d plughw:1,0

I would welcome your input Frank.

Superb project appart from this frustration.

Regards

Cyclopse
Cyclopse
 
Posts: 10
Joined: 10 May 2015, 14:21

Re: Airplay distortion over USB

Postby hondagx35 » 08 Sep 2016, 08:57

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Airplay distortion over USB

Postby Cyclopse » 08 Sep 2016, 21:35

Hi Frank,

Amended the entry 4800 to 44100 as advised. Did a reboot and toggled AirPlay in Rune. Tried tonight but no change to AirPlay audio. Still heavily distorted. Should I try a different value?

Thanks

Cyclopse
Cyclopse
 
Posts: 10
Joined: 10 May 2015, 14:21

Re: Airplay distortion over USB

Postby hondagx35 » 08 Sep 2016, 21:49

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Airplay distortion over USB

Postby Cyclopse » 08 Sep 2016, 22:21

Hi Frank,

The output was;-

closed
closed
closed
closed
closed
closed
closed
closed
closed
access: RW_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 64
buffer_size: 65536


Thanks

Steve
Cyclopse
 
Posts: 10
Joined: 10 May 2015, 14:21

Re: Airplay distortion over USB

Postby hondagx35 » 09 Sep 2016, 08:51

Hi Steve,

the "period_size" looks way too low in my eyes.

Let me see how to set this parameter.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

support RuneAudio Donate with PayPal

Next

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 7 guests