Skip to content

smoothsw.ini

Fredrik Hubinette edited this page Jul 17, 2019 · 17 revisions

When one or more set of swingl/swingh files are present, TeensySaber will activate the SmoothSwing V1 or V2 algorithms. To decide which one to use, it will read a file called "smoothsw.ini", which can contain the following variables: (listed with their default values)

# SmoothSwing algorithm version, you probably want to set this to 2.
Version=1
# Swing sensetivity, degrees of rotations per second required to reach full volume.
SwingSensitivity=450
# How many percent the hum sound will decrease as swing increases.
MaximumHumDucking=75
# Non-linear swing response, higher values makes it more non-linear.
SwingSharpness=1.75
# Degrees / second needed to register as a swing.
SwingStrengthThreshold=20
# Length of first transition in degrees.
Transition1Degrees=45
# Length of second transition in degrees.
Transition2Degrees=160.0
# Swing volume multiplier defaults to 3x normal volume.
MaxSwingVolume=3.0
# If not zero, SWINGNNN.WAV will be played when we reach this swing speed.
# Unit is degrees per second, 450 is a reasonable value. 
AccentSwingSpeedThreshold=0.0
Clone this wiki locally