• 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: midi with midieffectbase
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: midi with midieffectbase


  • Subject: Re: midi with midieffectbase
  • From: William Stewart <email@hidden>
  • Date: Mon, 24 Jan 2005 16:46:29 -0800

I'm not sure that I understand the problem... you should easily be able to store the last velocity when you overide HandleNoteOn in your Effect sub-class, and then have the kernel's ask up to their parent for the current velocity if there is one (you'd have to make your own kernel sub class as well of course so that it has a field for your effect class) - in the SDK the AUPulseDetector does something like this

Bill

On 24/01/2005, at 10:36 AM, bastian.schnuerle wrote:

hi list,

i try to control an audiounit by midi.
the unit extends MIDIEffectBase and it
overrides the AUKernelBase for a mono
n to n unit.
i declared handlenoteon/off and start/stopnote
private in this Kernel. now i tried to get the velocity
from handlenoteon inVelocity and used this
to control the volume of an always running
oscillator in the Process loop. but this
didn't work. i wonder, if it may be that i
need some timestamp information, do i ?
or how can i use the UInt8 inVelocity
within the process(inSourceP,destSourceP...) loop ?
can please,please,please some-
one help me ?

staysound,

basti

_______________________________________________
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


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


________________________________________________________________________ __
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
________________________________________________________________________ __


_______________________________________________
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


References: 
 >midi with midieffectbase (From: "bastian.schnuerle" <email@hidden>)

  • Prev by Date: Re: IOAudioStream[0x280fa00]::clipIfNecessary()
  • Next by Date: Re: midi with midieffectbase
  • Previous by thread: midi with midieffectbase
  • Next by thread: Re: midi with midieffectbase
  • Index(es):
    • Date
    • Thread