XBMC Community Forum
.CDG Karaoke-files support for music - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: .CDG Karaoke-files support for music (/showthread.php?tid=4654)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41


- stcogoli - 2005-02-03 08:57

ok, i think somehow my builds got all messed up. i solved the shutdown/reinit problem and the music mixer mike now works fine! the only problem is that the sound output only works well in debug mode. when i run the release, i get strong hissing. i suspect my build is screwed up cause the mmixer mike problem went away by itself and the debug works fine.

p.s: i don't know for sure that my previous voice manager shutdown/reinit problem is the same one that plagues the kai manager but to whoever wrote this on line 120 of kaiclient.cpp
Quote:// todo: we really ought to shutdown, but somethings up - i can never seem to reinit properly.
//g_voicemanager.shutdown();
try adding something like this at the end of g_voicemanager.initialize()
Quote://update the starting voice device states
dword dwcomheadmask = xgetdevices(xdevice_type_voice_headphone);
dword dwcommikemask = xgetdevices(xdevice_type_voice_microphone);

for(int i=0; i< xgetportcount(); i++)
{
if( ( (dwcomheadmask & (1<<i)) && (dwcommikemask & (1<<i)) )
|| ( (dwcomheadmask & (1<<(i+16))) && (dwcommikemask & (1<<(i+16))) ) )
{
if(m_dwenabled & (1<<i))
oncommunicatorinserted(i);
}
}



- stcogoli - 2005-02-03 17:52

ok, everything is fixed now. works in both builds with both devices. only thing i think that remains is tweaking, like maybe silence detection to limit the number of stored packets and prevent vis overflow, making the voice show better in the visualisation (right now it's sorta crushed by the music), and deciding where to put the settings (maybe implementing a popup volume bar for voice volume). i really don't have time to do the tweaking and would leave that to another dev if that's ok :lookaround:. i only found time to get back to work on this cause i felt bad letting down those who donated their mike/money...


- Nickman - 2005-02-03 18:38

(stcogoli @ feb. 03 2005,16:52 Wrote:ok, everything is fixed now. works in both builds with both devices. only thing i think that remains is tweaking, like maybe silence detection to limit the number of stored packets and prevent vis overflow, making the voice show better in the visualisation (right now it's sorta crushed by the music), and deciding where to put the settings (maybe implementing a popup volume bar for voice volume). i really don't have time to do the tweaking and would leave that to another dev if that's ok  :lookaround:. i only found time to get back to work on this cause i felt bad letting down those who donated their mike/money...
great work :thumbsup:

happy you got it to work. will check the patch out and give it a try.


- lion2 - 2005-02-03 19:46

(stcogoli @ feb. 03 2005,15:52 Wrote:ok, everything is fixed now. works in both builds with both devices. only thing i think that remains is tweaking, like maybe silence detection to limit the number of stored packets and prevent vis overflow, making the voice show better in the visualisation (right now it's sorta crushed by the music), and deciding where to put the settings (maybe implementing a popup volume bar for voice volume). i really don't have time to do the tweaking and would leave that to another dev if that's ok :lookaround:. i only found time to get back to work on this cause i felt bad letting down those who donated their mike/money...
great work!! can't wait to try it out!


- black88mx6 - 2005-02-04 16:31

thanks for the update - don't see any news of this in the cvs changelog info... what date cvs would you expect this to be in?

i take it the next step would be echo control?


- erpi99 - 2005-02-04 23:12

it is only a patch not submitted to the cvs yet.


- black88mx6 - 2005-02-06 21:59

since i can't compile yet i will wait for inclusion to the cvs.


- Gamester17 - 2005-02-07 14:26

@stcogoli, question, are more than one microphone at a time supported?, could a user for example hook up and use 2 (or maybe even 4) xbox music mixer microphones? Confused
(i mean without using some kind phone splitter, so connect up to 4 xbox music mixer microphones or xbox-communicators, each to it's own controller.  ....be a nice feature)


- stcogoli - 2005-02-07 16:46

yes gamester17, you can hook up to 4 voice devices(communicators or mikes), and use them simultaneously, each with its own settings (voice mask, volume...). i have successfully tested one communicator with one mmixer mike. however, i had to fix a small bug which prevented mmixer mike's voice mask to kick in so make sure you download the freshest patch.


- Rikochet - 2005-02-08 08:58

anyone know if this is added to the cvs yet and if it isnt how long does it usually take?

great work on this plugin....my kids use it daily and the addition of mic support will greatly enhance it....cant wait to try it...

thx again