Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: David Tin Nyo Newsgroups: scea.yaroze.programming.sound Subject: Re: Bug in CdPlay() ? Date: Wed, 05 Nov 1997 22:58:11 -0800 Organization: Meme-X Lines: 41 Message-ID: <34616A83.6C48@teleport.com> References: <34400BAF.7675@teleport.com> <3459579b.57260624@205.149.189.29> <63kld0$sk225@chuka.playstation.co.uk> Reply-To: memex@teleport.com NNTP-Posting-Host: ip-pdx25-03.teleport.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01Gold (WinNT; U) Mario Wynands wrote: > > Mario Perdue wrote in message <3459579b.57260624@205.149.189.29>... > >"The program should either wait for the button to be released before > >accepting further input, or else it should wait for a certain amount > >of time to go by. Once the program has been changed this way, see if > >the problem persists." > > This is DEFINITELY not the case. We can across this bug very early on when > mucking around with the Yaroze system (seemed like one of the easier things > to implement), and actually posted a similar cry for help (although nobody > replied). Thanks for backing me up on this... My original pseudo code did have comments that I was debouncing the controller. But your sample proves that it has nothing to do with the controller. Sony's comments about CDPlay() not being sensitive to the contents of the disk perked my interest, though. They said that it uses timecode specified for the track (is this stored in the table of contents for the CD?). Maybe the audio disks we notice the problem on have invalid TOC data? That would make sense since they are usually only played on an audio-only device. I would like to get a definite answer on this... Either way, CDPlay() does seem to have a problem which makes it unusable for its intended purposes, that is playing audio tracks. I've been working on a "light-synth" type program that reacts to music (based on the snd2lt demo) but I'm grinding to a halt with this problem. What's the use if I can't play my favorite music with it, you know? Maybe someone at Sony could give us a better CD Play library? Something with better access would be nice, too. Functions that return the total number of tracks and allow access by time as well as track number, and ff and rew capabilities would be very much appreciated... I'd write it myself, but alas, we Yaroze developers don't get the hardware info... -Dave