Merge Max Maisel's branch that adds their Dynamic Compressor
effect to Tenacity. The commit has been already polished extensively,
as it was originally intended to be merged in Audacity.
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/186
The original workflow that we ended up using for skipping
CI runs whenever a person proposed a change that only
affected documentation straight up broke. So, we might as
well just remove it from our codebase.
Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
Reference-to: https://github.com/tenacityteam/tenacity/pull/637
Backport track affordance and label patches from upstream Audacity.
When the fork was originally started, we ended up carrying over a couple
of features that were half- or unfinished to our fork. This merge is meant
to make up for that.
Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
Reference-to: https://github.com/tenacityteam/tenacity/pull/515
This parameter adds an offset to the value before calculating the
logarithm to tweak the scaling of the slider.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
instead of just the envelope detector step response.
Also increase minimum plot width for non realtime enabled case.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
The old layout did not fit well on small screens.
I tried using StartScroller() but this caused problems on large screens.
Also fix clipped text in textboxes on some themes.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
Add helper functions "import_from_aud" and "export_to_aud" to
de-deplicate common code in tests.
The export functions reads back the exported signal to remove the impact
of quantization errors during wav export from test results.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
This widget will be used in the new Compressor2 effect but it is
designed for use in other effects as well.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
This widgets will be used in the new Compresor2 effect but it is
designed for use in other effects as well.
Signed-off-by: Max Maisel <max.maisel@posteo.de>
Subclasses should provide instances instead
(cherry picked from audacity commit bc8c6d4ccc6ffffa1fb1b30f3a9a5fe578f74ec1)
Signed-off-by: akleja <storspov@gmail.com>
LinkType replaces old boolean 'linked', mostly for WaveTrack display purposes
Track::GroupChannels splitted into Track::UnlinkChannels and Track::MakeMultiChannelTrack (which is also aware of new LinkType)
LinkConsistensyCheck made virtual to allow Track subclasses to perform type-specific consistensy checks.
Introduces some corner-cases with copy-pasting/old project importing/file importing..., which are handled
(cherry picked from audacity commit 607961da70968c179b60a811ce084b55a94438ec)
Signed-off-by: akleja <storspov@gmail.com>
Time Shift left/right commands do not work on the right hand channel of a stereo track when clips are not aligned.
This has been a problem since 3.3.0. Between 2.3.1 and 2.4.2 they moved a clip in the right hand channel more than they should, so moving the clip more than the cursor.
Problems and fixes, both in DoClipMove():
1. The reason for the commands not working at all was the track rather than the channel was been passed in the call MakeTrackShifter::Call( *channel, project )
2. The reason for the clip being moved more than it should, was the left hand channel always being passed as the captured track in the call:
state.Init( project, pShifter->GetTrack(), hitTestResult, std::move( uShifter ),
t0, viewInfo, trackList, syncLocked )
(cherry picked from audacity commit 405847092231f2cf1ddaec25855daa2feeccc566)
Signed-off-by: akleja <storspov@gmail.com>
... with some reinterpretation of what it means to "set the height" of a track.
Changing height allocation for a reduced separator between panels may also
be done, but that logic should also be localized in TrackPanel.cpp.
(cherry picked from audacity commit 5f7f180a6a)
Signed-off-by: akleja <storspov@gmail.com>