C# Class cadencii.VSTiDriverBase

Exibir arquivo Open project: cadencii/cadencii

Public Properties

Property Type Description
loaded boolean
path String

Protected Properties

Property Type Description
aEffect VstSdk.AEffectWrapper
aEffectPointer System.IntPtr
audioMaster audioMasterCallback
blockSize int
dllHandle System.IntPtr
mainDelegate PVSTMAIN
memoryManager MemoryManager
sampleRate int
ui FormPluginUi

Public Methods

Method Description
close ( ) : void
getParameter ( int index ) : float
getParameterDisplay ( int index ) : String
getParameterLabel ( int index ) : String
getParameterName ( int index ) : String
getRendererKind ( ) : RendererKind

このドライバが担当する、合成エンジンの種類を取得する

getSampleRate ( ) : int
getUi ( System main_window ) : FormPluginUi
open ( int block_size, int sample_rate ) : bool
process ( double left, double right, int length ) : void
resetAllParameters ( ) : void
send ( MidiEvent events ) : void
setParameter ( int index, float value ) : void
setSampleRate ( int sample_rate ) : void

Protected Methods

Method Description
AudioMaster ( AEffect &effect, VstInt32 opcode, VstInt32 index, VstIntPtr value, IntPtr ptr, float opt ) : VstIntPtr

Private Methods

Method Description
createPluginUi ( ) : void
enumChildProc ( IntPtr hwnd, int lParam ) : bool
getStringCore ( int opcode, int index, int str_capacity ) : String
initBuffer ( ) : void
releaseBuffer ( ) : void
updatePluginUiRect ( ) : void

Method Details

AudioMaster() protected method

protected AudioMaster ( AEffect &effect, VstInt32 opcode, VstInt32 index, VstIntPtr value, IntPtr ptr, float opt ) : VstIntPtr
effect VstSdk.AEffect
opcode VstInt32
index VstInt32
value VstIntPtr
ptr System.IntPtr
opt float
return VstIntPtr

close() public method

public close ( ) : void
return void

getParameter() public method

public getParameter ( int index ) : float
index int
return float

getParameterDisplay() public method

public getParameterDisplay ( int index ) : String
index int
return String

getParameterLabel() public method

public getParameterLabel ( int index ) : String
index int
return String

getParameterName() public method

public getParameterName ( int index ) : String
index int
return String

getRendererKind() public abstract method

このドライバが担当する、合成エンジンの種類を取得する
public abstract getRendererKind ( ) : RendererKind
return RendererKind

getSampleRate() public method

public getSampleRate ( ) : int
return int

getUi() public method

public getUi ( System main_window ) : FormPluginUi
main_window System
return FormPluginUi

open() public method

public open ( int block_size, int sample_rate ) : bool
block_size int
sample_rate int
return bool

process() public method

public process ( double left, double right, int length ) : void
left double
right double
length int
return void

resetAllParameters() public method

public resetAllParameters ( ) : void
return void

send() public method

public send ( MidiEvent events ) : void
events MidiEvent
return void

setParameter() public method

public setParameter ( int index, float value ) : void
index int
value float
return void

setSampleRate() public method

public setSampleRate ( int sample_rate ) : void
sample_rate int
return void

Property Details

aEffect protected_oe property

読込んだdllから作成したVOCALOID2の本体。VOCALOID2への操作はs_aeffect->dispatcherで行う
protected AEffectWrapper,VstSdk aEffect
return VstSdk.AEffectWrapper

aEffectPointer protected_oe property

protected IntPtr,System aEffectPointer
return System.IntPtr

audioMaster protected_oe property

protected audioMasterCallback audioMaster
return audioMasterCallback

blockSize protected_oe property

波形バッファのサイズ。
protected int blockSize
return int

dllHandle protected_oe property

読込んだdllのハンドル
protected IntPtr,System dllHandle
return System.IntPtr

loaded public_oe property

public boolean loaded
return boolean

mainDelegate protected_oe property

protected PVSTMAIN mainDelegate
return PVSTMAIN

memoryManager protected_oe property

win32.LoadLibraryExを使うかどうか。trueならwin32.LoadLibraryExを使い、falseならutil.dllのLoadDllをつかう。既定ではtrue
protected MemoryManager,cadencii memoryManager
return MemoryManager

path public_oe property

public String path
return String

sampleRate protected_oe property

サンプリングレート。VOCALOID2 VSTiは限られたサンプリングレートしか受け付けない。たいてい44100Hzにする
protected int sampleRate
return int

ui protected_oe property

プラグインのUI
protected FormPluginUi ui
return FormPluginUi