Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
Playind different sounds in left right channels

hooj
Registered User
Quote
2015-10-26 16:04:11

I want to be able to play two different sounds on the left and right channels of headset. How can I achieve this using irrklang?


erik
Registered User
Quote
2015-10-27 12:29:23

Use setPan() for the sound, set it to -1 for left and 1 for right.


vlad_46
Registered User
Quote
2017-12-23 19:38:47

This statement does not work:

if( currentlyPlayingSound != null )
currentlyPlayingSound.Pan =
( BothChannels.Checked ? 0.0f :
( RightChannel.Checked ? 1.0f : -1.0f ) );

What is wrong?



Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internation?l" (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