|
davidpn
Posts: 6
|
 |
« Reply #40 on: 18 Nov '10 - 06:12 » |
Quote
|
I'm using the latest BASS_CDG (2.4.0.1) in conjunction with BASS_FX, and at the end of the track, my application crashes.
I've gone back to using the CDG demo code in case there was something I had introduced that was causing the problem, however it still crashes. From the demo code:
procedure TForm2.Button1Click(Sender: TObject); begin if chan<>0 then begin BASS_StreamFree(Chan); chan:=0; end; // Note: Added BASS_STREAM_DECODE flag in order to use BASS_FX if Opendialog1.Execute(handle) then Chan := BASS_StreamCreateFile(False, PChar(OpenDialog1.FileName), 0, 0, BASS_UNICODE or BASS_STREAM_DECODE); if (chan=0) then Exit; Scrollbar1.Max := Round(BASS_ChannelBytes2Seconds(chan, BASS_ChannelGetLength(chan, BASS_POS_BYTE))); BASS_CDG_SetVideoWindow(Chan, Panel1.Handle);
// BASS_FX call to introduce tempo effects: Chan := BASS_FX_TempoCreate(Chan, BASS_FX_FREESOURCE);
BASS_ChannelPlay(Chan, False); end;
I'm using Delphi 2010.
Thanks in advance
|
|
|
|
|
Logged
|
|
|
|
|
Astro29
Posts: 180
|
 |
« Reply #41 on: 18 Jan '11 - 13:00 » |
Quote
|
this is a sentence taken directly from that link you posted: "One thing led to another, and I started porting over some C++ code that I found on Google Code."
|
|
|
|
|
Logged
|
|
|
|
|
fishbox
Posts: 13
|
 |
« Reply #42 on: 19 Jan '11 - 16:35 » |
Quote
|
Very interested in this addon. Has it been implemented in BASS .Net yet? Here's a pretty please with eyelashes batting request for it. 
|
|
|
|
|
Logged
|
|
|
|
|
radio42
Posts: 4030
|
 |
« Reply #43 on: 20 Jan '11 - 07:15 » |
Quote
|
I haven't looked at it now. But as it is a plugin you should already today be able to use it via "BASS_PluginLoad" - as then there should be no extra code needed.
|
|
|
|
|
Logged
|
|
|
|
|
ne0ge0
Posts: 24
|
 |
« Reply #44 on: 20 Jan '11 - 08:46 » |
Quote
|
How would you call BASS_CDG_SetVideoWindow() in C# if the Bass.Net dll doesn't know about it?
ne0ge0
|
|
|
|
|
Logged
|
|
|
|
|
|
|
victor
Posts: 112
|
 |
« Reply #46 on: 9 Feb '11 - 15:58 » |
Quote
|
when using your user draw demo, while playing a cdg file, the windows task manager shows the GDI object counter constantly rising. After a while this counter gets to 9999 and the application crashes. Please advise.
PS. the BASS_CDG has disappeared from your site. Is that meaning no further support for BASS_CDG?
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1382
|
 |
« Reply #47 on: 4 Mar '11 - 09:13 » |
Quote
|
when using your user draw demo, while playing a cdg file, the windows task manager shows the GDI object counter constantly rising. After a while this counter gets to 9999 and the application crashes. Please advise.
PS. the BASS_CDG has disappeared from your site. Is that meaning no further support for BASS_CDG? Please try with this update: http://surodev.com/downloads/BASS_CDG.zip-fixed the GDI bug -fixed some bugs when handling UNICODE windows -and some improvements BASS_CDG it will be supported always, it wasn't removed from my website http://surodev.com/?p=42Best regards, Ionut
|
|
|
|
|
Logged
|
|
|
|
|
fishbox
Posts: 13
|
 |
« Reply #48 on: 23 May '11 - 19:24 » |
Quote
|
Does the latest version of BASS .NET have this in release form yet or still pre-release? If the BASS_CDG gets updated, will it require the BASS .NET to be updated as well?
Thanks and still VERY VERY interested in this plug. Thanks for all the hard work guys!
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1382
|
 |
« Reply #49 on: 24 May '11 - 05:58 » |
Quote
|
As far as i know BASS.NET have the latest BASS_CDG. And yes, if i will update the BASS_CDG(change/add new functions), the BASS.NET will have to be updated too.
|
|
|
|
|
Logged
|
|
|
|
|
fishbox
Posts: 13
|
 |
