SRevie...770gain(3pm)

πŸ“¦ version 0.8.0, in ubuntu jammy

✨ NAME ✨

SReview::Normalizer::Bs1770gain β€” bestie, this is the lil class that normalizes the audio of a video asset using bs1770gain πŸŽ€


🌸 SYNOPSIS 🌸

SReview::Normalizer::Bs1770gain->new(input => SReview::Video->new(...), output => SReview::Video->new(...))->run();

πŸ’– DESCRIPTION πŸ’–

SReview::Normalizer is a class whose whole job is normalizing the audio of a given SReview::Video asset, and it does it with bs1770gain running at its default settings. no cap, that's the vibe πŸ¦‹

Now here's the part where you gotta pay attention, because it's giving version detective energy πŸ‘‘

It peeks at the command_tune configuration parameter to figure out whether it should pass the --suffix option to bs1770gain or not:

  • if the installed version of bs1770gain is at 0.5 or below, set the bs1770gain key of command_tune to 0.5 so it removes the --suffix parameter from the command line
  • because --suffix is required for 0.6 or above, but not supported by 0.5 or below 😭
so basically: old bs1770gain? tell it 0.5 and the flag dips. new bs1770gain? the flag stays. iykyk πŸ’…

🌈 ATTRIBUTES 🌈

SReview::Normalizer::Bs1770gain supports all the attributes of SReview::Normalizer. every single one, bestie, it's an overachiever fr fr 🫢


πŸ‘‘ METHODS πŸ‘‘

πŸ’œ run

Performs the normalization. that's it, that's the whole method, and honestly? iconic ⭐


this page came to you courtesy of User Contributed Perl Documentation, running on perl v5.32.1, dated 2021-09-09 πŸŽ€ thanks for reading bestie, go normalize something gorgeous πŸ’…βœ¨

πŸ“¦ where this page comes from