2015-09-28 06:00:25

Everyone, I wanted to share with you all the camlorn audio bgt wrapper I made, allowing you to have 3d audio in bgt that actually works with full hrtf positioning reverb and filters! If you remember, camlorn strongly suggests that he stopped developing camlorn audio for reasons that were related to something very unstable that crashes all the time. I figured it would be unfair for me not to throw his warning out there. He says it is devenatly not production quality. For a bit of closure, I got the later version of the camlorn dll actually from an NVDA addon that used it that was later than the one we'd tested everything with, and I can tell you that NVDA addon was in the public. If anyone has heard of unspoken, that's the one. The exact dll came from unspoken 0.1. Anyway that addon was in the public and worked for most people, and I am using that dll which is still camlorn audio. ANyway, this allows you to have 3d sounds, really good sounding reverb, and optional filters and echo if you wish to use them. I've been working for months on this and I got some help from Mason Armstrong who after I wrapped most of it, just finished some stuff for me which saved me a lot of time, then he wrote a lot of the documentation. Anyway, this thing actually works, theres been only 1 computer out of well, loads that I have scene this not work on. Again reason being that this was the exact dll from the unspoken addon. Anyway enough about me ranting about dll's and addons. big_smile This pack atempts to wrap this DLL in such a way, that it emulates the sound object in bgt, at least to the best of our ability. What i've tried it with scemes to work and any bug reports that I might be able to fix would be welcome. Some could be just camlorn audio it's self not fixable by me but if it's the wrapper or your not sure please let me know about them. Anyway with out further ado, theres a readme in there that explains more. Enjoy!
Download from my developers page at http://www.samtupy.com/dev

I am a web designer, and a game developer. If you wish see me at http://www.samtupy.com

2015-09-28 16:12:24

Hello,
I wouldn't recommend using Camlorn Audio, as I think Camlorn has superceeded it with something else. I unfortunately don't have any link on hand that shows where I saw it, but I definitely remember reading something about it.

2015-09-28 17:16:14

I am now watching these forums because I've gotten many separate inquiries about Libaudioverse; you will have nightly builds within the week, mostly because these have been along the lines of "How do I build it?".
It can't be fully bound to BGT, but it does sound much, much better.  The OpenALSoft HRTF makes some sacrifices because it was written in 2002.  The metallic quality doesn't exist in Libaudioverse.  Nor does the various problems with Hrtf randomly not working for some people because of sample rate issues, even moreso if you forget to bundle the 5 or 6 hrtf files and point Camlorn_audio at them correctly.  It also does a lot more in the direction of synthesis and provides an occlusion model and a bunch of tools you can use to build your own effects from scratch.
Your problems with binding it to BGT are simple and unfixable by any of us: getting objects to properly garbage collect requires using a callback that may be called from any thread and, unless BGT has something I don't know about, this will bring BGT crashing down very, very hard.  If you want to use Libaudioverse with BGT, you'll need to write a thin wrapper over the C API and avoid anything that uses callbacks or events, but otherwise it's fine.  You just can't abstract it to be a nice API in BGT because BGT is missing critically important features.  Libaudioverse is designed to be bound, and it assumes a common subset of features that are common in mainstream tools and hides them from you via the bindings.  Building a binding for BGT that is as easy to use as Libaudioverse can be in mainstream tools requires writing an additional C library that exposes it all on one thread, and I'm not going to be the one to do this.
Libaudioverse is GPL, and I am currently not able to give exceptions.  Libaudioverse may be commercial, and I haven't done the paperwork for GPL exceptions with a lawyer yet.  The upshot of this is that your code is also covered by the GPL if you use it, and you therefore need to be willing to distribute source code.  I'm not sure at this point if I can pull off a kickstarter, but Libaudioverse needs another year or so of development in order to be finished, rock solid, and have a strong community, and I need to get money for this somehow, even if it's over the next 5-year period as people buy it here and there.  As I don't want to have to support it for the next 10 years of my life, I'm hoping the kickstarter can and will work.  But it's usable for games and the first release will probably happen in the next month.
The Github is here.  The Github for camlorn_audio (as well as binaries from me) are all no longer available; the current version of Unspoken now uses Libaudioverse.  I cannot and will not stop you if you have a DLL, I released it under the BSD license and you're following it.

My Blog
Twitter: @ajhicks1992

2018-11-22 17:59:21

Hey there. So back before the forum kind of like...died for a few days someone had uploaded an update to this package. Can you please reupload it to the topic? Thanks

Ivan M. Soto.
Feel free to check out my work and services.
http://ims-productions.com

2018-11-22 18:17:23 (edited by CAE_Jones 2018-11-22 19:14:50)

