- Home /
How To trim audio run time in game?
Hello Friends,
I am working on project where user can import audio from gallery and after importing user can trim any part of song or audio he want i have open gallery and imported the song but i dont understand how to let user trim that clip is there any asset or plugin available for this or any script. i have searched for plugin asset paid asset tutorial script i googled everything couldn't find a solution please help me
thank you
Answer by mattmjarvis · Apr 10, 2019 at 08:25 AM
How is the audio clip going to be used? You could use a slider that uses the clip length as a percentage but rather than 'trimming' the audio you could store the start and end times to play the section of the clip
First of all thanks for the response now the only portion trimmed by user will set to next animation and animation will be recorded with that music. how to get start and end point and play exactly that portion of clip. I can make slider and percentage. i am actually picking music from gallery storing it in audio source and then trim that audio and set to next scene where only animation will be played and using plugin that screen will be recorded along with trimmed audio.
Your answer
Follow this Question
Related Questions
How to mute music independent from other sounds using mixers? 0 Answers
Why can't I hear my audio? 5 Answers
audio change object size 1 Answer
Trigger audio loop on beat with PlayScheduled 1 Answer
Audio controls disabled??! 0 Answers