• GMod Gamemodes & Addon- WAYWO - #27
    1,001 replies, posted
[QUOTE=ace13;40249067]A special version of the rollercoaster mod maybe?[/QUOTE] And a SkyHook SWEP.
[lua] function wav:GetPCM() local at=RealTime()-start aids=self.sampleRate*wav.numChannels calculatedByte=math.floor(at*aids) local pcm={} for i=0,wav.numChannels-1 do table.insert(pcm, self.pcm[calculatedByte+(i)] or 0) end return unpack(pcm) end [/lua] Hint at what I'm working on.
[QUOTE=Map in a box;40249428][lua] function wav:GetPCM() local at=RealTime()-start aids=self.sampleRate*wav.numChannels calculatedByte=math.floor(at*aids) local pcm={} for i=0,wav.numChannels-1 do table.insert(pcm, self.pcm[calculatedByte+(i)] or 0) end return unpack(pcm) end [/lua] Hint at what I'm working on.[/QUOTE] html 5 audio for lua! (?)
That turned out to be too slow, so just parsing .WAV files [t]http://cloud-2.steampowered.com/ugc/884104767863435172/6A1BF19AABEC2D51E8A4706867A57251AA51619A/[/t] ALTHOUGH ITS NOT WORKING OUT THAT WELL [editline]11th April 2013[/editline] Have a better idea for webaudio, will try it again
[QUOTE=NightmareX91;40249085]And a SkyHook SWEP.[/QUOTE] And a chick who throws you guns :P
[QUOTE=ash47;40250612]And a chick who throws you guns :P[/QUOTE] Like alyx? But an actually useful one?
[QUOTE=ash47;40250612]And a chick who throws you guns :P[/QUOTE] Well hello there NextBot... Fancy to be turned into Elizabeth? Totally doing this now.
[QUOTE=SeveredSkull;40250979]Well hello there NextBot... Fancy to be turned into Elizabeth? Totally doing this now.[/QUOTE] YES! FINALLY AN USEFUL PARTNER!
[QUOTE=Matsilagi;40251170]YES! FINALLY AN USEFUL PARTNER![/QUOTE] A useful partner who doesn't have a creepy smile, like Alyx!
[url=http://i.imgur.com/CM4iiIE.jpg]The GUI for a gamemode I'm working on.[/url] I'm pretty new to this, any comments / suggestions?
[QUOTE=TheCloak;40254150][url=http://i.imgur.com/CM4iiIE.jpg]The GUI for a gamemode I'm working on.[/url] I'm pretty new to this, any comments / suggestions?[/QUOTE] simple, but nice. I like.
Sorry, you need to Log In to post a reply to this thread.