🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How do you play a scorefile under 2.x?

#1114
From: Ralph Zazula
Date: Wed, 12 Aug 1992 22:09
33 lines
1525 bytes
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
Technical Details
Message-ID: <1992Aug12.150907.3607@arizona.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!usc!noiro.acs.uci.edu!cerritos.edu!arizona.edu!arizona.edu!news
References: <1992Aug12.152802.17138@news.media.mit.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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