Skip to content

Commit

Permalink
Fixed maximum value of Pipe999LoopCrossfadeLength and Pipe999ReleaseC…
Browse files Browse the repository at this point in the history
…rossfadeLength. Now they are 3000 GrandOrgue#1612
  • Loading branch information
oleg68 committed Aug 14, 2023
1 parent 342eac3 commit 6b58e9c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- Increased maximum value of Pipe999LoopCrossfadeLength and Pipe999ReleaseCrossfadeLength. Now they are 3000 https://github.com/GrandOrgue/grandorgue/issues/1612
# 3.12.3 (2023-08-14)
- Fixed saving manual switches as global in yaml https://github.com/GrandOrgue/grandorgue/issues/1599
- Fixed convolution enabling warrning in the Settings dialog https://github.com/GrandOrgue/grandorgue/issues/1617
Expand Down
4 changes: 2 additions & 2 deletions help/grandorgue.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10312,7 +10312,7 @@ specified in samples.
<term>Pipe999LoopCrossfadeLength</term>
<listitem>
<para>
(integer 0 - 120, default: 0) Crossfade length in ms between loop start and loop
(integer 0 - 3000, default: 0) Crossfade length in ms between loop start and loop
end. A cross fade requires enough samples before the start of the loop.
</para>
</listitem>
Expand All @@ -10321,7 +10321,7 @@ end. A cross fade requires enough samples before the start of the loop.
<term>Pipe999ReleaseCrossfadeLength</term>
<listitem>
<para>
(integer 0 - 200, default: 0) Crossfade length in ms between loop and the
(integer 0 - 3000, default: 0) Crossfade length in ms between loop and the
release (or other attacks). 0 means automatic selection.
</para>
</listitem>
Expand Down
4 changes: 2 additions & 2 deletions src/grandorgue/model/GOSoundingPipe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,13 +198,13 @@ void GOSoundingPipe::Load(
false,
-1.0);
m_LoopCrossfadeLength = cfg.ReadInteger(
ODFSetting, group, prefix + wxT("LoopCrossfadeLength"), 0, 120, false, 0);
ODFSetting, group, prefix + wxT("LoopCrossfadeLength"), 0, 3000, false, 0);
m_ReleaseCrossfadeLength = cfg.ReadInteger(
ODFSetting,
group,
prefix + wxT("ReleaseCrossfadeLength"),
0,
200,
3000,
false,
0);
m_RetunePipe = cfg.ReadBoolean(
Expand Down

0 comments on commit 6b58e9c

Please sign in to comment.