• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MusicDevice AU Sample Code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MusicDevice AU Sample Code


  • Subject: Re: MusicDevice AU Sample Code
  • From: Bill Stewart <email@hidden>
  • Date: Wed, 09 Oct 2002 11:00:18 -0700

on 9/10/02 3:30 AM, Brian Willoughby wrote:

> [ Where going to try and pull out all of this code into the base
> [ classes, which would then leave a simple set of Note type classes
> [ for any implementation of a soft-synth
>
> Yes, I was going to suggest that the parent class should define and implement
> the Note messages, and a subclass of this could provide default MIDI event
> implementations which simply call the Note messages. Non-MIDI custom classes
> would inherit from the parent/base class. Custom classes which need
> MIDI-specific behavior could override this default, but basically the MIDI
> events would always be translated to Note messages.

I'm not sure what MIDI-specific behaviour you're concerned about.

> This does raise the question of when a client app should even use the MIDI
> event message calls, especially if some classes may not even implement the
> MIDI
> calls. Can we assume that the Note messages will *always* be implemented, and
> the MIDI messages *may* be implemented?

No - all of the synth components are expected to be called with either API

The Note message is a way of capturing the semantic that the *most important
event* for a synth is that it starts a note (either with the MIDI note on or
ext API) - and then does things to that note (including turning it off).

If you think about it, the note *is* the synth.

Bill

--
mailto:email@hidden
tel: +1 408 974 4056

__________________________________________________________________________
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
__________________________________________________________________________
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Can't compile AU
  • Next by Date: Re: AUGraph wiring question
  • Previous by thread: Re: MusicDevice AU Sample Code
  • Next by thread: MusicPlayer, MusicSequence, MusicTrack
  • Index(es):
    • Date
    • Thread