• 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: SetParameter at note scope?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SetParameter at note scope?


  • Subject: Re: SetParameter at note scope?
  • From: Philippe Wicker <email@hidden>
  • Date: Fri, 8 Aug 2003 18:36:09 +0200

On Friday, August 8, 2003, at 10:00 AM, Urs Heckmann wrote:

Am Freitag, 08.08.03, um 08:50 Uhr (Europe/Berlin) schrieb Philippe Wicker:

Hello all,

Following the recent thread about AU MIDI events scheduled beyond next rendering slice, I am asking why there isn't any SetParameter at note scope. There is the group scope which is fine as long as you want to deal with, well, a group of notes. There may be situation where a user would like to modify parameters such as pitch, volume, or whatever for a single note within a group (e.g. playing 2 notes with the same value - but now with different ID - and modifying the pitch of one of them). It's not opposed to the group mechanism, simply complementary. Any comments?

I'd vote for an implementation of Polypressure. (I have an EPS16+, remember?)

Well, maintaining the whole state (== all parameters) for each instance of voice (== note played) is a nice feature of some expensive hardware synths, but for efficient native implementations that share cpu with other stuff, it's a bit like overkill. This is at least my guess. With my currently 8 voices and 140 parameters, I'd have to track more than 1000 values during processing (global automation tasks & single voice changes). That would be more time consuming than anything I do anyway.

Okay, Okay. Not a very good idea it seems :-) However, I didn't mean to publish **all** parameters in this NoteScope. This question came to my mind when I noticed that there are only 2 APIs that use the NoteInstanceID: Start and Stop. As I was looking for a way to apply (variable) pitches individually to notes in the same group I went to the conclusion that this is impossible with the current specification (or to be more accurate that I don't see how to do it which is probably nearer to the truth :-) I found that SetParameter could be a way to do it provided a NoteScope. Well, if SetParameter is not the right way, then the question remains pending. If I have to change "on the fly" volume, pitch, pan, ... of a single note within a group because my user wants it, how do I do? Maybe I should answer "wait for the G6 or the G7" :-))


Cheers,

;) Urs
_______________________________________________
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.


Philippe Wicker
email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: SetParameter at note scope?
      • From: Marc Poirier <email@hidden>
References: 
 >Re: SetParameter at note scope? (From: Urs Heckmann <email@hidden>)

  • Prev by Date: Re: ThreadSafe Note Scheduling Code (Was Re: Threading)
  • Next by Date: Re: ThreadSafe Note Scheduling Code (Was Re: Threading)
  • Previous by thread: Re: SetParameter at note scope?
  • Next by thread: Re: SetParameter at note scope?
  • Index(es):
    • Date
    • Thread