• 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
AU automation gestures/scroll wheel events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AU automation gestures/scroll wheel events


  • Subject: AU automation gestures/scroll wheel events
  • From: Stephen Blinkhorn <email@hidden>
  • Date: Thu, 4 Jun 2009 15:18:51 -0600

Hi all,

Two quick questions.

i) I am using notifications in my AU to keep track of mouse down and mouse up events so I can post begin and end gestures for automation purposes. But when I do something like this..

AudioUnitParameter parameter = {mAU, kDS_FilterCutoff, kAudioUnitScope_Global, 0};
auEvent.mArgument.mParameter = parameter;
auEvent.mEventType = kAudioUnitEvent_BeginParameterChangeGesture;


..must I always specify the parameter that will be changing or is this ignored?

Hmm, seems like a stupid question on paper.


ii) Using the mouse scroll wheel for GUI elements poses the problem of when to send begin and end gestures. I'm thinking the best way would be to simply measure elapsed time between events and send an end gesture if elapsed time is greater than a timeout value. Anyone got any better ideas?


Thanks,
Stephen

ps, wouldn't it be nice if AULab had a simple little timeline MIDI sequencer with provision for some automation data recording/playback etc.




_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: AU automation gestures/scroll wheel events
      • From: William Stewart <email@hidden>
    • Re: AU automation gestures/scroll wheel events
      • From: Brian Willoughby <email@hidden>
  • Prev by Date: AUGraph problem mixers to AudioUnit with Render
  • Next by Date: Re: Audio Queues and thread safety
  • Previous by thread: Re: AUGraph problem mixers to AudioUnit with Render
  • Next by thread: Re: AU automation gestures/scroll wheel events
  • Index(es):
    • Date
    • Thread