Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListMIDIDeivces ¶
func ListMIDIDeivces() []string
ListMIDIDeivces は、入力として選択可能なMIDIデバイスの一覧を取得します。
Types ¶
type Insertion ¶
type Insertion interface { // Next は、次のサンプルを生成し、その左右それぞれの振幅を返します。 Next(l, r float64) (float64, float64) }
Insertion は、インサーションエフェクトを抽象化したインタフェースです。
type Limiter ¶
type Limiter struct {
// contains filtered or unexported fields
}
Limiter は、インサーションエフェクト「リミッター」です。
func (*Limiter) SetLookAhead ¶
SetLookAhead は、先読み時間 [秒] を設定します。
func (*Limiter) SetRelease ¶
SetRelease は、リリースタイムを設定します。
func (*Limiter) SetThreshold ¶
SetThreshold は、スレッショルドレベル [dB] を設定します。
type Renderer ¶
type Renderer struct { Parameters portaudio.StreamParameters // contains filtered or unexported fields }
Renderer は、波形をレンダリングしてオーディオデバイスに出力します。 TODO: rename
type Sequencer ¶
type Sequencer struct { *fmfm.Controller // contains filtered or unexported fields }
Sequencer は、PortMIDI により MIDIメッセージを受信して Chip のレジスタをコントロールします。 TODO: rename
func NewSequencer ¶
func NewSequencer(midiDevice string, opts *fmfm.ControllerOpts) *Sequencer
NewSequencer は、新しい Sequencer を作成します。
Click to show internal directories.
Click to hide internal directories.