|
From: Peter P. <pet...@fa...> - 2025-07-19 22:34:06
|
* Nicolas Graner <ni...@gr...> [2025-07-19 15:47]: > Hello all, > > I would like to ramp the volume of an audio file from a given level to > full volume over a specified time interval. For instance, increase the > level linearly from 30% at time t=0 to 100% at time t=10s. In other > words, perform a fade in starting from a level greater than 0. > > I can do it by inserting an appropriate amount of silence before the > beginning, performing a fade in, then removing the extra silence. But > this seems unnecessarily complex, especially if the effect is to be > applied at a time other than the beginning. Is there a better way to do > it with SoX ? Dear Nicolas, apart from the other replies to your question let me add that any consequent functionality, that is beyond simple fade ins and fade, outs will eventually result in the specification of an amplitude envelope with possibly infinite segments, usually declared as time/value pairs. This is a big thing to implement, especially due to the unknown number of segments I imagine. best, Peter |