Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
how to play multiple sounds simultaneously in 2D

samhitha
Registered User
Quote
2020-05-03 13:07:12

hello
we have tried to build a virtual drumpad using opengl and we have included the irrklang library to play music when there is a key press from either mouse or keyboard,but the problem is that the music plays only when the previous sound has stopped playing,how can it play even when the other sound is being played


niko
Moderator
Quote
2020-05-04 05:36:58

Just call engine.play2D(...) whenever you need the sound to be played and don't stop the previous sound.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internatio?al" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact