• gm_bass_edit - The improved gm_bass.
    118 replies, posted
Garry just needs to fork 1000 euros up. It's not like he doesn't have it and more :v:
It's not gonna happen.. [url]http://facepunch.com/threads/1168515?highlight=[/url]
It wouldn't be the first thing useful that won't be added :V
I would prefer when the stuff of Bass (streaming and fft2048) could be done with source's sound engine. I don't like the idea to have two sound engines in one game when one is enough. Once I tested this: I streamed something to an mp3 file. Then I tried to play that file in source. It said that this file wasn't found (the file was there and valid to other players). As soon I stopped writing to that file, it worked fine. This proves that it seems to work with stuff from streams, but only whens ended. The next step would be to give the sound engine from the game the ability to play from urls and to return the spectrum and level of the sound to lua. I don't know how it works, but I think it's doable. According to this: [url]http://facepunch.com/threads/1182079?p=36044315&viewfull=1#post36044315[/url] You are already able to play streams as 3D sound using [URL="http://facepunch.com/threads/1182079?p=36044592&viewfull=1#post36044592"]lua, html, javascript[/URL] and [URL="http://facepunch.com/threads/1182079?p=36045509&viewfull=1#post36045509"]flash[/URL]. The sound comes then from an invisible html panel, I guess. But spectrum returning wasn't done/shown jet.
I believe source uses DirectSound, so if you could hook into that. But BASS has so many useful functions and they are easy to use. :saddowns:
What if we had a fund raiser and we donated exactly 1000 euro's and then Garry will buy this for GMOD?? I would donate.
[QUOTE=Ruzza;36064043]What if we had a fund raiser and we donated exactly 1000 euro's and then Garry will buy this for GMOD?? I would donate.[/QUOTE] You'd pay for gmod updates? Don't give garry ideas.
[QUOTE=Wizard of Ass;36064295]You'd pay for gmod updates? Don't give garry ideas.[/QUOTE] I would pay Garry to buy the licence, nothing else, I've already paid him $100+ in buying GMOD and account name changes etc.
I thought you could play modules with this
[QUOTE=Map in a box;36250562]I thought you could play modules with this[/QUOTE] What? You thought you could play DLL modules with it? Or did you mean a sound format?
Uhh, [url=http://en.wikipedia.org/wiki/Module_file]modules[/url]
BASS can play MOD files, there are own playing and channel functions for that format that aren't bound. I will have to take a look for it.
I had trouble playing mod files when I used bass, if you get it <3s. Bass should beable to play lots of modules if you can fix it
So far I have read you can't play Mod-Steams with BASS, It could only play the files on your computer. Also it would be nice to get one of those module files to test things out.
I don't need URL streaming, but here are a lot of modules for you: [url]http://modarchive.org/[/url]
Snip, it's working now.
Check the crashdump and plug it into visual studio :v:
It (visual studio) says that there is a "Access violation" (0xC0000005) at bass.dll!024ab32a(). If you want to take a look then have the [URL="https://dl.dropbox.com/u/16654098/gmod/crashlogs/crash_hl2.exe_20120618154358_1.dmp"]crashlog[/URL]. Also I forgot to say that it crashes only when the file is valid. If the format isn't supported, it returns 41. If the file not found it returns 2. (Just like how it should.)
Load the crashdump into visual studio :v
BASS would only cost Garry €200 to ship with GMOD.
I must be misunderstanding something, or this is broken now. BASS.StreamFile("music/HL2_song14.mp3",0) returns false, why?
[QUOTE=Bletotum;36657267]I must be misunderstanding something, or this is broken now. BASS.StreamFile("music/HL2_song14.mp3",0) returns false, why?[/QUOTE] by looking at the source code it doesn't search in mounted content, it has to exist in garrysmod/garrysmod/sound/music/HL2_song14.mp3 and not in the gcf
I might modify it to load from the filesystem. And possibly improve it since grocel seems to be inactive here now
Bump. Is there any working version of this? Or is it possible for the author to update this. Seems that it broke in the latest GMod 13 update. Also, is it still include("bass"), or has that changed (speaking bout he GMod 13 version).
[QUOTE=Crap-Head;37776596]Bump. Is there any working version of this? Or is it possible for the author to update this. Seems that it broke in the latest GMod 13 update. Also, is it still include("bass"), or has that changed (speaking bout he GMod 13 version).[/QUOTE] It's broken because of the changes of Garry's mod 13, it crashes the game upon requiring. include("bass") is wrong, because it isn't "include" and the module is called "bass_edit". You would have to write require("bass_edit"). The loading location of modules is changed too.
[QUOTE=Grocel;37830848]It's broken because of the changes of Garry's mod 13, it crashes the game upon requiring. include("bass") is wrong, because it isn't "include" and the module is called "bass_edit". You would have to write require("bass_edit"). The loading location of modules is changed too.[/QUOTE] Oh yeah, my fault. I know its require, but even with that, it's not working. I was more looking for an update of this module, to work with the latest update of GMod 13.
Updated gm_bass_edit: It's fixed for the new the Garry's Mod update and got renamed to gm_bass2. Download is in the OP. Also Could a moderator rename this thread to "gm_bass2 - The improved gm_bass." for me?
i put the current version "gmcl_bass_win32.dll" in the ../lua/bin/ folder but still get: [CODE] Couldn't include file 'includes\modules\bass.lua' (File not found) (@gamemodes/xyz/gamemode/cl_modules/voice.lua (line 1)) [ERROR] gamemodes/xyz/gamemode/cl_modules/voice.lua:1: Module not found! 1. require - [C]:-1 2. unknown - gamemodes/xyz/gamemode/cl_modules/voice.lua:1 3. include - [C]:-1 4. unknown - gamemodes/xyz/gamemode/cl_init.lua:12[/CODE] with [CODE] require("bass");[/CODE] Its late and i cant find the mistake :suicide:
[QUOTE=geblubber;38257907]i put the current version "gmcl_bass_win32.dll" in the ../lua/bin/ folder but still get: [CODE] Couldn't include file 'includes\modules\bass.lua' (File not found) (@gamemodes/xyz/gamemode/cl_modules/voice.lua (line 1)) [ERROR] gamemodes/xyz/gamemode/cl_modules/voice.lua:1: Module not found! 1. require - [C]:-1 2. unknown - gamemodes/xyz/gamemode/cl_modules/voice.lua:1 3. include - [C]:-1 4. unknown - gamemodes/xyz/gamemode/cl_init.lua:12[/CODE] with [CODE] require("bass");[/CODE] Its late and i cant find the mistake :suicide:[/QUOTE] It's named "bass2" (This one is edited to have more features and differs from "bass"). If you want to use the original bass (which is named "bass") then go pitch AzuiSleet, because he made the original. Also be sure you copied those 3rd party modules. [QUOTE=Grocel;34430632][URL="http://svn.xp-dev.com/svn/2d3d_Browser/bin/bass"]These dlls go next to the hl2.exe, they are the BASS sound engine[/URL] (I hate that these dlls are extern.)[/QUOTE]
[QUOTE=Grocel;38261785]It's named "bass2" (This one is edited to have more features and differs from "bass"). If you want to use the original bass (which is named "bass") then go pitch AzuiSleet, because he made the original. Also be sure you copied those 3rd party modules.[/QUOTE] Still the same problem [CODE]require("bass2"); [/CODE] put gmsv_bass2_win32.dll and gmcl_bass2_win32.dll to "../garrysmod/lua/bin" and the rest of .dll next to to hl2.exe Still get [CODE]Couldn't include file 'includes\modules\bass2.lua' (File not found) [/CODE]
Sorry, you need to Log In to post a reply to this thread.