<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Mediaplayer increase a sound&#x27;s volume]]></title><description><![CDATA[<p dir="auto">Hello guys,<br />
For the context : i'm creating my own mediaplayer with replaygain calculation. The replaygain is used for normalization and it is a value in decibels that indicates the desired target loudness level.<br />
From then replaygain value i can get a ratio which indicates the multiplicative value for every audio sample so it means that the volume of the music will be multiplied by that ratio.</p>
<p dir="auto">So my problem comes here : the setVolume fonction of the mediaplayer can only reduce the sound's volume and not increase it. Is there a way in qt (mediaplayer or other classes) to play a sound and increase its volume ?</p>
<p dir="auto">Another solution would be to decode the sound, multiply every samples by the ratio value and feed the mediaplayer with modified samples. I'll do that if i have no other choices but i'm looking for a simpler solution.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.qt.io/topic/76828/mediaplayer-increase-a-sound-s-volume</link><generator>RSS for Node</generator><lastBuildDate>Fri, 01 May 2026 23:37:04 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/76828.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 03 Mar 2017 13:49:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mediaplayer increase a sound&#x27;s volume on Sat, 04 Mar 2017 14:59:54 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your reply,<br />
I will go through this method.</p>
]]></description><link>https://forum.qt.io/post/379816</link><guid isPermaLink="true">https://forum.qt.io/post/379816</guid><dc:creator><![CDATA[Rednemus]]></dc:creator><pubDate>Sat, 04 Mar 2017 14:59:54 GMT</pubDate></item><item><title><![CDATA[Reply to Mediaplayer increase a sound&#x27;s volume on Fri, 03 Mar 2017 22:12:34 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">The QtMultimedia module is currently not aimed at that kind of processing. You'll have to first decompress your input, process it and the use e.g. QAudioOutput to send your result to the audio output you want.</p>
]]></description><link>https://forum.qt.io/post/379736</link><guid isPermaLink="true">https://forum.qt.io/post/379736</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 03 Mar 2017 22:12:34 GMT</pubDate></item></channel></rss>