Skip to content

Commit

Permalink
speedup pitch toggle, faster song previews
Browse files Browse the repository at this point in the history
  • Loading branch information
LlysiX committed Jan 22, 2025
1 parent a0e0d2a commit 7b00f8c
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
24 changes: 24 additions & 0 deletions _ark/ps4/config/include/sound.dta
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
(record_mic FALSE)
(capture_mic_and_energy FALSE)
(song_previews
(wait_to_play_sec 0.25)
(preview_loop_fade_out_sec 1.0)
(preview_loop_fade_in_sec 0.5)
(preview_stop_fade_out_sec 0.5)
(preview_db -8.0))
(mic_volume_default_index 8)
(mic_volume_values
(-96 -14 -12 -10 -8 -6 -4 -2 0 3 6 9))
(vocal_stem_volume_default_index 8)
(vocal_stem_volume_values
(-12 -10 -8 -6 -4 -3 -2 -1 0 1 2 3))
(igs_volume_default_index 6)
(igs_volume_values
(-6 -5 -4 -3 -2 -1 0 1 2 3 4 5))
(mogg_timestretch_config
(stretcher_type {if_else {file_exists "settings/sfx/speedpitch.dta"} 2 1})
(smb_config
(window_size 2048)
(overlap 4)
(mono_cutoff 600))
(soundtouch_config))
10 changes: 10 additions & 0 deletions _ark/ps4/dx/overshell/dx_states.dta
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@
(off "Track Muting: Off")
(on "Track Muting: On")
}
{if_else $speedpitch "Speedup Pitch Correction: OFF" "Speedup Pitch Correction: ON"}
)
}
)
Expand Down Expand Up @@ -337,6 +338,15 @@
}
{$this trigger_select_effects}
)
(("Speedup Pitch Correction: OFF" "Speedup Pitch Correction: ON")
{set $speedpitch {! $speedpitch}}
{if_else $speedpitch
{dx_write_null_file "settings/sfx/speedpitch.dta"}
{dx_file_delete "settings/sfx/speedpitch.dta"}
}
{$this show_state kState_RB4DXDelayedEffectWarn}
{$this trigger_select_effects}
)
}
)
(on_cancel
Expand Down
1 change: 1 addition & 0 deletions _ark/ps4/dx/ui/dx_init.dta
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
)
}
}
{set $speedpitch {file_exists "settings/sfx/speedpitch.dta"}}

;controller type
{set $voxslt
Expand Down

0 comments on commit 7b00f8c

Please sign in to comment.