download MKNoteFilter.h
Language: ObjectiveC
Copyright: (c) 1988-1992, NeXT Computer, Inc. (c) 1999-2004, The MusicKit Project. (c) 1994 NeXT Computer, Inc. and reproduced under license from NeXT (c) 1994 Stanford University
LOC: 21
Project Info
The MusicKit(musickit)
Server: SourceForge
Type: cvs
...sicKit\Frameworks\MusicKit\
   _ArielQP.h
   _DSPMK.h
   _error.h
   _midi.h
   _MKAppProxy.h
   _MKAppProxy.m
   _MKNameTable.h
   _MKNameTable.m
   _MKParameter.h
   _MTCHelper.h
   _MTCHelper.m
   _musickit.h
   _noteRecorder.h
   _OrchloopbeginUG.h
   _OrchloopbeginUG.m
   _ParName.h
   _ParName.m
   _scorefile.h
   _ScorefileVar.h
   _ScorefileVar.m
   _SharedSynthInfo.h
   _SharedSynthInfo.m
   _synthElementMethods.m
   _time.h
   ArielQP.h
   ArielQP.m
   classFuncs.h
   ConductorPrivate.h
   dsp_types.h
   DSPSerialPortDevice.h
   dspwrap.h
   EnvelopePrivate.h
   equalTempered.m
   errors.h
   fastFFT.c
   fastFFT.h
   GNUmakefile.postamble
   GNUmakefile.preamble.in
   InstrumentPrivate.h
   keynums.h
   libMusicKit.def
   Localized.strings
   make.sh
   Makefile.postamble
   Makefile.preamble
   midi_spec.h
   midifile.h
   midifile.m
   MidiPrivate.h
   midiTranslation.h
   MKConductor.h
   MKConductor.m
   MKConductorDelegate.h
   MKDeviceStatus.h
   MKEnvelope.h
   MKEnvelope.m
   MKFilePerformer.h
   MKFilePerformer.m
   MKFileWriter.h
   MKFileWriter.m
   MKInstrument.h
   MKInstrument.m
   MKMidi.h
   MKMidi.m
   MKMixerInstrument.h
   MKMixerInstrument.m
   MKMTCPerformer.h
   MKMTCPerformer.m
   MKNote.h
   MKNoteFilter.h
   MKNoteFilter.m
   MKNoteReceiver.h
   MKNoteReceiver.m
   MKNoteSender.h
   MKNoteSender.m
   MKOrchestra.h
   MKPart.m
   MKPartials.h
   MKPartials.m
   ...tialsWaveshapingTable.m
   MKPartPerformer.h
   MKPartPerformer.m
   MKPartRecorder.h
   MKPartRecorder.m
   MKPatch.h
   MKPatch.m
   MKPatchConnection.h
   MKPatchConnection.m
   MKPatchEntry.h
   MKPatchEntry.m
   MKPatchTemplate.h
   MKPatchTemplate.m
   MKPerformer.h
   MKPerformer.m
   MKPerformerDelegate.h
   MKPlugin.h
   MKSamplerInstrument.h
   MKSamplerInstrument.m
   MKSamples.h
   MKScore.h
   MKScore.m
   MKScorefileObject.h
   MKScorefilePerformer.h
   MKScorefilePerformer.m
   MKScorefileWriter.m
   MKScorePerformer.h
   MKScorePerformer.m
   MKScoreRecorder.h
   MKScoreRecorder.m
   MKSynthData.h
   MKSynthData.m
   MKSynthInstrument.h
   MKSynthPatch.h
   MKTimbre.h
   MKTimbre.m
   MKTuningSystem.h
   MKTuningSystem.m
   MKUnitGenerator.h
   MKUnitGenerator.m
   MKWaveTable.h
   MKWaveTable.m
   mtcMidi.m
   mtcMidiPrivate.m
   MusicKit-Info.plist
   MusicKit.h
   MusicKitConfig.h.in
   names.h
   noDVal.h
   noteDispatcherMethods.m
   NotePrivate.h
   noteRecorderCFuncs.m
   noteRecorderMethods.m
   orch.h
   OrchestraPrivate.h
   OrchloopbeginUG.h
   OrchloopbeginUG.m
   orchloopbeginUGInclude.m
   params.h
   parNames.m
   partialsDBInclude.m
   PartialsPrivate.h
   PartPerformerPrivate.h
   PartPrivate.h
   PartRecorderPrivate.h
   PatchTemplatePrivate.h
   PB.project
   PerformerPrivate.h
   pitches.h
   platform.make
   ...efilePerformerPrivate.h
   ScorePerformerPrivate.h
   ScorePrivate.h
   ScoreRecorderPrivate.h
   SynthDataPrivate.h
   synthElementCFuncs.m
   synthElementMethods.m
   SynthInstrumentPrivate.h
   SynthPatchList.h
   SynthPatchList.m
   SynthPatchPrivate.h
   timetagInclude.m
   timeunits.h
   tokenNames.m
   tokens.h
   trigonometry.c
   trigonometry.h
   TuningSystemPrivate.h
   UnitGeneratorPrivate.h
   win32-def.top
   writeBinary.m
   writeMidi.m
   writeScore.m

