2018-12-05 04:40:59 (edited by Kyleman123 2018-12-05 04:41:41)

I've seen people mention this sound_lib a few times but i can't seem to find a download. it also doesn't seem to be on pip. Does anyone have a link

I don’t believe in fighting unnecessarily.  But if something is worth fighting for, then its always a fight worth winning.
check me out on Twitter and on GitHub

2018-12-05 04:45:04

https://github.com/pauliyobo/continuum-repositories

Much less active on this forum than in the past.

Check out my live streams: http://lerven.me
follow me on Twitter: http://twitter.com/liamerven

2018-12-05 11:13:55

Liam. If you are going to post link to help people, please do make sure that you get the original one:
https://github.com/cartertemm/continuum-repositories

If you like what I do, Feel free to check me out on GitHub, or follow me on Twitter

2018-12-05 14:03:07

The original was made by Q, but he isn't actively developing it. I'm guessing Carter and Paul are mirroring the exact same projects, so it makes no difference.

ReferenceError: Signature is not defined.

2018-12-05 15:45:56

Undead assault was laggy and you never can blame it on python. Could be an older library(consider its release date) or a high traffic going to the vps, Or not optimising things enough and in other words, bad coding the network handler. Also the sounds were studderring sometimes, It even would make you hear the very first part of an out of hearing range sound, and that was cause of sound_lib specially on that date. Could the library manuel used in his game be an older version of what we currently have. Sound_lib is already using an old version of bass library at the moment.
Yeah pyglet really lags the key presses and loops, and so far i found no way to solve this. But pygame or pySdl2 are both fast enough.
The annoying fact about python is its lack of up to date sound libraries, All though at this moment that i'm writing this comment. I heard someone is working on wrapping the bass library, And it seems they done a lot of it too! If they decide to release their module publicly, This problem will be kicked out too. And then people can go around adding HRTF to bass and others wrap it for python. Although bass is still worth it even without hrtf. Honestly I haven't found hrtf audio in recent mainstream games even such as GTA V.

---
Co-founder of Sonorous Arts.
Check out Sonorous Arts on github: https://github.com/sonorous-arts/
my Discord: kianoosh.shakeri2#2988

2018-12-05 17:10:39

53. It's a mirror for a reason. Carter's is not the original either.
Like Oriol said. It was originally written by Q, but is no longer maintained.

Much less active on this forum than in the past.

Check out my live streams: http://lerven.me
follow me on Twitter: http://twitter.com/liamerven

2018-12-05 18:48:45

arqmeister wrote:

At Liam and auriel, i just want to advise you guys to keep the heat to a minimum, i see that things are calm now, but the tone was getting a little aggressive from where i stand.

Says the guy who apparently resigned. Wow. No comment.

2018-12-05 19:54:04

@53, sorry, but you pretty much contraddicted your self with that link. And no, I am not saying it because the link which apparently isn't the original is on my profile. Just saying that does not look good on you.

Paul

2018-12-05 20:31:40

Yah I know the Q was the origin creator. But Carter's repository is still the first (and original git) mirror. Then you have Paul's fork (so you basicly have a mirror of a mirror) which isn't good in terms of keeping stuff updated.

If you like what I do, Feel free to check me out on GitHub, or follow me on Twitter

2018-12-05 21:21:16

But this is not meant to be updated. This is a mirror which contains a collection of packages which people can grab since the site is down.
If any of those will be updated surely it won't be updated in that mirror, but a new repo will be created.

Paul

2018-12-05 21:41:38

ok then,
if you don't need hrtf, SoLoud is good as well. it has support for python
it is open-source under zlib license + you can use it commercially without paying anything.

2018-12-05 21:56:15

Lol I just wanted to mention soloud. Let me put an example of doing stuff with SoLoud here:
from soloud import *

with Soloud() as audiolib:
    audiolib.init()
    audiolib.set_global_volume(10)

    speech = Speech()

    wavefile=Wav()
    wavefile.load("1.ogg")
    FFT=BiquadResonantFilter()
    speech.set_filter(0, FFT)
    #0 here is the filter id. It specefies a proticular filter for you To be able to change the source's filter parameters. Yeah, it makes sense because you can have up to 4 filters aplyed to a source

    t = "Hello Python (OOP) World!"
    print(t)
    audiolib.set_3d_listener_position(0, 0, 0)
   
    soundhandle=audiolib.play_3d(wavefile, 1, 0, 0)
    audiolib.set_looping(soundhandle, 1)

    print ("Enter text to speak (empty string quits)")
    while t != "":
        audiolib.update_3d_audio()
        t = input(": ")
        speech.set_text(t);
        audiolib.play(speech);
        if t == "exit":
            break

    speech.close()
What it does is creating a speech synth and a wavefile, Giving the speech synth a filter effect, play the wave file as 3d(not hrtf), update the 3d audio system so it can correctly position sound sources, and getting input from user. Anything user types here can be spoken by the speech synth after pressing enter. If you type exit here or leave the input box empty the app exits. Not been so long that i'm messing with this library. I think y is up/down and z is forward/backward just like openal. You have the at and up vectors for setting the sound's orientation here.

