C# Class cadencii.AquesTone2WaveGenerator

AquesTone2 VSTi を使って歌声合成を行うクラス
Inheritance: WaveUnit, WaveGenerator
Mostra file Open project: cadencii/cadencii

Public Methods

Method Description
AquesTone2WaveGenerator ( AquesTone2Driver driver ) : System
begin ( long total_samples, WorkerState state ) : void
getPosition ( ) : long
getProgress ( ) : double
getSampleRate ( ) : int
getTotalSamples ( ) : long
getVersion ( ) : int
init ( VsqFileEx sequence, int track, int start_clock, int end_clock, int sample_rate ) : void
isRunning ( ) : bool
setConfig ( string config ) : void
setReceiver ( WaveReceiver receiver ) : void

Protected Methods

Method Description
generateMidiEvent ( VsqFileEx vsq, int trackIndex ) : EventQueueSequence

イベントキューを生成する

reflectNoteEventPitch ( VsqEvent item, VsqBPList pitchBend, VsqBPList pitchBendSensitivity, TempoVector tempoTable ) : void

音符に付随するピッチベンドの情報を、PIT・PBS カーブに反映する

Private Methods

Method Description
appendNoteEvent ( VsqTrack track, EventQueueSequence result ) : void

音符の note on/off のためのイベントを作成し、イベントキューに追加する

appendPitchEvent ( VsqTrack track, EventQueueSequence sequence ) : void

ピッチとピッチベンドセンシティビティをイベントキューに追加する

createNoteOffEvent ( int clock, int note ) : MidiEvent
doSynthesis ( long to_sample, double left, double right, WorkerState state ) : void

Method Details

AquesTone2WaveGenerator() public method

public AquesTone2WaveGenerator ( AquesTone2Driver driver ) : System
driver AquesTone2Driver
return System

begin() public method

public begin ( long total_samples, WorkerState state ) : void
total_samples long
state WorkerState
return void

generateMidiEvent() protected method

イベントキューを生成する
protected generateMidiEvent ( VsqFileEx vsq, int trackIndex ) : EventQueueSequence
vsq VsqFileEx
trackIndex int
return EventQueueSequence

getPosition() public method

public getPosition ( ) : long
return long

getProgress() public method

public getProgress ( ) : double
return double

getSampleRate() public method

public getSampleRate ( ) : int
return int

getTotalSamples() public method

public getTotalSamples ( ) : long
return long

getVersion() public method

public getVersion ( ) : int
return int

init() public method

public init ( VsqFileEx sequence, int track, int start_clock, int end_clock, int sample_rate ) : void
sequence VsqFileEx
track int
start_clock int
end_clock int
sample_rate int
return void

isRunning() public method

public isRunning ( ) : bool
return bool

reflectNoteEventPitch() protected method

音符に付随するピッチベンドの情報を、PIT・PBS カーブに反映する
protected reflectNoteEventPitch ( VsqEvent item, VsqBPList pitchBend, VsqBPList pitchBendSensitivity, TempoVector tempoTable ) : void
item VsqEvent 音符
pitchBend VsqBPList PIT カーブ
pitchBendSensitivity VsqBPList PBS カーブ
tempoTable TempoVector テンポ情報
return void

setConfig() public method

public setConfig ( string config ) : void
config string
return void

setReceiver() public method

public setReceiver ( WaveReceiver receiver ) : void
receiver WaveReceiver
return void