🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1109

How do you play a scorefile under 2.x?

#1109
From: Howard Pan
Date: Wed, 12 Aug 1992 15:28
26 lines
1333 bytes
Hi,

I'm interested in playing a scorefile in my program. I've tried to use  
both the Score object in conjunction with the ScorePerformer object and  
the ScorefilePerformer object by itself; but none worked. I'm not really  
sure what I did wrong. I did something like this for the first method (and  
something similar for the second method):

score = [[Score alloc] init];
[score readScorefile:"/NextLibrary/Music/Scores/Emma.score"];
sp = [ScorePerformer new];
[sp setScore: score];
[sp activate];
[Conductor startPerformance];

It looks like it's correct, but I must be missing something. If someone  
can please tell me what it is that I'm missing, I would really appreciate  
it. Also I would like to know what's the difference between  
ScorefilePerformer and ScorePerformer. Thanks.
--


=Howard Pan=	
Internet: pan@athena.mit.edu
410 Memorial Dr. 		
Cambridge MA 02139		
Technical Details
Message-ID: <1992Aug12.152802.17138@news.media.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!news.media.mit.edu!news

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!news.media.mit.edu!news
From: pan@dearth.media.mit.edu (Howard Pan)
Subject: How do you play a scorefile under 2.x?
Message-ID: <1992Aug12.152802.17138@news.media.mit.edu>
Sender: news@news.media.mit.edu (USENET News System)
Reply-To: pan@athena.mit.edu
Organization: MIT Media Laboratory
Date: Wed, 12 Aug 1992 15:28:02 GMT
Lines: 26