/*
  $Id: MKNoteFilter.h,v 1.8 2005/05/09 15:52:51 leighsmith Exp $
  Defined In: The MusicKit

  Description:
    See class description below for description.    

  Original Author: David A. Jaffe

  Copyright (c) 1988-1992, NeXT Computer, Inc.
  Portions Copyright (c) 1994 NeXT Computer, Inc. and reproduced under license from NeXT
  Portions Copyright (c) 1994 Stanford University
  Portions Copyright (c) 1999-2004, The MusicKit Project.
*/
/*!
  @class MKNoteFilter
  @brief MKNoteFilter is an abstract class that combines the functionality it inherits
  from MKInstrument with the protocol defined in the MKPerformer class. 

  @brief
  MKNoteFilter is an abstract class that combines the functionality it inherits
  from MKInstrument with the protocol defined in the MKPerformer class.

  
  MKNoteFilter objects can both receive and send MKNotes; they're interposed
  between MKPerformers and MKInstruments to create a MKNote processing pipeline. 
  The subclass responsibility <b>realizeNote:fromNoteReceiver:</b> is passed on to
  MKNoteFilter subclasses. Keep in mind that notes must be copied on write or store.
*/
#ifndef __MK_NoteFilter_H___
#define __MK_NoteFilter_H___

#import "MKInstrument.h"

@interface MKNoteFilter : MKInstrument
{
    NSMutableArray *noteSenders;     /* Collection of MKNoteSenders. */
}

/*!
  @return Returns a newly initialized MKNoteFilter.
  @brief Creates MKNoteSenders and sends [super init].

  
*/
- init;

/*!
  @return Returns an NSArray instance.
  @brief Returns a copy of the receiver's NSArray of MKNoteSenders.

  
*/
- (NSArray *) noteSenders;

/*!
  @param  aNoteSender is an MKNoteSender instance.
  @return Returns a BOOL.
  @brief Returns YES if <i>aNoteSender</i> is one of the receiver's
  MKNoteSenders.

  Otherwise returns NO.
*/
- (BOOL) isNoteSenderPresent: (MKNoteSender *) aNoteSender; 

/*!
  @param  zone is a NSZone.
  @return Returns an id.
  @brief Creates and returns a MKNoteFilter as a copy of the receiver.

  The
  new object contains copies of the receiver's MKNoteSenders and
  MKNoteReceivers.
*/
- copyWithZone: (NSZone *) zone;

/*!
  @return Returns an id.
  @brief Removes and frees the receiver's MKNoteSenders.

  Returns the receiver.
*/
- releaseNoteSenders;

/*!
  @return Returns an id.
  @brief Removes all the receiver's MKNoteSenders.

  Returns the receiver.
*/
- removeNoteSenders;

/*!
  @return Returns an MKNoteSender instance.
  @brief Returns the receiver's first MKNoteSender.

  This is method should
  only by invoked if the receiver only contains one MKNoteSender or if
  you don't care which MKNoteSender you get.  If there are currently
  no MKNoteSenders, this method creates and adds a MKNoteSender.
*/
- (MKNoteSender *) noteSender;

/*!
  @param  aNoteSender is an MKNoteSender instance.
  @return Returns an MKNoteSender instance.
  @brief Removes <i>aNoteSender</i> from its present owner (if any) and adds
  it to the receiver.

  Returns <i>aNoteSender</i>.  If the receiver is
  in performance, or if <i>aNoteSender</i> is already a member of the
  receiver, does nothing and returns <b>nil</b>.
*/
- (MKNoteSender *) addNoteSender: (MKNoteSender *) aNoteSender; 

/*!
  @param  aNoteSender is an MKNoteSender instance.
  @return Returns an MKNoteSender instance.
  @brief Removes aNoteSender from the receiver's NSArray of MKNoteSenders.

  
  Returns <i>aNoteSender</i>.  If the receiver is in a performance,
  does nothing and returns <b>nil</b>.
*/
- (MKNoteSender *) removeNoteSender: (MKNoteSender *) aNoteSender; 

/*!
  @brief Sends releaseNoteSenders to the receiver then releases the receivers ivars.

  
 */
- (void) dealloc; 

/* 
  You never send this message directly. Archives noteSender Array. 
 */
- (void) encodeWithCoder: (NSCoder *) aCoder;

- (id)initWithCoder:(NSCoder *)aDecoder;

@end

#endif

About Koders | Resources | Downloads | Support | Black Duck | Submit Project | Terms of Service | DMCA | Privacy Policy | Site Map| Contact Us