26 May '13 - 10:30 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: Multichannel playback  (Read 1942 times)
roglan
Posts: 4


« on: 15 Apr '06 - 17:58 »
Reply with quoteQuote

I've got this gadget (http://www.zzounds.com/item--TERPHASE88R) that I need to playback 8 simultaneous tracks on, all controlled from a Windows PC. What are your recommendations? What libraries would I need to make this work. I'll be building the controller app in VB.NET or C# so any samplecode would be great - but first off all I need an overview of what is needed to acomplish this at all.....I'm pretty clueless when it comes to sound interfaces and programming at them....

Regards,
Roger


Logged
roglan
Posts: 4


« Reply #1 on: 15 Apr '06 - 19:31 »
Reply with quoteQuote

Ok - dug a bit deeper Tongue
I've loaded the bass.net dll and found a few simple samples that got me a bit furter into how to do this. Are there any examples out there on how to create the file(s) with 8 different soundtracks and push it through bass to the device's 8 channels?

And - the device seems to support quite a few ways to do this, what is the optimal solution, and how do I configure BASS to use one or the other....?


Supported:
WDM driver for Windows
Support for ASIO 2.0 and GigaStudio (GSIF)
ASIO/GSIF multi-client mode
"WDM Kernel Streaming" (e.g. for Sonar)
MME- and DirectSound support
Control Panel for Windows 98SE/ME/2000/XP (MAC OS X projected)
Logged
Ian @ un4seen
Administrator
Posts: 15276


« Reply #2 on: 16 Apr '06 - 20:54 »
Reply with quoteQuote

I've got this gadget (http://www.zzounds.com/item--TERPHASE88R) that I need to playback 8 simultaneous tracks on, all controlled from a Windows PC. What are your recommendations?

It depends on how its drivers present the multiple outputs, ie. whether the multiple outputs are presented as a single 8 channel device, or 4 separate stereo devices. For those 2 scenarios, checkout the SPEAKERS and MULTI examples, respectively.

As it has ASIO support, you could also use BASSASIO (checkout the included SPEAKERS example).

Are there any examples out there on how to create the file(s) with 8 different soundtracks and push it through bass to the device's 8 channels?

Do you mean combining multiple existing files to make an 8 channel file? If so, you probably don't need to bother, as you can choose which of the device's channels to play the BASS channels on (eg. using the SPEAKER flags).
Logged
roglan
Posts: 4


« Reply #3 on: 9 May '06 - 12:55 »
Reply with quoteQuote

Thanks for the feedback!
 
Under .NET 2.0 I can not find any examples called eiter SPEAKERS or MULTI. Anyway - the device presents all eight outputs as 8 single devices.

Regards,
Roger
Logged
radio42
Posts: 4012


« Reply #4 on: 9 May '06 - 14:08 »
Reply with quoteQuote

No real multi speaker examples...but you just might try the following:

For using multiple devices...see the C# "Encoding" or "WinampDSP" example.

For using Speakers-Assignments just take any example (e.g. "Simple") and add any of the BASSStream.BASS_SPEAKER_xyz flag when creating a stream with "BASS_StreamCreateFile".
Example:
_streamA = Bass.BASS_StreamCreateFile(_FileNameA, 0, 0, BASSStream.BASS_SPEAKER_FRONT);
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines