Multichanel Sound playing in external usb sound card

Hello everybody. Im trying to play multiple sounds from my external usb sound card. All the information that I found about this subject is old. I don´ even know where to start investigating.

My external sound card : ENMAB-8CM 7.1 channel USB audio box.
OS : Ubuntu.
Compiler : codeblocks:

I have to used FMOD library? or is there an addon? help me please. Im completly lost.

I work with a modified version the ofSoundPlayer that can select the needed device and can also select how many outputs are needed. I use 4, 6 and 8 channels.
Actually it is mixed with my own work, but I could make an addon. I cannot try it before saturday because my soundcard in in another place.
What do you exactly want to do, and for what kind of projet ?

I have use https://github.com/admsyn/ofxAudioUnit for osX successfully on up to 96 channels.
I also often use multiple stereo USB audio device like the m-audio fasttrack and combine them to a multi channel “aggregated device” via the osX audio midi setup app.

I know you are on Ubuntu, but thought of sharing this info anyway.

So. … there is no way to used this addon on ubuntu?

I have to reproduce video that at the same time shots audio that comes out from different channels and loudspearkes.

Audio Units are specific to Mac OS X

I’m not shure if I understand. Is the sound included in the video file or not ? If not, how it is triggered and how is it synchronized ?

A few years ago I had a project with video and multichannel sound. For the sound; I used FMOD, for the video, the quicktime player from openframeworks. After about 10 minutes, synchronisation was not accurate.

The video is going to be played with quicktime (in openframewoks) and make a synchroinisation outside de videoband. I mean , call the sounds independent from the video.
I dont know how to use FMOD I try to understanding it but it was imposible to me. How could I do it using FMOD ? can you write some example code ?

Wich other way could I do this widthout using quicktime or FMOD?

Ive made it using OfxMultisoundplayer !!! I just need to update my drivers from my soundboard.

Ok. Here is what you asked for:

please tell me how it works on your computer.

Im returning to activated this proyect again. Is that supposed to work better? Imagine that is a video in quicktime,
Is the sound output going to be sync with the video if I lunch the video and the ofXFmodSoundPlayer object at once?

This is not working.

Here´s the log.

Severity	Code	Description	Project	File	Line	Suppression State
Error	LNK1120	15 unresolved externals	Multichannel8	E:\Julito\Openframeworks\apps\myApps\Multichannel8\bin\Multichannel8_debug.exe	1	
Error	LNK2019	unresolved external symbol "public: __thiscall ofxFmodSoundPlayer2::ofxFmodSoundPlayer2(void)" (??0ofxFmodSoundPlayer2@@QAE@XZ) referenced in function "public: __thiscall ofApp::ofApp(void)" (??0ofApp@@QAE@XZ)	Multichannel8	E:\Julito\Openframeworks\apps\myApps\Multichannel8\main.obj	1	
Error	LNK2019	unresolved external symbol "public: __thiscall ofxFmodSoundPlayer2::~ofxFmodSoundPlayer2(void)" (??1ofxFmodSoundPlayer2@@QAE@XZ) referenced in function "public: __thiscall ofApp::ofApp(void)" (??0ofApp@@QAE@XZ)	Multichannel8	E:\Julito\Openframeworks\apps\myApps\Multichannel8\main.obj	1	
Error	LNK2019	unresolved external symbol "void __cdecl ofxFmodSoundUpdate(void)" (?ofxFmodSoundUpdate@@YAXXZ) referenced in function "public: virtual void __thiscall ofApp::update(void)" (?update@ofApp@@UAEXXZ)	Multichannel8	E:\Julito\Openframeworks\apps\myApps\Multichannel8\ofApp.obj	1	
Error	LNK2019	unresolved external symbol "void __cdecl ofxFmodSetPreferedDevice(int)" (?ofxFmodSetPreferedDevice@@YAXH@Z) referenced in function "public: virtual void __thiscall ofApp::setup(void)" (?setup@ofApp@@UAEXXZ)	Multichannel8	E:\Julito\Openframeworks\apps\myApps\Multichannel8\ofApp.obj	1	
Error	LNK2019	unresolved external symbol "int __cdecl ofxFmodGetNumDevices(void)" (?ofxFmodGetNumDevices@@YAHXZ) referenced in function "public: virtual void __thiscall ofApp::draw(void)" (?draw@ofApp@@UAEXXZ)	Multichannel8	E:\Julito\Openframeworks\apps\myApps\Multichannel8\ofApp.obj	1	
Error	LNK2019	unresolved external symbol "class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > __cdecl ofxFmodGetDeviceNames(void)" (?ofxFmodGetDeviceNames@@YA?AV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@XZ) referenced in function "public: virtual void __thiscall ofApp::draw(void)" (?draw@ofApp@@UAEXXZ)	Multichannel8	E:\Julito\Openframeworks\apps\myApps\Multichannel8\ofApp.obj	1	
Error	LNK2019	unresolved external symbol "bool __cdecl ofxFmodSetDevice(int)" (?ofxFmodSetDevice@@YA_NH@Z) referenced in function "public: virtual void __thiscall ofApp::keyPressed(int)" (?keyPressed@ofApp@@UAEXH@Z)	Multichannel8	E:\Julito\Openframeworks\apps\myApps\Multichannel8\ofApp.obj	1	
Error	LNK2019	unresolved external symbol "public: bool __thiscall ofxFmodSoundPlayer2::load(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,bool)" (?load@ofxFmodSoundPlayer2@@QAE_NV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N@Z) referenced in function "public: void __thiscall ofApp::loadSounds(void)" (?loadSounds@ofApp@@QAEXXZ)	Multichannel8	E:\Julito\Openframeworks\apps\myApps\Multichannel8\ofApp.obj	1	
Error	LNK2019	unresolved external symbol "public: void __thiscall ofxFmodSoundPlayer2::unload(void)" (?unload@ofxFmodSoundPlayer2@@QAEXXZ) referenced in function "public: void __thiscall ofApp::unloadSounds(void)" (?unloadSounds@ofApp@@QAEXXZ)	Multichannel8	E:\Julito\Openframeworks\apps\myApps\Multichannel8\ofApp.obj	1	
Error	LNK2019	unresolved external symbol "public: void __thiscall ofxFmodSoundPlayer2::play(void)" (?play@ofxFmodSoundPlayer2@@QAEXXZ) referenced in function "public: virtual void __thiscall ofApp::keyPressed(int)" (?keyPressed@ofApp@@UAEXH@Z)	Multichannel8	E:\Julito\Openframeworks\apps\myApps\Multichannel8\ofApp.obj	1	
Error	LNK2019	unresolved external symbol "public: void __thiscall ofxFmodSoundPlayer2::stop(void)" (?stop@ofxFmodSoundPlayer2@@QAEXXZ) referenced in function "public: virtual void __thiscall ofApp::keyPressed(int)" (?keyPressed@ofApp@@UAEXH@Z)	Multichannel8	E:\Julito\Openframeworks\apps\myApps\Multichannel8\ofApp.obj	1	
Error	LNK2019	unresolved external symbol "public: void __thiscall ofxFmodSoundPlayer2::setVolume(float)" (?setVolume@ofxFmodSoundPlayer2@@QAEXM@Z) referenced in function "public: void __thiscall ofApp::loadSounds(void)" (?loadSounds@ofApp@@QAEXXZ)	Multichannel8	E:\Julito\Openframeworks\apps\myApps\Multichannel8\ofApp.obj	1	
Error	LNK2019	unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall ofxFmodSoundPlayer2::getFileName(void)" (?getFileName@ofxFmodSoundPlayer2@@QAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function "public: virtual void __thiscall ofApp::draw(void)" (?draw@ofApp@@UAEXXZ)	Multichannel8	E:\Julito\Openframeworks\apps\myApps\Multichannel8\ofApp.obj	1	
Error	LNK2019	unresolved external symbol "public: void __thiscall ofxFmodSoundPlayer2::setLevel(int,float)" (?setLevel@ofxFmodSoundPlayer2@@QAEXHM@Z) referenced in function "public: virtual void __thiscall ofApp::keyPressed(int)" (?keyPressed@ofApp@@UAEXH@Z)	Multichannel8	E:\Julito\Openframeworks\apps\myApps\Multichannel8\ofApp.obj	1	
Error	LNK2019	unresolved external symbol "public: float __thiscall ofxFmodSoundPlayer2::getLevel(int)" (?getLevel@ofxFmodSoundPlayer2@@QAEMH@Z) referenced in function "public: virtual void __thiscall ofApp::keyPressed(int)" (?keyPressed@ofApp@@UAEXH@Z)	Multichannel8	E:\Julito\Openframeworks\apps\myApps\Multichannel8\ofApp.obj	1

I make it work ! The library is working. but i can´t make different sounds at different exits at the same time as a i wanted with this. Is there any way to doing it?