---
Co-founder of Sonorous Arts.
Check out Sonorous Arts on github: https://github.com/sonorous-arts/
my Discord: kianoosh.shakeri2#2988

2018-12-05 22:42:18

It's so unfortunate that that isn't cross-platform. I actually really like it

Much less active on this forum than in the past.

Check out my live streams: http://lerven.me
follow me on Twitter: http://twitter.com/liamerven

2018-12-06 01:09:07 (edited by Ethin 2018-12-06 03:49:25)

The C++ library is up to date. I remember checking this out a while back -- its not available on PIP (which is a huge negative for it). Those libraries not available on PIP usually are extremely unpopular. As its open source, I believe it is cross-platform. I could try building it on Linux and see what happens. I am, however, concerned about affects like echo -- is it actually good quality reverb, or is it shitty reverb that will require us to use audio editors to get affects like that in?
Update: I'm looking at the preprocessor definitions of the docs and it seems like it supports SDL1, SDL2, port audio, OpenAl, XAudio2, windows multimedia, wasapi, OSS, ALSA, OpenSLS, Core Audio, Vita, as well as your "no audio device" interface. Chances are you'll get very good affects with either XAudio2 or OpenAL.
And of course, my respect for this went right back down again -- its still stuck on Python 2, and attempts to (always) load the 32-bit DLL instead of the 64-bit DLL. I mean, who uses 32-bit systems these days? Who doesn't use 64-bit Python (I don't even see the point of why you shouldn't use 64-bit Python).

"On two occasions I have been asked [by members of Parliament!]: 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out ?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question."    — Charles Babbage.
My Github

2018-12-06 04:02:43

I actually go 32 bit on windows, 64 bit on mac. I don't want to have to juggle two versions of windows and two versions of py3 so I opted for 32-bit. Everyone can run it just fine.

Much less active on this forum than in the past.

Check out my live streams: http://lerven.me
follow me on Twitter: http://twitter.com/liamerven

2018-12-06 07:27:17

I honestly use 32 bit on windows.

Paul

2018-12-06 07:39:53

Same here, its a question of compatibility, there are still systems out there that can run just x86 code and so do I build for x86 if its not a time-critical tool which needs the extra space of Int64 or the additional RAM.
Best Regards.
Hijacker

2018-12-06 08:15:26

Fair enough. I've always prefered 64-bit though, 32-bit is going away, surely but slowly. So I always build for 64-bit; saves me from having to build two versions of something.

"On two occasions I have been asked [by members of Parliament!]: 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out ?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question."    — Charles Babbage.
My Github

2018-12-06 09:13:54

some of the people in my country use old computers, so i have to compile for them in 32 bit
also, some of the people who have a computer with 64 bit cpu, consider 32 bit windows
the fact is, 32 bit code can be executed on 64 bit computers, so sometimes it doesn't make sense to compile 2 versions.
p.s: SoLoud will have support for hrtf in the near fewture.
also, if you know of some algorithms for filters, place a link for me and i might be able to implement them into SoLoud
or, post an issue in gitHub so it's main author can consider about it. or if you can make it by yourself, consider making a pull request.

2018-12-06 09:43:26 (edited by nathon 2018-12-06 09:49:33)

Hi,
There is a library called IrrKlang which is available in C++ and C#. Now, we know python has the power to use a C++ library using ctypes, as well as bindings generators like boost python swig and others. As much as I'd like to make a binding to IrrKlang for everyone I simply cant because of my lack of knowledge in that regard. So may I kindly ask to some of the more experienced developers on this forum to take a few moments out of their time and work something out using these auto binding generator tools? It will be beneficial for everyone not just me. If you don't have that much time, could you perhaps post a link where I can go and learn about this from the beginning?
I'd be glad if such an effort was made by more experienced coders on here; I'm sure everyone will appreciate your efforts, too.

2018-12-06 11:06:56

IrrKlang is not free for commercial use
with python itself, you can't call C++ classes. you should write wrappers for them. but you can call c functions with cTypes.

2018-12-06 12:32:13

God. IrrKlan kicked my ass for setting the sound orientation in an fps and i never succeeded even with the help of its manual.

---
Co-founder of Sonorous Arts.
Check out Sonorous Arts on github: https://github.com/sonorous-arts/
my Discord: kianoosh.shakeri2#2988

2018-12-06 15:11:39

My experiences with IrrKlang are rather bad as well, laggy sound, bad performance and its licensing model are just... well, i'll stick to BASS wherever possible.
Best Regards.
Hijacker

2018-12-06 15:24:18

Bass has the best licensing so far, plus there's pybass.

Much less active on this forum than in the past.

Check out my live streams: http://lerven.me
follow me on Twitter: http://twitter.com/liamerven

2018-12-06 16:48:48

Ok. Soloud is also laggy. Unless there's a way to increase the buffer size and alike, It's so laggy by default

---
Co-founder of Sonorous Arts.
Check out Sonorous Arts on github: https://github.com/sonorous-arts/
my Discord: kianoosh.shakeri2#2988