synthizer error
hey friends, i tryed example provided in synthizer manual it's working. then i coded some thing. it's not working. here is the code.import synthizersynthizer.configure_logging_backend(synthizer.LoggingBackend.STDERR)synthizer.set_log_level(synthizer.LogLevel.
Re: synthizer error
I'm not the dev of synthiser, but to me, the output looks right, as you didn't manipulate the loaded sound in any way, playing it or whatever. Your code worked the same for me, except that the cpu flared to about 99% all of a suddan, and nvda crashed ve
Re: synthizer error
I am not familiar with synthiser at all, but it seems like code is behaving as expected. the code inside the with block, just sets up a bunch of things up, and ends right after that. So after your script is done doing the setup you specified in the with block, it will
Re: synthizer error
yeah, exactly, so I don't find any error, either...just that random nvda freeze.
URL: https://forum.audiogames.net/post/576792/#p576792
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cg
Re: synthizer error
Also, you never cleaned up your generator with generator.destroy(). Maybe put a sleep() call in there to wait for a while, before destroying stuff?HTH,
URL: https://forum.audiogames.net/post/576793/#p576793
--
Audiogames-reflector mailing list
Audiogames-reflector
Re: synthizer error
Not cleaning up the generator is fine in small examples. When Synthizer is uninitialized, all handles are cleaned up for you.The missing sleep should be the problem.If there's an NVDA freeze, that's weird. I'm not surprised that it could briefly peg
Re: synthizer error
Nope, surely it's not synthiser's fault, it happens because, DK, maybe windows performed a checking for updates there, really DK, but it happens only with my comp. An exact copy of my PC runs normally, so I think I should reset windows from time to time, if
Re: synthizer error
Not yet. That's on the roadmap after reverb, which is on the roadmap after work stops being work and I have the mental energy to do it. It should work with tweaking on Mac and Linux both, but someone has to sit down and do that tweaking.
URL:
Re: synthizer error
@camlorncan you correct my code please? it's not freezing nvda. i think thread freezed. camlorn can you correct my code please? i can sleep the time ut it's not good idea when come to games for sleep for every sound. so, say if i wan't to play a music in
Re: synthizer error
@9The code you posted looks like the example script from the Synthizer source tree. Where are the changes? That file works by default... or did, when I updated it haha.Back to your original question: You shouldn't be using sleep to play files no. There should be
Re: synthizer error
@10as i posted example of synthizer which is provided by synthizer, i posted in @9. and in @1, i posted my code. but example scrpt works but @1 code is not working. i can't figure any mistakes. i followed the same logic as maual says. but it's not working. m
Re: synthizer error
@11As has already been stated, the only problem is that you're not waiting for the sound to play.To wait for it, put something like:while True:
passat the end.Then, when your sound has finished, you can exit with control + c.
URL: https://forum.audiogames.net
Re: synthizer error
wo thanks will try
URL: https://forum.audiogames.net/post/577090/#p577090
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: synthizer error
Like every other audio library, Synthizer plays audio on background threads and doesn't wait for it to be done playing. If it's working with time.sleep or the above while loop, it's not Synthizer's fault.If you don't understand how to integr
14 matches
Mail list logo