Karaoke (MP3+CDG) is Back!
#31
SlaveUnit I had already read your post but you seem to be the only one who has it working. I'm using hdmi for the audio out to my TV and I have a separate on-board sound card that I'm using for the mic. Through the OS (Ubuntu) I can get the sound working but with a slight delay, but through XBMC I get nothing.
#32
Hi Kieth,

I have a pro Karaoke Set-Up and was wondering what you meant by ur msg about Karaoke on xbmcHuh Is this some piece of software I can get for xbmc to run my karaoke files?

Thanx for ur post Kieth
#33
If you run the current SVN version there is Karaoke support
#34
Ohh ok Im running windows with optical for the output and the mic is obviously analog going in through the 1/8" mic input. For windows users this should be pretty simple to get it working. Im running this sound card with XP...
http://www.diamondmm.com/XS71DDL.php
#35
oldnemesis Wrote:However if all the songs have the same delay, you'll need to correct it in advancesettings.xml

JFYI, next karaoke update will be able to correct it on-the-fly using subtitle correction buttons, and will store the correction in the database.

This is good news, it is not easy getting the right settings and format in the advancesettings.xml

Any word on being able to turn off visualizations? It's hard to sing with things flying around in the background. The old XBMC would allow setting the transparency of the visualization, when set to 0 would black it out. I was not able to file a bug report yet with the holidays and all.
#36
I've tried changing the <karaokesyncdelay> in the advanced settings with no luck. It looks like it isnt changing anything as stated earlier in the thread by spiff. Has anyone been able to change this and see any results. I will assume the setting is in milliseconds? I have tried anywhere from 1 to 7000.
#37
SlaveUnit Wrote:oldnemesis...the white screen happens in windows as well.

Could you please try the following:

- open file xbmc/CdgParser.cpp in text editor (preferably not Word Smile )
- go to line 425
- You will see the following piece of code:

Code:
m_bgAlpha = 0;
  if (g_guiSettings.GetString("mymusic.visualisation").Equals("None"))
    m_bgAlpha = 0xff000000;
  m_fgAlpha = 0xff000000;

Delete two lines in the middle, making it look like this:

Code:
m_bgAlpha = 0;
  m_fgAlpha = 0xff000000;

save the file, and recompile. If it doesn't fix it, please file a bug in trac. If it does, let me know.
#38
Hi just cheeked trac and as of rev 16959 the delay should be fixed.

Cheers
#39
wonder who's to blame Wink
#40
crash123 Wrote:Hi just cheeked trac and as of rev 16959 the delay should be fixed.

Cheers

Unless I am doing something wrong I still dont get any change no matter what the value is for <karaokesyncdelay></karaokesyncdelay> in advancedsettings.xml
#41
Still getting the white screens when setting vizualizations to none. I am unable to re-compile myself to test you code change above. This is in the windows version.
#42
Hi

I noticed that karaoke doesnt work with some files. Looks like it crash when karaoke has many announcement lines at beginning(author etc)

Debug log:
Code:
10:16:10 T:2476 M:365432832   DEBUG: Surface::CSurface::Flip - missed requested swap
10:16:10 T:2476 M:365428736   DEBUG: SDLKeyboard: scancode: 28, sym: 13, unicode: 13, modifier: 1000
10:16:10 T:2476 M:365428736   DEBUG: CApplication::OnKey: 61453 pressed, action is 7
10:16:10 T:2476 M:365404160   DEBUG: CPlayerCoreFactor::GetPlayers(D:\Media\liroy\LIROY - Impreza.kar)
10:16:10 T:2476 M:344412160   DEBUG: CFileCache::Open - opening <D:\Media\liroy\LIROY - Impreza.kar> using cache
10:16:10 T:2200 M:344399872   DEBUG: thread start, auto delete: 0
10:16:10 T:2200 M:344276992    INFO: CFileCache::Process - Hit eof.
10:16:10 T:2200 M:343805952   DEBUG: CThread::staticThread, deleting thread graphic context
10:16:10 T:2200 M:343805952   DEBUG: Thread 2200 terminating
10:16:10 T:2476 M:359186432    INFO: PAPlayer: Playing D:\Media\liroy\LIROY - Impreza.kar
10:16:10 T:2476 M:359170048   DEBUG: CWin32DirectSound::Initialize - primary sound buffer created
10:16:10 T:2476 M:358973440   DEBUG: CWin32DirectSound::Initialize - secondary sound (stream)buffer created
10:16:10 T:3504 M:358952960   DEBUG: thread start, auto delete: 0
10:16:10 T:3504 M:358940672   DEBUG: PAPlayer: Thread started
10:16:10 T:3504 M:358940672   DEBUG: Playback has started
10:16:11 T:2476 M:357244928   DEBUG: CGUIInfoManager::SetCurrentSong(D:\Media\liroy\LIROY - Impreza.kar)
10:16:11 T:2476 M:357244928   DEBUG: Loading additional tag info for file D:\Media\liroy\LIROY - Impreza.kar
10:16:11 T:3504 M:357670912    INFO: AudioDecoder: File is queued
10:16:11 T:2476 M:357658624   DEBUG: KAR lyric loader: found lyric track 0, first offset 1920 (2526.32 ms)
10:16:11 T:2476 M:357601280   DEBUG: Karaoke: lyrics for song D:\Media\liroy\LIROY - Impreza.kar loaded successfully
10:16:11 T:2476 M:357179392   DEBUG: CKaraokeLyricsText: lines need to be reparagraphed
10:16:11 T:2476 M:357146624   ERROR: Karaoke lyrics normalizer: time went backward, enabling workaround
10:16:11 T:2476 M:356732928   DEBUG: Activating window ID: 12006
10:16:11 T:2476 M:356732928   DEBUG: Checking if window ID 12006 is locked.
10:16:11 T:2476 M:356732928   DEBUG: Surface::CSurface::Flip - missed requested swap
10:16:11 T:2476 M:356732928   DEBUG: Surface::CSurface::Flip - missed requested swap
10:16:11 T:2476 M:356732928   DEBUG: Surface::CSurface::Flip - missed requested swap
10:16:11 T:2476 M:357638144    INFO: Loading skin file: MusicVisualisation.xml
10:16:11 T:2476 M:357629952   DEBUG: Load MusicVisualisation.xml: 4.03ms
10:16:11 T:2476 M:357629952   DEBUG: Alloc resources: 4.14ms (4.07 ms skin load, 0.05 ms preload)
10:16:11 T:2476 M:357629952    INFO: Loading skin file: MusicOSD.xml
10:16:11 T:2476 M:357617664   DEBUG: Load MusicOSD.xml: 3.84ms
10:16:11 T:2476 M:356937728   DEBUG: Alloc resources: 72.64ms (3.88 ms skin load, 0.68 ms preload)
10:16:11 T:2476 M:356937728    INFO: Loading skin file: MusicOSDVisSettings.xml
10:16:11 T:2476 M:356925440   DEBUG: Load MusicOSDVisSettings.xml: 1.80ms
10:16:11 T:2476 M:356868096   DEBUG: Alloc resources: 19.72ms (1.84 ms skin load, 0.27 ms preload)
10:16:11 T:2476 M:356864000    INFO: Loading skin file: VisualisationPresetList.xml
10:16:11 T:2476 M:356859904   DEBUG: Load VisualisationPresetList.xml: 2.16ms
10:16:11 T:2476 M:356859904   DEBUG: Alloc resources: 2.23ms (2.19 ms skin load, 0.01 ms preload)
10:16:11 T:2476 M:356859904   DEBUG: Updating visualisation albumart: defaultAlbumCover.png
10:16:11 T:2476 M:356847616   DEBUG: Win32DllLoader::Load(C:\XBMC\visualisations\ProjectM_win32.vis)
10:16:11 T:2476 M:356564992   DEBUG: LoadLibraryA('glew32.dll')
10:16:11 T:2476 M:356560896   DEBUG: LoadLibrary('glew32.dll') returning: 00C13CA0
10:16:11 T:2476 M:355549184   DEBUG: OnInitialize() started
10:16:11 T:2476 M:355549184   DEBUG: Updating visualisation albumart: defaultAlbumCover.png
10:16:11 T:2476 M:355549184   DEBUG: OnInitialize() done

I tested it with many files, and 50% of them not working. Please test with this:
http://bespin.pl/LIROY-Impreza.kar


build Rev17386-jester (also tested on fresh icons build)
specs: e7400/gf7150/2gb/xp
#43
merphi Wrote:Hi

I noticed that karaoke doesnt work with some files. Looks like it crash when karaoke has many announcement lines at beginning(author etc)
I tested it with many files, and 50% of them not working. Please test with this:
http://bespin.pl/LIROY-Impreza.kar

build Rev17386-jester (also tested on fresh icons build)
specs: e7400/gf7150/2gb/xp

You are trying to play .KAR file.
I believe karaoke currently only supports MP3+G and CD+G files.
#44
merphi Wrote:I noticed that karaoke doesnt work with some files. Looks like it crash when karaoke has many announcement lines at beginning(author etc)

Fixed in revision 17445.
Thank you very much for the bug report, as I was able to catch and fix another pretty ugly generic bug as well.
If you find other files which are not played, please let me know either here or (preferred) file a bug in Tracker.
#45
igsolt Wrote:You are trying to play .KAR file.
I believe karaoke currently only supports MP3+G and CD+G files.

Latest SVN revision added support for MIDI/KAR and LRC karaoke.

Logout Mark Read Team Forum Stats Members Help
Karaoke (MP3+CDG) is Back!0