Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: Kurt Steinkraus Newsgroups: scea.yaroze.programming.sound Subject: Old smf2seq version? Date: Thu, 11 Dec 1997 13:55:16 -0500 Organization: SCEA News Server Lines: 43 Message-ID: <34903714.48FE@umich.edu> NNTP-Posting-Host: quake.eecs.umich.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01 (Win95; I) Hi all, I'm having some problems getting my midi files to play. I can convert them with smf2seq just fine, and they will play if I use seqplay. If, however, I try to play them in my own program with code such as: if((vab0 = SsVabTransfer((u_char *)VH0_ADDR, (u_char *)VB0_ADDR, -1, 1)) < 0) { printf("Can't init sound\n"); return; } if((sMainSeqAccessNum = SsSeqOpen((u_long *)SEQ_ADDR, vab0)) < 0) { printf("Can't open seq.\n"); return; } SsSeqSetVol(sMainSeqAccessNum, 127, 127); SsSeqPlay(sMainSeqAccessNum, SSPLAY_PLAY, 1); SsSetMVol(127, 127); then nothing is played, and the SsSeqOpen call prints: This is an old SEQ Data Format. to the console. What's weird is that the SsSeqOpen call is returning 0, *not* something less than zero to indicate failure! My smf2seq.exe is dated at 04-30-96 1:32p, and I'm loading std0.vh and std0.vb at VH0_ADDR and VB0_ADDR respectively. Is there a newer version of smf2seq that I need, or am I doing something else wrong? (Also, should I really need to load std0.vh and std0.vb? The seqplay batch file doesn't seem to...) Thanks for any ideas! Kurt Steinkraus kurtas@umich.edu