This project is read-only.

c# library decrease and increase volume audio track

Topics: Developer Forum, Project Management Forum, User Forum
Oct 25, 2016 at 4:11 PM
0
down vote
favorite
How Can I control the volumen from the audio track using the splicer c# library,,

Here you can add an effect , I only want to increase the audio volume or decrease the entire audio track volume.

// create an audio envelope effect, this will:

// fade the audio from 0% to 100% in 1 second.

// play at full volume until 1 second before the end of the track

// fade back out to 0% volume

audioTrack.AddEffect(0, 120, StandardEffects.CreateAudioEnvelope(1.0, 1.0, 1.0, 120));