home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / programm / 5574 < prev    next >
Encoding:
Text File  |  1992-08-12  |  1.3 KB  |  38 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!snorkelwacker.mit.edu!news.media.mit.edu!news
  3. From: pan@dearth.media.mit.edu (Howard Pan)
  4. Subject: How do you play a scorefile under 2.x?
  5. Message-ID: <1992Aug12.152802.17138@news.media.mit.edu>
  6. Sender: news@news.media.mit.edu (USENET News System)
  7. Reply-To: pan@athena.mit.edu
  8. Organization: MIT Media Laboratory
  9. Date: Wed, 12 Aug 1992 15:28:02 GMT
  10. Lines: 26
  11.  
  12. Hi,
  13.  
  14. I'm interested in playing a scorefile in my program. I've tried to use  
  15. both the Score object in conjunction with the ScorePerformer object and  
  16. the ScorefilePerformer object by itself; but none worked. I'm not really  
  17. sure what I did wrong. I did something like this for the first method (and  
  18. something similar for the second method):
  19.  
  20. score = [[Score alloc] init];
  21. [score readScorefile:"/NextLibrary/Music/Scores/Emma.score"];
  22. sp = [ScorePerformer new];
  23. [sp setScore: score];
  24. [sp activate];
  25. [Conductor startPerformance];
  26.  
  27. It looks like it's correct, but I must be missing something. If someone  
  28. can please tell me what it is that I'm missing, I would really appreciate  
  29. it. Also I would like to know what's the difference between  
  30. ScorefilePerformer and ScorePerformer. Thanks.
  31. --
  32.  
  33.  
  34. =Howard Pan=    
  35. Internet: pan@athena.mit.edu
  36. 410 Memorial Dr.         
  37. Cambridge MA 02139        
  38.