Path: chuka.playstation.co.uk!news From: James Shaughnessy Newsgroups: scee.yaroze.programming.sound Subject: Re: CD-DA playlist length? and that... Date: Tue, 03 Feb 1998 20:12:51 +0000 Organization: Bacardi Ferrari V12 Lines: 55 Message-ID: <34D77A43.6FEE@manc.u-net.com> References: <34D6451C.17BD@manc.u-net.com> <34d657dd.5219332@news.playstation.co.uk> NNTP-Posting-Host: manc.u-net.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (Win95; I) Hey Gil, Skipping to the next/prev track is simple, just call CdPlay again with the new track offset and voila. Maybe the original Japanese manual said you couldn't PAUSE or SEARCH through a single track; only skip, stop, or mute the volume. Still, it's strange how they let us have CD-DA playing abilities but don't let us have such a trivial thing as finding out how many tracks there are! I am also finding that some CDs give strange track-number results, as if there are phantom tracks on them that 'proper' CD players know to ignore. Is there any way to block programs from sending output to SIOCONS, like when you change vidmode, or a new CD-track starts up? I ask because I often escape it and write code while my game is running (helps the creative flow....) and it's quite riling to have to keep quitting my editor and rerunning siocons again just to receive the byte-stream. One more thing, there's a single CD-DA track on the N-Y boot disk, but has nothing on it, what's that all about? I guess it's just to make up for the fact that a 650Mb CD-ROM only actually has about 70k of data on it... OK, def. the last point: how come std0.vb/vh aren't on the boot CD to save time? Is there a way of stripping instruments out of std0 that you don't need for a particular SEQ file? (It's not worth using up 400k of precious RAM just for a little SEQ title-screen ditty, I need almost every nibble!) Cheers, Jim -- ----------------------------------------- James Shaughnessy james@manc.u-net.com http://www.netyaroze-europe.com/~shaughnj ----------------------------------------- Gil Jaysmith (Telecommuting) wrote: > On Mon, 02 Feb 1998 22:13:48 +0000, James Shaughnessy > >I have started messing around with CdPlay() as a simple CD-player > >and have no problems getting it to work perfectly, but I just > >need a way of finding out how many tracks are on the CD, in order > >to play all of them without getting 'track overflow' errors by using > >a typical maximum (like 14). > > The function you need to do that is in the pro libraries only. (That's > unless there's a grim way to use CdSearchFile to do it, but I don't > think so.) > > >The manual says nothing of this, but then the manual says on P318: > >"Performance and stopping etc. in mid track is not possible." > >Which is CLEARLY merde when all you do is use CdPlay(0, ...) DOH! > > Translated from the Japanese... I imagine it means you can't skip > forward into the next track, or pause and resume within a track. > CdPlay(0) presumably stops it dead.