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 email@example.com – 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!
Sorry for the system information, didn’t have time last post, but now I have…
-C: HDD 1 (IDE)
-D: HDD 2a (IDE)
-E: HDD 2b
-F: HDD 2c
(HDD 2 is in 3 partitions)
-G: DVD-Rom (ATAPI)
-H: DVD±RW (ATAPI)
With the new upload, it still doesn’t work (same error message), sorry.
Sorry Swakke, you can’t play two tracks off the same CD at the same time. It’s on my todo list but may not make it in until FMOD4. btw, It’d be a really cool feature and I’d love to implement it. It’d be great to enable people to write fully-featured DJ progs like [url=http://www.otsdj.com:g6lceca2]OtsDJ[/url:g6lceca2] using FMOD 😀
which effects? Just one? did you try them one at a time to see if it was something like lowpass only, and not reverb?[/quote:1jcfbaf3]
Well, I tried each of them, one at a time, but now I dont think it has anything to do with the effects because I played a CD track with no effects and I observed the CPU usage rise to around 83%, which I can’t believe because if fmod was taking 83% of my cpu I would at least experience some choppiness in the audio! 😆 But, anyways, something is not right with the cpu usage meter still.
EDIT: Actually, after listening again the audio did get a bit choppy
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 15 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.
Please login first to submit.