« Reply #50 on: 26 May '11 - 17:22 » |
Quote
|
Thank you, Sharky08. I will be implementing this in my project soon. I have two questions: 1. On the original karaokedotnet Code Project, some one wrote a message about adding a sync adjustment in case lyrics and music are offset incorrectly From Code Project: hanks for the reply. I figured it out yesterday . . easier than I thought. Real time CDG Timing . . . . On the player form - place a new label and name it lblTiming place a new numericupdowncontrol and name it nudTiming
change the following line - mCDGFile.renderAtPosition(pos) to mCDGFile.renderAtPosition(pos - (nudTiming.Value * 100)) 'change 1/10 of a second each value simply subtract the nudTiming value from the current mCDGFile.renderAtPosition(pos) value Now . . on to figuring out real time pitch change without using the Bass dll Can this be done easily in your implementation of the project? I imagine it would require another .NET exposed setting for "nudTiming" if it were to be used in BASS .NET. It would be very useful! 2. Can you skip to a different part of the karaoke song while it's playing and still have audio lyric sync? Thank You!
|
|
|
|
|
Logged
|
|
|
|
|
fishbox
Posts: 13
|
 |
« Reply #51 on: 1 Jun '11 - 20:32 » |
Quote
|
Oh yeah, Can I run two windows (one on main app page, one on second screen full size) showing same lyrics of the same song in sync? Using a different plugin, I had lockup and slow scroll issues with that. Thank you!
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1382
|
 |
« Reply #52 on: 2 Jun '11 - 06:27 » |
Quote
|
Yes you can, but only on user draw mode. You just get current playback Bitmap and draw that bitmap on how many windows you wish.
Regards, Ionut
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1382
|
 |
« Reply #53 on: 25 Jun '11 - 21:21 » |
Quote
|
A little update to BASS_CDG  + Video rendering is done with Directdraw7(better performance) + Some A/V sync issues fixed Check first post for download link. Best regards, Ionut
|
|
|
|
|
Logged
|
|
|
|
|
Thomas Bernhed
Guest
|
 |
« Reply #54 on: 19 Aug '11 - 20:28 » |
Quote
|
I downloaded the latest version of BASS_CDG, but I canīt get the "Demo C++.exe" to show the lyrics. The music is playing without problems. The "Demo.exe" both plays the music and shows the lyrics correct.
Do I need to add any other files for the c++ example to work or am I doing something wrong?
Thanks in advance.
//Thomas
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1382
|
 |
« Reply #55 on: 19 Aug '11 - 21:18 » |
Quote
|
Sorry for inconvenience, the C++ demo wasn't updated with the latest BASS_CDG version. You may check the Delphi version until i update the package.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
mkmr
Posts: 3
|
 |
« Reply #57 on: 21 Sep '12 - 16:37 » |
Quote
|
Can someone re-upload it, i have been searching for a few hrs (google/here) and every single link is dead. I really want to test this plugin.
|
|
|
|
|
Logged
|
|
|
|
|
gingermagician7
Posts: 2
|
 |
« Reply #58 on: 22 Sep '12 - 22:01 » |
Quote
|
Can someone re-upload it, i have been searching for a few hrs (google/here) and every single link is dead. I really want to test this plugin.
I had a problem with this where the Plugin is holding the CDG file open until you close your application. I contacted the developer and I believe that he is bringing out a new version that will run under DShow/xVideo plugin. Unfortunately I don't think I can wait now and I have reverted to code that I wrote a while back that handles the graphic tiles within the CDG file. I am in the process of modifying this into a Delphi class - could be a wee while in the conversion but the original code allowed for time delays in the Lyric Regards, Ally
|
|
|
|
|
Logged
|
|
|
|
|
MrBoo
Posts: 3
|
 |
« Reply #59 on: 19 Oct '12 - 16:09 » |
Quote
|
Hello, I'm new here and I am interested in this add-on. Will it be continued or has it been incorporated into the direct show. I've downloaded that and I haven't got it to work as of yet. I'm used to VB.net and the breakpoints don't work in the demo package on form.cs. I know, two different issues.. Sorry.. and Thanks!!
|
|
|
|
|
Logged
|
|
|
|
|