Ok, I’ve just put up a beta version of the 3.71 media player so everyone can check out the new CDDA stuff. It’d be great if you could all download it, test the digital cd playback and post back here if you have any problems. Here’s the url:
The interface has changed a bit. Hit ‘Load CD’ to populate the playlist with the currently loaded CD’s tracks then just play them as usual. Notice that the CD output now appears in the scope and spectrum. 😀
The Options dialog is now accessible through the system menu in the top left of the main window. Choose your CD drive letter here and also choose digital or analog playback. There’s also a big “Device Info…” button that will report a bunch of details on the currently selected CD device.
If you have problems with CDDA, get the device info and mail it to me at firstname.lastname@example.org – don’t post it here or the thread will get too cluttered. Don’t forget to include a description of the problem you encountered. This is definitely still a BETA release so don’t expect it to work perfectly – I just want to get it out asap so I can start hitting the inevitable compatibility issues that are bound to turn up.
Thanks for your help guys!
Hmm, well, I had a bit of a problem! 😆
I tried using DSP effects on a cd track, and it worked perfectly, but the CPU usage jumped to 89 – 100 %, so either the CPU usage fucntion isnt working properly or DSP effects take a lot of CPU time.
Or like [url=http://www.djdecks.be:2t6ljh0o]djDecks[/url:2t6ljh0o]
But even for playing one track from a cd it will be hard now, because with mp3’s I always opened them twice (once for headphones and once for master out), but that can’t be done yet
Don’t seem to be able to replicate any CPU problems myself, and it seems to work very well, though i’d like it so when u load a CD if u double click a track it would start playing it
The only problem I did experience is with the actual sound output itself, at points (random duration), the cd would almost sound like it had a slight skip, hard to explain, in a way it reminds me of a slight instantious pause, for a brief MS.
I am using windows XP pro, 1 gig mem, mp3 platinum live sound blaster, 2.2 gig p4, with a 58x cd/dvd rom by creative labs, also have a dvd/cd burner if thats important, and most recent upgrade a ati raideon 9800 Xt 256 meg vid card.
Hope that helps, and if i havn’t already said so, nicely done!
newest debug one works fine here
about 0.60% cpu usage with jitter compenstation on
and the jitter% is mostly 0% and sometimes goes to 33% for a seccond
cpu stays under 1% whole song
in the version before the first debug version i still had like 50% cpu usage in the internal cpu meter
p3-600, 1024MB ram, sblive player 1024
Paranoid Android, does the CPU usage jump like that when you put effects on an mp3 or only for CD tracks? The effects are definitely not taking that much CPU time so it may be that I’m calculating the CPU usage incorrectly. If you check out the Windows performance monitor you’ll see that FMOD’s not taking much CPU time at all.
J-F, go into the Config dialog (available through the system menu in the top left corner of the window) and see what drive letters are available for CDDA. Are there any available? Just C:? If there are others available, select one and see if it works. Also, have you ever run any other programs that use CDDA successfully?
Thanks for testing guys!
I took a screenshot of FMOD in action with cpu meter malfunctioning, as you can see no DSP effects are even on, just the oscilloscope is active.
I tested it on an older machine, Windows 98, Pentium 2 266 mhz, 128 mb Ram. I also had the same problem with the audio skipping. And, I tested it with analog playback and it worked fine with the CPU usage at 1%.
Ok, I sent you my device info report but when i test the debug version of the FMOD media player with jitter correction the CPU meter rises to about 91% and without jitter correction the CPU meter displayes over 100% :x. I hope the device info I sent you helps. It may be that the system i tested it on is just too old for the great power of FMOD, hehe.
The CPU meter in the latest version seems to climb constantly while playing a CD track. It started at 0.5% and now it’s climbed to over 6%. Turning on the spectrum equalizer makes it fluxuate like nuts, it’s at 7.5% now. Doesn’t seem to ever get much higher than 7.5%, though. And it’s definitely wrong.
Taskman says it’s using less than 5% during its bursts, and most of the time it’s only using 0%.
The CD playback works flawlessly though. Excellent work.
BTW, the volume slider seems to default to 0%.
Playing a CD track using ASIO for output makes the spectrum analyzer and oscilliscope lag and update really slowly, but the CPU usage is still low. WaveOut and DiretSound are both very smooth in comparison. Any ideas there? (I have an audigy, so it’s using creative ASIO, fyi)
Oh, and this is fun. Set the output rate to 8khz and play a CD track… it sounds kind of cool I’m impressed, even DSP effects work at 8khz.
- Janus answered 13 years ago
That CPU percentage is deceptive. At the moment it’s timing the CD read, which it shouldn’t be. The actual CPU time is very small given that there’s no decoding to do, it’s just straight 44100, 16bit stereo right off the CD. I’m looking into fixing that for the final release of 3.71. Realistically, CDDA is slightly more CPU intensive than analog playback, given that it’s going through the software mixer and not straight to your sound card, but it’s no more expensive than a normal uncompressed stream.
And the benefits are so worth it – FSOUND_SetFrequency, DSP units, synch callbacks, end callbacks. It’s all good fun. I’ve already written a new example program which rips CD tracks to wav. It’s a little over one page of C code. Easy peasy 😀
Ok, here are the specs:
Pentium 2 266 mhz
128 MB RAM
Crystal Soundfusion AC97 Soundcard
ATI Rage Pro graphics card
Matshita 32x CD-ROM
Yeah, I’ve used a few CDDA extraction programs, AudioCatalyst / Audiograbber (XING), and a few others in the past. They’ve all worked correctly and haven’t taken a lot of CPU time at all. Plus, I use Sonique 2 which also has CD ripping to do CDDA visuals and it works fine.
[quote="andrew":20kohdg2]Paranoid Android, does the CPU usage jump like that when you put effects on an mp3 or only for CD tracks? The effects are definitely not taking that much CPU time so it may be that I’m calculating the CPU usage incorrectly. If you check out the Windows performance monitor you’ll see that FMOD’s not taking much CPU time at all.[/quote:20kohdg2]
Well, I just tested it with an MP3 and I observed the same problem, when the song was playing without any DSP effects the cpu usage was around 1%, but when I turned effects on and then turned them back off the CPU usage started growing rapidly, it started around 2% and kept going up and eventually stopped at around 24%. Which isnt as bad as when playing a cd track where the cpu usage reached up to 100%. SO, Im not sure what the problem is, but without any DSP effects, both MP3 and CDA work perfectly with CPU usage at 1% – 1.5%.
Paranoid_Android and J-F, I’ve put up a special debug version of the media player so I can get some more detailed information from you guys. Please download this:
…go into the Options dialog, hit the “Device info” button and then email me the results. Also, let me know if the CPU usage is any different with this version and whether it skips more or less.
If anyone else has problems with skipping, it’d be great if you could get this debug version and do the same.
Thanks a lot guys, you’re being a great help!
There’s an updated version of the media player at:
A number of compatibility issues have been fixed and the error handling code has been improved so it should work across a much wider range of devices now.
Thanks to the people who’ve been downloading and testing! It really helps a lot. Keep the bug reports coming!
Please login first to submit.