19 May '13 - 01:48 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: 1 [2] 3 4  All
  Reply  |  Print  
Author Topic: BASS_CDG  (Read 18795 times)
Ionut Cristea
Posts: 1372


« Reply #20 on: 6 Oct '10 - 13:01 »
Reply with quoteQuote

  Download Links updated. Please check first post to download.

  Thanks.
Logged
ne0ge0
Posts: 24


« Reply #21 on: 20 Oct '10 - 08:46 »
Reply with quoteQuote

Is there any way to improve performance; especially when playing maximised or full-screen?

ne0ge0.
Logged
Ionut Cristea
Posts: 1372


« Reply #22 on: 20 Oct '10 - 09:36 »
Reply with quoteQuote

  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 »
Reply with quoteQuote

Whichever would be easier for you, and for me to implement in C#.
Logged
Ionut Cristea
Posts: 1372


« Reply #24 on: 22 Oct '10 - 10:00 »
Reply with quoteQuote

  Hello,

 I've replaced the GDI drawing with the Direct3D. Ihope it will work well for you.

http://surodev.com/downloads/BASS_CDG.dll
Logged
ne0ge0
Posts: 24


« Reply #25 on: 24 Oct '10 - 10:19 »
Reply with quoteQuote

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: 1372


« Reply #26 on: 24 Oct '10 - 10:23 »
Reply with quoteQuote

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 »
Reply with quoteQuote

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 »
Reply with quoteQuote

custom draw doesn't work anymore: access violation calling BASS_CDG_GetCurrentBitmap.
Logged
Ionut Cristea
Posts: 1372


« Reply #29 on: 25 Oct '10 - 13:25 »
Reply with quoteQuote

  Please try with this update:

http://surodev.com/downloads/BASS_CDG.dll
Logged
ne0ge0
Posts: 24


« Reply #30 on: 26 Oct '10 - 08:24 »
Reply with quoteQuote

Was this update for victor?
Logged
Ionut Cristea
Posts: 1372


« Reply #31 on: 26 Oct '10 - 08:29 »
Reply with quoteQuote

 
Quote
Was this update for victor?

  Yes
Logged
victor
Posts: 112


« Reply #32 on: 26 Oct '10 - 11:00 »
Reply with quoteQuote

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: 1372


« Reply #33 on: 26 Oct '10 - 11:20 »
Reply with quoteQuote

 
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.

Quote
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 »
Reply with quoteQuote

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 »
Reply with quoteQuote

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 »
Reply with quoteQuote

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 »
Reply with quoteQuote

@Ron Schuler
Quote
it 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: 1372


« Reply #38 on: 2 Nov '10 - 15:21 »
Reply with quoteQuote

   
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 »
Reply with quoteQuote

Quote
Button removed:D
Thank you..

And now i will say Thanks for all your great work here.
Logged
Pages: 1 [2] 3 4  All
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines