mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 22:51:39 +00:00
- Fixed: I had instrument vibrato setting the tremolo_sweep_increment value
in the instrument loader, effectively disabling vibrato. SVN r952 (trunk)
This commit is contained in:
parent
c86d7e0afd
commit
684b671428
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
April 30, 2008
|
||||||
|
- Fixed: I had instrument vibrato setting the tremolo_sweep_increment value
|
||||||
|
in the instrument loader, effectively disabling vibrato.
|
||||||
|
|
||||||
April 29, 2008
|
April 29, 2008
|
||||||
- Fixed: FString::StripRight() stripped the final character of the string if
|
- Fixed: FString::StripRight() stripped the final character of the string if
|
||||||
there were no designated characters to strip at the end of it.
|
there were no designated characters to strip at the end of it.
|
||||||
|
|
|
@ -323,7 +323,7 @@ fail:
|
||||||
/* vibrato */
|
/* vibrato */
|
||||||
if (patch_data.VibratoRate == 0 || patch_data.VibratoDepth == 0)
|
if (patch_data.VibratoRate == 0 || patch_data.VibratoDepth == 0)
|
||||||
{
|
{
|
||||||
sp->tremolo_sweep_increment = 0;
|
sp->vibrato_sweep_increment = 0;
|
||||||
sp->vibrato_control_ratio = 0;
|
sp->vibrato_control_ratio = 0;
|
||||||
sp->vibrato_depth = 0;
|
sp->vibrato_depth = 0;
|
||||||
cmsg(CMSG_INFO, VERB_DEBUG, " * no vibrato\n");
|
cmsg(CMSG_INFO, VERB_DEBUG, " * no vibrato\n");
|
||||||
|
@ -331,7 +331,7 @@ fail:
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sp->vibrato_control_ratio = convert_vibrato_rate(song, patch_data.VibratoRate);
|
sp->vibrato_control_ratio = convert_vibrato_rate(song, patch_data.VibratoRate);
|
||||||
sp->tremolo_sweep_increment = convert_vibrato_sweep(song, patch_data.VibratoSweep, sp->vibrato_control_ratio);
|
sp->vibrato_sweep_increment = convert_vibrato_sweep(song, patch_data.VibratoSweep, sp->vibrato_control_ratio);
|
||||||
sp->vibrato_depth = patch_data.VibratoDepth;
|
sp->vibrato_depth = patch_data.VibratoDepth;
|
||||||
cmsg(CMSG_INFO, VERB_DEBUG, " * vibrato: sweep %d, ctl %d, depth %d\n",
|
cmsg(CMSG_INFO, VERB_DEBUG, " * vibrato: sweep %d, ctl %d, depth %d\n",
|
||||||
sp->vibrato_sweep_increment, sp->vibrato_control_ratio, sp->vibrato_depth);
|
sp->vibrato_sweep_increment, sp->vibrato_control_ratio, sp->vibrato_depth);
|
||||||
|
|
Loading…
Reference in a new issue