home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / programm / 5581 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  1.4 KB

  1. Path: sparky!uunet!cs.utexas.edu!usc!noiro.acs.uci.edu!cerritos.edu!arizona.edu!arizona.edu!news
  2. Newsgroups: comp.sys.next.programmer
  3. Subject: Re: How do you play a scorefile under 2.x?
  4. Message-ID: <1992Aug12.150907.3607@arizona.edu>
  5. From: zazula@pri.com (Ralph Zazula)
  6. Date: 12 Aug 92 15:09:05 MST
  7. Reply-To: zazula@pri.com
  8. References: <1992Aug12.152802.17138@news.media.mit.edu>
  9. Distribution: world,local
  10. Nntp-Posting-Host: bonehead.tucson.az.us
  11. Lines: 33
  12.  
  13.  
  14. Hi -
  15.  
  16. In article <1992Aug12.152802.17138@news.media.mit.edu>  writes:
  17. > Hi,
  18. > I'm interested in playing a scorefile in my program. [...] I did something 
  19. > like this for the first method (and something similar for the second method):
  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. You are missing a connection from the ScorePerformer (actually, its  
  27. PartPerformer's NoteSenders) to some Instrument object (e.g., Midi or a  
  28. SynthInstrument or two...).  You should take a look at the examples:
  29.  
  30. /NextDeveloper/Examples/MusicKit/playscorefile
  31. /NextDeveloper/Examples/MusicKit/playscorefilemidi
  32.  
  33. They show how to connect the individual parts in a Score file to  
  34. SynthInstrument or Midi instances and how to configure the Orchestra and  
  35. Conductor objects to work together.
  36.  
  37. Ralph
  38. ---
  39. Ralph Zazula
  40. Pinnacle Research, Inc.
  41. zazula@pri.com (NeXT Mail)
  42. (602)529-1135
  43.