Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: Elliott Lee Newsgroups: scea.yaroze.programming.sound,scee.yaroze.programming.sound Subject: Re: Looping? Date: Tue, 07 Apr 1998 11:51:57 -0700 Organization: Cisco Systems Lines: 44 Message-ID: <352A75CD.3A1900F8@netmagic.net> References: <351959AD.3AF73B5C@netmagic.net> <01bd610d$904ee2c0$9f83accf@kd-home> Reply-To: tenchi@cisco.com NNTP-Posting-Host: dhcp-e-39-237.cisco.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.03 [en] (Win95; U) Xref: chuka.playstation.co.uk scea.yaroze.programming.sound:173 scee.yaroze.programming.sound:108 Thanks for the reply... Yargh.... I was just about to post my findings, but you got to it first. And the SCEA news server ran out of space. :P What I just found out over the weekend (with the AIFF2VAG included with your Yaroze) was that it is possible to get looping to work provided that: - the sample is either AIFF or raw - you have the "-E" endian flag set for raw samples (I guess the PSX uses unsigned samples...) I actually have been testing a S3M (ScreamTracker MOD) program I'm in the middle of writing which will convert a S3M into a VAB and some sequence data (my own file). I found that if the number of samplings in a sound sample aren't divisible by 28, then: - AIFF2VAG will pad the sound sample - you will get clicking, but the sound will play Yes, I also use Cool Edit quite often for checking the length. But the utility I'm writing will print out the nearest 28-sample boundary. :) (That has saved a bit of time.) Kevin Davis wrote: > After numerous struggles getting a sound sample to loop I finally did it. > > Here's what you gotta do: > > Get the latest aiff2vag from the website. (Version 3.1) > > Make sure your sound's sample size is divisible by 28! (Cool edit shows > this info nicely) > > save the sound sample as an AIFF (wav just doesn't seem to work) > > now run aiff2vag with the -L flag. > > Kevin > kmfsv@erols.com - e! tenchi@netmagic.net http://www.netmagic.net/~tenchi/yaroze/