Someone knows about –apply-replaygain-which-is-not-lossless

FireFly Media Server Firefly Media Server Forums Firefly Media Server Setup Issues Someone knows about –apply-replaygain-which-is-not-lossless

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2223
    Anonymous
    Inactive

    Hi there

    I have edited opt/sbin/mt-daapd-ssc.sh on my diskstation as following (found that in Roku forum). But cannot replaygain FLAC-Files, neither in SVN-1586 nor in 1696 work? My config:
    Synology DS106j
    Soundbridge M1001
    SVN-1586 or 1696 installed with cstern’s manual in the setup issues forum

    Which version of FLAC ist running in SVN-1696?

    flac_file() {
    $FLAC –apply-replaygain-which-is-not-lossless –silent –decode –stdout “$FILE” | $WAVSTREAMER -o $OFFSET $FORGELEN

    Thanks
    huckele

    #16336
    rpedde
    Participant

    @huckele wrote:

    Hi there

    I have edited opt/sbin/mt-daapd-ssc.sh on my diskstation as following (found that in Roku forum). But cannot replaygain FLAC-Files, neither in SVN-1586 nor in 1696 work? My config:
    Synology DS106j
    Soundbridge M1001
    SVN-1586 or 1696 installed with cstern’s manual in the setup issues forum

    Which version of FLAC ist running in SVN-1696?

    flac_file() {
    $FLAC –apply-replaygain-which-is-not-lossless –silent –decode –stdout “$FILE” | $WAVSTREAMER -o $OFFSET $FORGELEN

    Thanks
    huckele

    I don’t know. flac -V might display version, but it really depends on where you got your flac package from.

    #16337
    Anonymous
    Inactive

    [/quote]

    I don’t know. flac -V might display version, but it really depends on where you got your flac package from.[/quote]

    Thanks Ron
    Yes, flac -V shows version 1.2.1

    I re-installed everything and now IT FINALLY WORKS! WOW!
    FLAC, GAPLESS, REPLAY GAIN, M3U-PLAYLISTS… ALL ON MY SOUNDBRIDGE AND SYNOLOGY DS106J!!!

    Not too bad for a linux dummy like me.

    Thanks everybody for helping
    huckele

    #16338
    Anonymous
    Inactive

    I am going into details now, Ron

    Do you know about the format of FLAC replaygain-specifications which are supported by firefly SVN-1696 installed on a Synology-NAS?

    As per Hydrogenaudio-Forum, the default value – if no spefications are given – is 0aLn1.

    I found out that only the preamp-option is supported by my configuration, if I enter the following in the transcoding file:

    –apply-replaygain-which-is-not-lossless=6
    With that, all replaygained songs are 6dB louder on my Soundbridge. Perfect so far, but I would like to change L to l and noise shaping.

    But as soon as I enter more values, replaygain is not supported any more, e.g. as following:
    –apply-replaygain-which-is-not-lossless=6aln3

    Is there something wrong with the format or the syntax, are the brackets important in a way? Or is it just not supported by firefly?

    Or are you saying that changing the limiter and noise shaping values does not improve sound quality? I really think that replaygained songs are at a significant lower quality… well, it is said that it is not lossless…but maybe this is the “placebo” effect and I can hear the “grass growing” as we say in German…

    Thanks for having a look into this.
    huckele

    ****** extracts from Hydrogenaudio Forum *****

    –apply-replaygain-which-is-not-lossless[=]
    Applies ReplayGain values while decoding.

    WARNING: THIS IS NOT LOSSLESS. DECODED AUDIO WILL NOT BE IDENTICAL TO THE ORIGINAL WITH THIS OPTION.

    The equals sign and is optional. If omitted, the default is 0aLn1 (see below).

    The is a shorthand notation for describing how to apply ReplayGain. All components are optional but order is important. ‘[]’ means ‘optional’. ‘|’ means ‘or’. ‘{}’ means required. The format is:

    [][a|t][l|L][n{0|1|2|3}]

    A floating point number in dB. This is added to the existing gain value.

    a|t
    Specify ‘a’ to use the album gain, or ‘t’ to use the track gain

    l|L
    Specify ‘l’ to peak-limit the output, so that the ReplayGain peak value is full-scale. Specify ‘L’ to use a 6dB hard limiter that kicks in when the signal approaches full-scale.

    n{0|1|2|3}
    Specify the amount of noise shaping. ReplayGain synthesis happens in floating point; the result is dithered before converting back to integer. This quantization adds noise. Noise shaping tries to move the noise where you won’t hear it as much. 0 means no noise shaping, 1 means ‘low’, 2 means ‘medium’, 3 means ‘high’.

    For example, the default of 0aLn1 means 0dB preamp, use album gain, 6dB hard limit, low noise shaping.

    –apply-replaygain-which-is-not-lossless=3 means 3dB preamp, use album gain, no limiting, no noise shaping.

    flac uses the ReplayGain tags for the calculation. If a stream does not have the required tags or they can’t be parsed, decoding will continue with a warning, and no ReplayGain is applied to that stream.

    #16339
    rpedde
    Participant

    @huckele wrote:

    I am going into details now, Ron

    Do you know about the format of FLAC replaygain-specifications which are supported by firefly SVN-1696 installed on a Synology-NAS?

    There really isn’t anything supported or not supported by firefly. When you decode it with the flac binary it streams out wav data. That wav data is fed from firefly back to the client. So firefly doens’t do anything with it. Whatever the transcoder emits, firefly passes untouched. So whatever you want to do with the audio — pipe it through sox and do bandpass filtering, add a flange effect, boost output based on replaygain settings…. whatever. That’s up to the transcoding script. Firefly is completely agnostic about it.

    But you’re beyond me right now. I really don’t know anything about replaygain or how it works, or how to transcode it. 🙁

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.