Path: chuka.playstation.co.uk!news From: "Grim" Newsgroups: scea.yaroze.programming.sound Subject: Re: Vab's and seq files? Date: 26 Aug 1997 17:57:38 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 20 Message-ID: <01bca625$f9518000$c793989e@fourny.demon.co.uk> References: <34030193.79D4@digitalcity.com> NNTP-Posting-Host: fourny.demon.co.uk X-Newsreader: Microsoft Internet News 4.70.1155 Load in the VB and VH like a TIM file, then do something like this; #define VHADDR 0x801a0000 #define VBADDR 0x80160000 SsVabTransfer((unsigned char *)VHADDR, (unsigned char *)VBADDR, 0, 1); To set it up as the 0th VAB. Then you need SsUtKeyOn like SsUtKeyOn(0, 4, 0, 52,64, 127, 127) plays tone 0 of the 4th prog of the 0th VAB at pitch 52 (1 octave lower than middle C becuase I sampled my wavs at 22khz not 44). The only way I could get my sfx to work was to put them all in different progs, 1 tone per prog. I never managed to get them all in 1 prog at different pitch ranges. There must be a knack. I never bothered with SsUtKeyOff. But maybe you need that too? Help!