# Clipping audio with Plexamp on Raspberry Pi

**URL:** https://forums.plex.tv/t/clipping-audio-with-plexamp-on-raspberry-pi/435166
**Category:** Plex Labs
**Tags:** plexamp
**Created:** [July 19, 2019, 3:58pm UTC](https://forums.plex.tv/t/clipping-audio-with-plexamp-on-raspberry-pi/435166 "2019-07-19T15:58:28Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![ajgarstone](https://avatars.discourse-cdn.com/v4/letter/a/46a35a/32.png) [@ajgarstone](https://forums.plex.tv/u/ajgarstone)
#### Post date: [July 19, 2019, 3:58pm UTC](https://forums.plex.tv/t/clipping-audio-with-plexamp-on-raspberry-pi/435166/1 "2019-07-19T15:58:29Z")

</div>

Running Plexamp v2.0 Beta 2 on Raspberry Pi 3 with HiFiBerry Digi+ Pro. I love it – it’s fab BUT:

On audio close to full scale there is noticeable distortion/clipping. The same audio file, played on the same system through the Plex web app, doesn’t distort.

I have tried with and without audio normalisation.

It’s not a generic Plexamp problem – playing the audio through Plexamp on a Mac is fine.

The files are Apple Lossless, 44.1kHz.

Has anyone else seen this? Any clues?

---

<div class="post-metadata">

### Author: ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)
#### Post date: [July 19, 2019, 4:17pm UTC](https://forums.plex.tv/t/clipping-audio-with-plexamp-on-raspberry-pi/435166/2 "2019-07-19T16:17:10Z")

</div>

Not with Plexamp, but with LibreElec (and thus PMP embedded) I have found that I have to reduce the volume on the RPi by -1.3dB, or it will distort.  
Most likely to happen if you go per HDMI to a TV from Sony and then from there per TOSlink to an amp.

---

<div class="post-metadata">

### Author: ![ajgarstone](https://avatars.discourse-cdn.com/v4/letter/a/46a35a/32.png) [@ajgarstone](https://forums.plex.tv/u/ajgarstone)
#### Post date: [July 19, 2019, 5:22pm UTC](https://forums.plex.tv/t/clipping-audio-with-plexamp-on-raspberry-pi/435166/3 "2019-07-19T17:22:16Z")

</div>

So it looks like goofy maths in the Apple Lossless decoder (?). If I convert the files to wav then they play perfectly.

---

<div class="post-metadata">

### Author: ![elan](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/elan/32/5_2.png) [@elan](https://forums.plex.tv/u/elan)
#### Post date: [August 16, 2019, 10:07pm UTC](https://forums.plex.tv/t/clipping-audio-with-plexamp-on-raspberry-pi/435166/4 "2019-08-16T22:07:17Z")

</div>

Wow, that’s pretty weird.

---

<div class="post-metadata">

### Author: ![cryptout](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/cryptout/32/154035_2.png) [@cryptout](https://forums.plex.tv/u/cryptout)
#### Post date: [September 12, 2019, 4:05pm UTC](https://forums.plex.tv/t/clipping-audio-with-plexamp-on-raspberry-pi/435166/5 "2019-09-12T16:05:06Z")

</div>

I set the alsamixer to -4db it’s a save bet.

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [December 11, 2019, 4:05pm UTC](https://forums.plex.tv/t/clipping-audio-with-plexamp-on-raspberry-pi/435166/6 "2019-12-11T16:05:12Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
