|
Ionut Cristea
Posts: 1376
|
 |
« Reply #20 on: 6 Oct '10 - 13:01 » |
Quote
|
Download Links updated. Please check first post to download.
Thanks.
|
|
|
|
|
Logged
|
|
|
|
|
ne0ge0
Posts: 24
|
 |
« Reply #21 on: 20 Oct '10 - 08:46 » |
Quote
|
Is there any way to improve performance; especially when playing maximised or full-screen?
ne0ge0.
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1376
|
 |
« Reply #22 on: 20 Oct '10 - 09:36 » |
Quote
|
Hello,
I can do a improvement using Directdraw or OpenGL. What do you preffer more?
|
|
|
|
|
Logged
|
|
|
|
|
ne0ge0
Posts: 24
|
 |
« Reply #23 on: 20 Oct '10 - 13:53 » |
Quote
|
Whichever would be easier for you, and for me to implement in C#.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
ne0ge0
Posts: 24
|
 |
« Reply #25 on: 24 Oct '10 - 10:19 » |
Quote
|
Hi Sharky, I've tried the new dll using the demo that you created. I like the anti-aliasing around the edges, but is there any way to improve the jerkiness. I'm using the free player from Karafun as a benchmark. http://www.karafun.com/karaokeplayer/Thanks again, ne0ge0
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1376
|
 |
« Reply #26 on: 24 Oct '10 - 10:23 » |
Quote
|
Hi Sharky, I've tried the new dll using the demo that you created. I like the anti-aliasing around the edges, but is there any way to improve the jerkiness. I'm using the free player from Karafun as a benchmark. http://www.karafun.com/karaokeplayer/Thanks again, ne0ge0 Hello, can you make some shots of how do you want to be rendered? Thanks.
|
|
|
|
|
Logged
|
|
|
|
|
ne0ge0
Posts: 24
|
 |
« Reply #27 on: 25 Oct '10 - 11:34 » |
Quote
|
Hi Sharky,
Apologies, I'm probably not being very clear.
It renders fine, now even better with the smoothing, but it's still quite jerky compared to Karafun, expecially when displaying full screen.
ne0ge0
|
|
|
|
|
Logged
|
|
|
|
|
victor
Posts: 112
|
 |
« Reply #28 on: 25 Oct '10 - 13:04 » |
Quote
|
custom draw doesn't work anymore: access violation calling BASS_CDG_GetCurrentBitmap.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
ne0ge0
Posts: 24
|
 |
« Reply #30 on: 26 Oct '10 - 08:24 » |
Quote
|
Was this update for victor?
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1376
|
 |
« Reply #31 on: 26 Oct '10 - 08:29 » |
Quote
|
Was this update for victor? Yes
|
|
|
|
|
Logged
|
|
|
|
|
victor
Posts: 112
|
 |
« Reply #32 on: 26 Oct '10 - 11:00 » |
Quote
|
thnx Sharky, it works now. But the custom draw example is using a lot of CPU. Would it be posible to make a querry if the bitmap changed from the previous one? Could you make the anti-aliasing switchable (non custom draw)?
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1376
|
 |
« Reply #33 on: 26 Oct '10 - 11:20 » |
Quote
|
thnx Sharky, it works now. But the custom draw example is using a lot of CPU. Would it be posible to make a querry if the bitmap changed from the previous one? Could you make the anti-aliasing switchable (non custom draw)? The custom draw example is using a lot of CPU because is using GDI for Drawing. You can modify it and use for example the D3D or OpenGL. Could you make the anti-aliasing switchable (non custom draw) Explain a little please.
|
|
|
|
|
Logged
|
|
|
|
|
victor
Posts: 112
|
 |
« Reply #34 on: 27 Oct '10 - 10:47 » |
Quote
|
so that it's a switch like one sets the custom draw on. maybe i don't like the anti-aliasing and don't want it switched on.
|
|
|
|
|
Logged
|
|
|
|
|
Ron Schuler
Guest
|
 |
« Reply #35 on: 2 Nov '10 - 01:25 » |
Quote
|
The best way to make CDG rendering faster is to optimize the multidimensional array to bitmap routine. D3D and openGL did not help since the bitmap had to be created before it could be painted on a surface. As far as the code project source, I ported a c++ library found on google code to .Net and added an Object based interface to allow easy use. I have since optimized it, but have not published it. I have also made .NET classes for "BASS File objects" like .Kar and .Mp3. The BassKar class has a similar interface to the CDG library with Export to MP3 with soundfont, render graphic at position, pitch correction, etc. If someone uses the code and claims it as their own, it doesn't matter. Since I write a lot of open source derivative works, it is only fair to give the software away for free. The author here is giving it away, so that is really what is important. Take time to thank people for publishing libraries for other developers. It saved you from the low level research necessary to do the needed tasks.
|
|
|
|
|
Logged
|
|
|
|
|
ne0ge0
Posts: 24
|
 |
« Reply #36 on: 2 Nov '10 - 10:07 » |
Quote
|
Hi Ron,
Thanks for all of the work you have put in so far.
Can you post a demo of your optimised project?
What .Net language did you port to?
Thanks again,
ne0ge0
|
|
|
|
|
Logged
|
|
|
|
|
OldUser
Guest
|
 |
« Reply #37 on: 2 Nov '10 - 12:30 » |
Quote
|
@ Ron Schulerit is only fair to give the software away for free. Correct! i have a problem with the Donation button. used source of other people and will have money.
|
|
|
|
|
Logged
|
|
|
|
|
Ionut Cristea
Posts: 1376
|
 |
« Reply #38 on: 2 Nov '10 - 15:21 » |
Quote
|
Correct!
i have a problem with the Donation button. used source of other people and will have money. Button removed:D
|
|
|
|
|
Logged
|
|
|
|
|
OldUser
Guest
|
 |
« Reply #39 on: 2 Nov '10 - 18:38 » |
Quote
|
Button removed:D Thank you.. And now i will say Thanks for all your great work here.
|
|
|
|
|
Logged
|
|
|
|
|