home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!usc!noiro.acs.uci.edu!cerritos.edu!arizona.edu!arizona.edu!news
- Newsgroups: comp.sys.next.programmer
- Subject: Re: How do you play a scorefile under 2.x?
- Message-ID: <1992Aug12.150907.3607@arizona.edu>
- From: zazula@pri.com (Ralph Zazula)
- Date: 12 Aug 92 15:09:05 MST
- Reply-To: zazula@pri.com
- References: <1992Aug12.152802.17138@news.media.mit.edu>
- Distribution: world,local
- Nntp-Posting-Host: bonehead.tucson.az.us
- Lines: 33
-
-
- Hi -
-
- In article <1992Aug12.152802.17138@news.media.mit.edu> writes:
- > Hi,
- >
- > I'm interested in playing a scorefile in my program. [...] 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];
- >
- You are missing a connection from the ScorePerformer (actually, its
- PartPerformer's NoteSenders) to some Instrument object (e.g., Midi or a
- SynthInstrument or two...). You should take a look at the examples:
-
- /NextDeveloper/Examples/MusicKit/playscorefile
- /NextDeveloper/Examples/MusicKit/playscorefilemidi
-
- They show how to connect the individual parts in a Score file to
- SynthInstrument or Midi instances and how to configure the Orchestra and
- Conductor objects to work together.
-
- Ralph
- ---
- Ralph Zazula
- Pinnacle Research, Inc.
- zazula@pri.com (NeXT Mail)
- (602)529-1135
-