AVAudioUnitSamplerMBS class
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
AVAudioUnitSamplerMBS class
Super class: AVAudioUnitMIDIInstrumentMBS
The AVAudioUnitSampler class encapsulates Apple's Sampler Audio Unit.
The sampler audio unit can be configured by loading different types of instruments such as an “.aupreset” file, a DLS or SF2 sound bank, an EXS24 instrument, a single audio file or with an array of audio files. The output is a single stereo bus.
Subclass of the AVAudioUnitMIDIInstrumentMBS class.
- 3 properties
- 8 methods
- method Constructor Private
- method Constructor(audioComponentDescription as AVAudioComponentDescriptionMBS)
- method loadAudioFilesAtFiles(Files() as folderitem, byref error as NSErrorMBS) as boolean
- method loadAudioFilesAtURLs(URLs() as string, byref error as NSErrorMBS) as boolean
- method loadInstrumentAtFile(File as folderitem, byref error as NSErrorMBS) as boolean
- method loadInstrumentAtURL(URL as string, byref error as NSErrorMBS) as boolean
- method loadSoundBankInstrumentAtFile(bankFile as folderitem, program as Integer, bankMSB as Integer, bankLSB as Integer, byref error as NSErrorMBS) as boolean
- method loadSoundBankInstrumentAtURL(bankURL as string, program as Integer, bankMSB as Integer, bankLSB as Integer, byref error as NSErrorMBS) as boolean
- 12 methods
- method Constructor(audioComponentDescription as AVAudioComponentDescriptionMBS)
- method sendController(Controller as Integer, Value as Integer, Channel as Integer)
- method sendMIDIEvent(midiStatus as Integer, data1 as Integer)
- method sendMIDIEvent(midiStatus as Integer, data1 as Integer, data2 as Integer)
- method sendMIDISysExEvent(data as MemoryBlock)
- method sendPitchBend(pitchbend as Integer, Channel as Integer)
- method sendPressure(pressure as Integer, Channel as Integer)
- method sendPressureForKey(Key as Integer, value as Integer, Channel as Integer)
- method sendProgramChange(program as Integer, bankMSB as Integer, bankLSB as Integer, Channel as Integer)
- method sendProgramChange(program as Integer, Channel as Integer)
- method startNote(note as Integer, Velocity as Integer, Channel as Integer)
- method stopNote(note as Integer, Channel as Integer)
- 2 events
- event LevelMonitor(Level0 as Double, Level1 as Double, Level2 as Double, Level3 as Double, Level4 as Double, Level5 as Double, Level6 as Double, Level7 as Double, tag as Variant)
- event PropertyListener(ID as UInt32, Scope as UInt32, Element as UInt32)
- 6 properties
- 12 methods
- method AddPropertyListener(ID as UInt32)
- method Constructor Private
- method Constructor(audioComponentDescription as AVAudioComponentDescriptionMBS) Private
- method CreateView(PreferredSize as NSSizeMBS) as NSViewMBS
- method Destructor
- method GetParameter(ID as UInt32, Scope as UInt32, Element as UInt32) as Single
- method GetProperty(ID as UInt32, Scope as UInt32, Element as UInt32) as Memoryblock
- method GetPropertyInfo(ID as UInt32, Scope as UInt32, Element as UInt32, byref WriteAble as Boolean) as UInt32
- method installLevelMonitor(CallsPerSecond as Integer, tag as Variant = nil)
- method RemovePropertyListener(ID as UInt32)
- method SetParameter(ID as UInt32, Scope as UInt32, Element as UInt32, Value as Single, inBufferOffsetInFrames as UInt32 = 0)
- method SetProperty(ID as UInt32, Scope as UInt32, Element as UInt32, data as Memoryblock)
This class has no sub classes.
Blog Entries
The items on this page are in the following plugins: MBS AVFoundation Plugin.
AVAudioUnitReverbMBS
-
AVAudioUnitTimeEffectMBS