Re: lucia virtualinput and audio help
h now I found it thanks. Do you know to get the length of the sound using sound.py? I have seen it referenced as len(filename), could I try that and see if that works
URL: https://forum.audiogames.net/post/539090/#p539090
--
Audiogames-reflector
Re: lucia virtualinput and audio help
I swear I looked there and didn't see a destroy function, but I will double check
URL: https://forum.audiogames.net/post/539090/#p539090
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin
Re: lucia virtualinput and audio help
First, for virtual input, check my signature. You’ll find an answer there. Second, what you’re looking for is in the bass directory, soundPool.py. Specifically, the destroy_sound function.
URL: https://forum.audiogames.net/post/539063/#p539063
Re: lucia virtualinput and audio help
now my next question. How do I destroy the sound? I can find most functions in the lucia directory, but audio I am completely stuck, can't find the right functions anywhere. Also in the sound object how do I get the sound length? I have tried len
Re: lucia virtualinput and audio help
now my next question. How do I destroy the sound? I can find most functions in the lucia directory, but audio I am completely stuck, can't find the right functions anywhere. Also in the sound object how do I get the sound length? I have tried len
Re: lucia virtualinput and audio help
now my next question. How do I destroy the sound? I can find most functions in the lucia directory, but audio I am completely stuck, can't find the right functions anywhere.
URL: https://forum.audiogames.net/post/538993/#p538993
--
Audiogames
Re: lucia virtualinput and audio help
now my net question, what doo I use for the bgt sound object like methods? What code do I need for that, thanks
URL: https://forum.audiogames.net/post/538993/#p538993
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin
Re: lucia virtualinput and audio help
AttributeError: module 'lucia' has no attribute 'audiobackend'That was from post 2. So I put a period, that didn't work. Then I saw how you wrote it. Post 2 forgot the underline between audio and backend.It works, and it is not laggy like pygame mixer
Re: lucia virtualinput and audio help
AttributeError: module 'lucia' has no attribute 'audiobackend'That was from post 2. So I put a period, that didn't work. Then I saw how you wrote it. Post 2 forgot the underline between audio and backend.
URL: https://forum.audiogames.net/post/538952
Re: lucia virtualinput and audio help
AttributeError: module 'lucia' has no attribute 'audiobackend'I tried that first and then tried audio.backend
URL: https://forum.audiogames.net/post/538952/#p538952
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin
Re: lucia virtualinput and audio help
uh, it is not lucia.audio.backend it is lucia.audio_backendhere is an examplepool=lucia.audio_backend.SoundPool()if lucia.key_pressed(lucia.K_LCTRL): pool.play_stationary('gun.ogg')hope this helps
URL: https://forum.audiogames.net/post/538951
Re: lucia virtualinput and audio help
@2 I think that path is off, it threw me an error. I tried modifying the line but no success. Do soundpool have less lag than pygame's mixer?AttributeError: module 'lucia.audio.backend' has no attribute 'SoundPool'
URL: https://forum.audiogames.net
Re: lucia virtualinput and audio help
@2 I think that path is off, it threw me an error. I tried modifying the line but no success. Do soundpool have less lag than pygame's mixer?
URL: https://forum.audiogames.net/post/538950/#p538950
--
Audiogames-reflector mailing list
Audiogames
Re: lucia virtualinput and audio help
You need to make an instance of the SoundPool objectp = lucia.audiobackend.SoundPool()p.play blah
URL: https://forum.audiogames.net/post/538948/#p538948
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https
14 matches
Mail list logo