class Yuno::VgmPlayerSettings

Overview

Settings for a VgmPlayer instance.

Defined in:

yunosynth/vgmplayersettings.cr

Constant Summary

DEFAULT_SAMPLE_RATE = 44100_u32

The default target sample rate for playback.

Constructors

Instance Method Summary

Constructor Detail

def self.new #

Creates a new VgmPlayerSettings instance.


[View source]

Instance Method Detail

def dmgBoostWaveChan=(dmgBoostWaveChan : Bool) #

When true, then the "wave" channel on the DMG is boosted.


[View source]
def dmgBoostWaveChan? : Bool #

When true, then the "wave" channel on the DMG is boosted.


[View source]
def hardStop=(hardStop : Bool) #

When true, then AbstractChip#reset will be called on all chips when stopping playback.


[View source]
def hardStop? : Bool #

When true, then AbstractChip#reset will be called on all chips when stopping playback.


[View source]
def huc6280Core : Yuno::Chips::HuC6280::Core #

The emulation core to use for the YM2151.


[View source]
def huc6280Core=(huc6280Core : Yuno::Chips::HuC6280::Core) #

The emulation core to use for the YM2151.


[View source]
def sampleRate : UInt32 #

The target sample rate to use for playback.


[View source]
def sampleRate=(sampleRate : UInt32) #

The target sample rate to use for playback.


[View source]
def verboseMessages=(verboseMessages : Bool) #

When true, then extra messages may be printed to the console.


[View source]
def verboseMessages? : Bool #

When true, then extra messages may be printed to the console.


[View source]
def ym2151Core : Yuno::Chips::YM2151::Core #

The emulation core to use for the YM2151.


[View source]
def ym2151Core=(ym2151Core : Yuno::Chips::YM2151::Core) #

The emulation core to use for the YM2151.


[View source]
def ym2612PseudoStereo=(ym2612PseudoStereo : Bool) #

When using the MAME core for the YM2612, this instructs the the chip emulator to update the left/right channels alternatively, creating a nice pseudo-stereo effect


[View source]
def ym2612PseudoStereo? : Bool #

When using the MAME core for the YM2612, this instructs the the chip emulator to update the left/right channels alternatively, creating a nice pseudo-stereo effect


[View source]