• Start a sound/music at XX:XX?
    7 replies, posted
Hey. I'm wondering, as I've never seen this. But is it possible to start a sound/music at a decided minute:second spot? Like lets say I want to Entity:EmitSound() the hl2_music1.mp3, but I want it to start at 0:30 instead of at the very beggining. Help appreciated! :)
I don't think you can, at least not with EmitSound. But removing the first part of the sound/music in Audacity won't be that hard you know.
[QUOTE=Robotboy655;41396366]I don't think you can, at least not with EmitSound. But removing the first part of the sound/music in Audacity won't be that hard you know.[/QUOTE] We all know you can edit sound files to fit your needs, But that adds an extra file to download... What i think Garry's Mod needs is a sound object with a few manipulation functions. For example: Sample rate, Speed, Volume (Dynamic), And a few extra functions...
[QUOTE=dingusnin;41396610]We all know you can edit sound files to fit your needs, But that adds an extra file to download... What i think Garry's Mod needs is a sound object with a few manipulation functions. For example: Sample rate, Speed, Volume (Dynamic), And a few extra functions...[/QUOTE] I think that shouldn't be too hard now that we have BASS in gmod (unless it got removed which I dont think it did).
If there is BASS in Gmod that would be great I suppose yeah. Is there any documentation of it's usage somewhere?
You can start a [URL=http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/indexf385.html]CSoundPatch[/URL] a desired time beforehand and then set the volume to full after it reaches the point you want it to.. Then you can scale the volume of the sound based off distance to a point. Of course, you would have to be able to play the song BEFORE an event takes place.
Would be a good solution yes, if I could play the seong before an event takes place. But that's not the case. The case is that it has to play at designated time once triggered :/
You can also speed up and pause CSoundPatch using ChangePitch, but it is a really dirty workaround. [editline]11th July 2013[/editline] To ones who disagree, care to explain yourselves?
Sorry, you need to Log In to post a reply to this thread.