Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name:  Password:
Ambiera Forum > irrKlang
Creating Sound Streams
Author Text

guppy
Guest
Quote
2020-07-27 02:45:10

Is it possible to create separate sound streams?

If so, how would i do that in C net?


guppy
Guest
Quote
2020-07-27 02:45:57

c .net.


niko
Moderator
Quote
2020-07-27 07:23:30

Sure, if you want to play 2 streams at the same time, just call
engine.play2D("file_one.mp3");
engine.play2D("file_two.mp3");



guppy
Guest
Quote
2020-07-27 07:28:16

But what if want each steam to have its own separate volume.


niko
Moderator
Quote
2020-07-27 07:53:15

If you set the "track" or "loop" parameter to "true", you get back an ISound object from play2D. You can use its "Volume" property. Like this:

ISound s = engine.Play2D("music.mp3");
s.Volume = 0.5;



Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "In?ernational" (you are not logged in)


Text:

 

  

Forum 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