# FLAC, ReplayGain and Sonos

**URL:** https://community.mp3tag.de/t/flac-replaygain-and-sonos/7085
**Category:** Support
**Created:** [July 27, 2008, 10:08pm UTC](https://community.mp3tag.de/t/flac-replaygain-and-sonos/7085 "2008-07-27T22:08:35Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![sf\_thumper](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@sf\_thumper](https://community.mp3tag.de/u/sf_thumper)
#### Post date: [July 27, 2008, 10:08pm UTC](https://community.mp3tag.de/t/flac-replaygain-and-sonos/7085/1 "2008-07-27T22:08:35Z")

</div>

I'm looking for a method of moving FLAC album-gain values into the FLAC track-gain field.

Background: I've an extensive classical music collection tagged by MP3Tag (thank you, Florian) which I used to listen to through Foobar2000, and remotely from my NAS on Roku Soundbridges.

I recently upgraded to a couple of Sonos units which, on-the-whole, truly delight me. Only challenge: the Sonos implementation of RG is partial. I understand that Sonos reads only the FLAC track-gain fields, and for classical music this largely defeats the purpose. (It uses iTunes fields for other formats).

I've created an action that invokes $rg2sc to move the album-gain to the COMMENT ITUNNORM field on mp3s, and the ITUNNORM field on aacs, which Sonos understands for these encodings.

How can I get FLAC album-gain into the track-gain field? Can I simply copy %replaygain\_album\_gain% to %replaygain\_track\_gain% in an action?

TIA

---

<div class="post-metadata">

### Author: ![Stevest](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/a698b9/32.png) [@Stevest](https://community.mp3tag.de/u/Stevest)
#### Post date: [July 28, 2008, 4:21am UTC](https://community.mp3tag.de/t/flac-replaygain-and-sonos/7085/2 "2008-07-28T04:21:10Z")

</div>

> [@Thumper](#):
>
> How can I get FLAC album-gain into the track-gain field? Can I simply copy %replaygain\_album\_gain% to %replaygain\_track\_gain% in an action?
> 
> TIA

Yes, you can. Just use action Format value:

Field:  
%replaygain\_track\_gain%

Format string:  
%replaygain\_album\_gain%

---

<div class="post-metadata">

### Author: ![sf\_thumper](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@sf\_thumper](https://community.mp3tag.de/u/sf_thumper)
#### Post date: [August 1, 2008, 6:41pm UTC](https://community.mp3tag.de/t/flac-replaygain-and-sonos/7085/3 "2008-08-01T18:41:34Z")

</div>

> [@Stevest](#):
>
> Yes, you can. Just use action Format value:
> 
> Field:  
> %replaygain\_track\_gain%
> 
> Format string:  
> %replaygain\_album\_gain%

Thanks.

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 9, 2026, 12:21pm UTC](https://community.mp3tag.de/t/flac-replaygain-and-sonos/7085/4 "2026-02-09T12:21:03Z")

</div>


