Git Product home page Git Product logo

Comments (3)

fduncanh avatar fduncanh commented on August 25, 2024

"-db -1:30"

is this a typo ? "-db -30:0" is the default

-db L:H L must be negative. H can be either sign, must be larger than L (positive or less negative)

gstreamers volume is set this way and values of gst_volume greater than 10 are treated as 10

gst_volume = pow(10.0, 0.05*db);

so H >+20 is treated as +20

from uxplay.

eliklein02 avatar eliklein02 commented on August 25, 2024

from uxplay.

fduncanh avatar fduncanh commented on August 25, 2024

The -db option was introduced after the issue #250

The default range is -db -30:0 This is amplitude gain decibels.

I dont know enough about audio to advise what gain you should use, it probably depends on what kind of audio system
you have.

https://www.hollyland.com/blog/tips/what-is-gain-in-audio

increasing the upper gain limit certainly makes the maximum volume audio louder, but may introduce distortion ("clipping") ???

just experiment with it. (or leave it at default if you don't know what you are doing) Try -db -30:20 (a 50db range) or -db -10:20 (same 30db range as default but shifted up by +20db.).

The upper setting should not be greater than +20 , as gstreamer doesn't accept anything more. +10db doubles
the perceived sound volume.

The volume profile give by option "-taper" might also be useful: this modifies how the volume settings on the client change loudness, but doesn't change the decibel range. If the range from L to H has H = L +30db,
each 50% decrease in the "tapered" volume setting halves the perceived sound volume.

from uxplay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.