Yeah, I was surprised when I saw this topic without a dot on it.
I don't have access to my computer with the files ATM, but if I have it in Dropbox or somesuch, I'll add the link to this post.
Edit: Not sure if this is it, or if this is just the original. I know it's not the most recent version, based on the date.
https://www.dropbox.com/s/48eu7n7fcm8ik … 0.zip?dl=0
I might be able to link the .bgt files for a newer version, but I don't think that's the most recent (I'm pretty sure I copied the most recent to Dropbox, but it apparently hasn't synched since September).
I've found that it's so buggy, hard to diagnose, and seemingly inconsistent (reinstalling windows caused the game I was using it with to hard crash, but the tests still work), that I'm hoping I can just make a dll for fmodex that makes the bits that are not available to BGT available to BGT. Of course, reinstalling Windows broke my C compiler somehow, and fixing that has been bothersome, so who knows at this point?
Edit2: Actually, DB reports itself unable to generate links for the more recent Sound3d and buffered_sound_pool files. So not today, apparently.

看過來!
"If you want utopia but reality gives you Lovecraft, you don't give up, you carve your utopia out of the corpses of dead gods."
MaxAngor wrote:
    George... Don't do that.

2019-10-28 16:42:28

Hi. First, sorry for reviewing this topic but i think it's better then making a new one. Can someone please upload the updated version to something like fileconvoy? I get a 429 error in db.

Lamas with hats, but with sponge bob as carl Stay tuned.

https://www.youtube.com/channel/UCvAUQt … subscriber

2019-10-28 18:51:48

Honestly its just a complete pile of trash. Camlern audio is so buggy and will just constantly crash on your computer all the time. I would recommend you switch to Libaudioverse, fmod, or switch to python and use openal.

Ivan M. Soto.
Feel free to check out my work and services.
http://ims-productions.com

2019-10-28 20:29:46

Is libaudioverse still supported? I thought, like Camlorn audio, it was discontinued.

Discord: dangero#0750
Steam: dangero2000
TWITCH
YOUTUBE and YOUTUBE DISCORD SERVER

2019-10-28 21:11:18

It's on sam's sight I believe, but yeah, if you want this kind of thing, switch to python and use openal

2019-10-28 21:17:50

Is there even a lav wrapper for bgt?

Lamas with hats, but with sponge bob as carl Stay tuned.

https://www.youtube.com/channel/UCvAUQt … subscriber

2019-10-28 21:25:01

There is, but good luck finding it.

-
"There is beauty in simplicity."

2019-10-28 23:01:17

Ok, does any one know where to find it?

Lamas with hats, but with sponge bob as carl Stay tuned.

https://www.youtube.com/channel/UCvAUQt … subscriber

2019-10-29 00:17:20

I would say ask mason, but well you kind of can't. I know he has it, though

2019-10-29 02:24:35

There is a wrapper but you might as well forget about the wrapper and write your own as I don't see anyone giving that wrapper out anytime soon. You should either make your own, or use python's wrapper around libaudioverse.

Ivan M. Soto.
Feel free to check out my work and services.
http://ims-productions.com

2019-10-29 05:34:28

Honestly I don't understand the fixation with 3d audio. Maybe, fully utilized in another language it would be cool, but it just kinda sucked in Redspot and STW.

2019-10-29 09:39:24

I expect that's because of bugs in the camlorn_audio wrapper, where it tried to mix a sound_pool style positioning system with the camlorn_audio approach (CA is mostly just an openALSoft wrapper, tbc). I fixed this, and the new problems are mostly with reverb and eax effects.
There's a fmodex wrapper somewhere. Unfortunately, reverb_properties is a struct, so you can't use those from BGT without an intermediate wrapper to map them to types BGT can access. I tried writing one, but my C compiler broke and refuses to fix itself, and tbh it's not worth it anyway.

看過來!
"If you want utopia but reality gives you Lovecraft, you don't give up, you carve your utopia out of the corpses of dead gods."
MaxAngor wrote:
    George... Don't do that.

2019-10-29 15:49:58

I am not needing the reverb, i am more searching for a way to play mp3 using a 3d sound pool.

Lamas with hats, but with sponge bob as carl Stay tuned.

https://www.youtube.com/channel/UCvAUQt … subscriber

2019-10-29 15:55:59

Use msi maybe?

2019-10-29 17:50:38

The fmodex wrapper does mp3. No idea if it's still online anywhere.

看過來!
"If you want utopia but reality gives you Lovecraft, you don't give up, you carve your utopia out of the corpses of dead gods."
MaxAngor wrote:
    George... Don't do that.

2019-10-29 18:02:28 (edited by SkyLord 2019-10-29 18:02:40)

@16, do you still have the fixxed camlorn audio?

2019-10-29 19:04:16

@18 i think you mean mci. This only has really poor wrapper which does literarely only supports play and stop. How ever, i think there was a dll reference for these somewhere, maybe i can find these again and if i manage to add the things i miss i will publish it here.

Lamas with hats, but with sponge bob as carl Stay tuned.

https://www.youtube.com/channel/UCvAUQt … subscriber

2019-10-29 21:55:32

Are you refering to this? https://www.dropbox.com/s/et776nxx82hp0 … d.zip?dl=1

CAE_Jones wrote:

The fmodex wrapper does mp3. No idea if it's still online anywhere.

Ivan M. Soto.
Feel free to check out my work and services.
http://ims-productions.com

2019-10-29 22:55:52

This works with mp3. The position code is kinda wierd but yeah.

Lamas with hats, but with sponge bob as carl Stay tuned.

https://www.youtube.com/channel/UCvAUQt … subscriber