Package org.robovm.apple.avfoundation
Class AVAudioUnitMIDIInstrument
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.avfoundation.AVAudioNode
org.robovm.apple.avfoundation.AVAudioUnit
org.robovm.apple.avfoundation.AVAudioUnitMIDIInstrument
- All Implemented Interfaces:
AVAudio3DMixing,AVAudioMixing,AVAudioStereoMixing,NSObjectProtocol,ObjCProtocol
- Direct Known Subclasses:
AVAudioUnitSampler
public class AVAudioUnitMIDIInstrument extends AVAudioUnit implements AVAudioMixing
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAVAudioUnitMIDIInstrument.AVAudioUnitMIDIInstrumentPtrNested classes/interfaces inherited from class org.robovm.apple.avfoundation.AVAudioUnit
AVAudioUnit.AVAudioUnitPtrNested classes/interfaces inherited from class org.robovm.apple.avfoundation.AVAudioNode
AVAudioNode.AVAudioNodePtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description AVAudioUnitMIDIInstrument()AVAudioUnitMIDIInstrument(AudioComponentDescription description)protectedAVAudioUnitMIDIInstrument(NSObject.Handle h, long handle)protectedAVAudioUnitMIDIInstrument(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description AVAudioMixingDestinationgetDestinationForMixer(AVAudioNode mixer, long bus)floatgetObstruction()floatgetOcclusion()floatgetPan()AVAudio3DMixingPointSourceInHeadModegetPointSourceInHeadMode()AVAudio3DPointgetPosition()floatgetRate()AVAudio3DMixingRenderingAlgorithmgetRenderingAlgorithm()floatgetReverbBlend()AVAudio3DMixingSourceModegetSourceMode()floatgetVolume()protected longinit(AudioComponentDescription description)static voidinstantiate(AudioComponentDescription audioComponentDescription, AudioComponentInstantiationOptions options, VoidBlock2<AVAudioUnit,NSError> completionHandler)voidsendController(byte controller, byte value, byte channel)voidsendMIDIEvent(byte midiStatus, byte data1)voidsendMIDIEvent(byte midiStatus, byte data1, byte data2)voidsendMIDISysExEvent(NSData midiData)voidsendPitchBend(short pitchbend, byte channel)voidsendPressure(byte pressure, byte channel)voidsendPressure(byte key, byte value, byte channel)voidsendProgramChange(byte program, byte channel)voidsendProgramChange(byte program, byte bankMSB, byte bankLSB, byte channel)voidsetObstruction(float v)voidsetOcclusion(float v)voidsetPan(float v)voidsetPointSourceInHeadMode(AVAudio3DMixingPointSourceInHeadMode v)voidsetPosition(AVAudio3DPoint v)voidsetRate(float v)voidsetRenderingAlgorithm(AVAudio3DMixingRenderingAlgorithm v)voidsetReverbBlend(float v)voidsetSourceMode(AVAudio3DMixingSourceMode v)voidsetVolume(float v)voidstartNote(byte note, byte velocity, byte channel)voidstopNote(byte note, byte channel)Methods inherited from class org.robovm.apple.avfoundation.AVAudioUnit
getAUAudioUnit, getAudioComponentDescription, getAudioUnit, getManufacturerName, getName, getVersion, loadAudioUnitPresetMethods inherited from class org.robovm.apple.avfoundation.AVAudioNode
getEngine, getInputFormatForBus, getLastRenderTime, getLatency, getNameForInputBus, getNameForOutputBus, getNumberOfInputs, getNumberOfOutputs, getOutputFormatForBus, getOutputPresentationLatency, installTapOnBus, removeTapOnBus, resetMethods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
AVAudioUnitMIDIInstrument
public AVAudioUnitMIDIInstrument() -
AVAudioUnitMIDIInstrument
-
AVAudioUnitMIDIInstrument
-
AVAudioUnitMIDIInstrument
-
-
Method Details
-
getVolume
public float getVolume()- Specified by:
getVolumein interfaceAVAudioMixing
-
setVolume
public void setVolume(float v)- Specified by:
setVolumein interfaceAVAudioMixing
-
getPan
public float getPan()- Specified by:
getPanin interfaceAVAudioStereoMixing
-
setPan
public void setPan(float v)- Specified by:
setPanin interfaceAVAudioStereoMixing
-
getRenderingAlgorithm
- Specified by:
getRenderingAlgorithmin interfaceAVAudio3DMixing
-
setRenderingAlgorithm
- Specified by:
setRenderingAlgorithmin interfaceAVAudio3DMixing
-
getSourceMode
- Specified by:
getSourceModein interfaceAVAudio3DMixing- Since:
- Available in iOS 13.0 and later.
-
setSourceMode
- Specified by:
setSourceModein interfaceAVAudio3DMixing- Since:
- Available in iOS 13.0 and later.
-
getPointSourceInHeadMode
- Specified by:
getPointSourceInHeadModein interfaceAVAudio3DMixing- Since:
- Available in iOS 13.0 and later.
-
setPointSourceInHeadMode
- Specified by:
setPointSourceInHeadModein interfaceAVAudio3DMixing- Since:
- Available in iOS 13.0 and later.
-
getRate
public float getRate()- Specified by:
getRatein interfaceAVAudio3DMixing
-
setRate
public void setRate(float v)- Specified by:
setRatein interfaceAVAudio3DMixing
-
getReverbBlend
public float getReverbBlend()- Specified by:
getReverbBlendin interfaceAVAudio3DMixing
-
setReverbBlend
public void setReverbBlend(float v)- Specified by:
setReverbBlendin interfaceAVAudio3DMixing
-
getObstruction
public float getObstruction()- Specified by:
getObstructionin interfaceAVAudio3DMixing
-
setObstruction
public void setObstruction(float v)- Specified by:
setObstructionin interfaceAVAudio3DMixing
-
getOcclusion
public float getOcclusion()- Specified by:
getOcclusionin interfaceAVAudio3DMixing
-
setOcclusion
public void setOcclusion(float v)- Specified by:
setOcclusionin interfaceAVAudio3DMixing
-
getPosition
- Specified by:
getPositionin interfaceAVAudio3DMixing
-
setPosition
- Specified by:
setPositionin interfaceAVAudio3DMixing
-
init
-
startNote
public void startNote(byte note, byte velocity, byte channel) -
stopNote
public void stopNote(byte note, byte channel) -
sendController
public void sendController(byte controller, byte value, byte channel) -
sendPitchBend
public void sendPitchBend(short pitchbend, byte channel) -
sendPressure
public void sendPressure(byte pressure, byte channel) -
sendPressure
public void sendPressure(byte key, byte value, byte channel) -
sendProgramChange
public void sendProgramChange(byte program, byte channel) -
sendProgramChange
public void sendProgramChange(byte program, byte bankMSB, byte bankLSB, byte channel) -
sendMIDIEvent
public void sendMIDIEvent(byte midiStatus, byte data1, byte data2) -
sendMIDIEvent
public void sendMIDIEvent(byte midiStatus, byte data1) -
sendMIDISysExEvent
-
instantiate
public static void instantiate(AudioComponentDescription audioComponentDescription, AudioComponentInstantiationOptions options, VoidBlock2<AVAudioUnit,NSError> completionHandler)- Since:
- Available in iOS 9.0 and later.
-
getDestinationForMixer
- Specified by:
getDestinationForMixerin interfaceAVAudioMixing- Since:
- Available in iOS 9.0 and later.
-