1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 09:09:47 +02:00

10898 Commits

Author SHA1 Message Date
Geoffrey McRae
b3ade99a58 Fix loading of LV2 effects that have Event ports (Calf Plugins)
The Calf plugin suite exposes Event ports which is currently not supported or defined in `liblilv`, so instead of flat rejecting the filter, test the port name for `Events` and allow them to load.
2019-11-24 21:33:25 +00:00
Philipp Claßen
af79017f3a Prevent heap-use-after-free crash 2019-11-24 21:09:39 +00:00
Lars Wendler
b280253e60 build: Fix bad include path
tracks/labeltrack/ui/LabelTextHandle.cpp:25:10: fatal error: ../../../images/Cursors.h: No such file or directory
     25 | #include "../../../images/Cursors.h"
        |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.

Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
2019-11-24 21:04:10 +00:00
Paul Licameli
92bdec7a46 Split wave and spectrogram views...
To get a split view: move the mouse near the top or bottom of a wave track view
until the cursor changes to "north-south", then drag and release.

When a separation of views exists, the separation line can be dragged again.

You can drag until one of the sub-views shrinks to nothing.  There is a certain
snapping (now 5 pixels) to make this easier and prevent very small views shorter
than that.

Notes:

- ESC key before mouse release cancels the drag, as expected.
- Either wave or spectrum view can be on top, depending on how you drag.
- Please note, and test, that the vertical ruler also divides in two portions,
and that all mouse drag actions (including spectral selection) in the track
view or the ruler are available, and only those proper for the sub-view.
- If you have a stereo track, then the wave and spectrum views keep the same
height proportions in the two channels.
- If you want to drag the channel separator instead, unfortunately there is no
difference yet between the preview cursors.  North-south seems the most sensible
cursor for both of these drags, among pre-defined cursors.
- The drop-down menu of the track control panel may now have two checkmarks, for
spectrum and for either Waveform or Waveform dB.  Selecting any of those items
causes that view type to become the sole view.
- In my opinion, the behavior above is not satisfactory.  I think the more
consistent user interface would have only Waveform and Spectrum items as a
non-exclusive radio button choice in the menu, while the choice between linear
and dB waveform view should be part of the right-mouse popup menu in the
vertical ruler, analogous to the choice among scales for spectrum view.
- The 'VIEW property of *TRACK* in Nyquist is now a list rather than an atom
when there is a split view.  None of the existing .ny plug-ins that ship with
Audacity need to be changed, because they only ever test whether the property
is nil, indicating that an effect preview is being computed.
2019-11-23 17:28:48 -05:00
Paul Licameli
54e0df5660 Implement a dragging handle to adjust wave track sub-view heights 2019-11-23 16:44:42 -05:00
Paul Licameli
d26b55ee3c WaveTrackSubView has a back-pointer to the WaveTrackView 2019-11-23 15:27:04 -05:00
Paul Licameli
e3d9fd95ab If track has multiple views, pass a list in 'VIEW property to Nyquist...
... this makes no difference to any of the .ny plug-ins now in the project,
which only ever test whether the view type is NIL, signifying preview
2019-11-23 15:24:16 -05:00
Paul Licameli
af9959dc98 Rewrite WaveTrackView::GetSubViews to cache last computed heights 2019-11-23 15:02:09 -05:00
Paul Licameli
125b8ad0da Wave track context menu has non-exclusive check items for display type 2019-11-23 14:57:29 -05:00
Paul Licameli
f694d75993 Define ClientData::FindIf 2019-11-23 14:52:47 -05:00
James Crook
846938e871 Set BUILD_LEVEL back to 0 and Version to 2.4.0, ready for onward development. 2019-11-23 09:30:06 +00:00
Max Maisel
5f0c02273e Fix Loudness effect unit tests
Introduce new helper functions which handle selection and update
scripted selection to new upstream.
2019-11-22 19:42:33 +01:00
Max Maisel
f911bdb46c Include ProgressDialog.h in Loudness effect. 2019-11-22 19:42:33 +01:00
Max Maisel
b4821228df Rename Loudness effect to "Loudness Normalization". 2019-11-22 19:42:33 +01:00
Max Maisel
0bac2a5e75 Add Loudness effect RMS unit tests. 2019-11-22 19:42:33 +01:00
Max Maisel
ed1e7ee37a Implement RMS normalization in new Loudness effect. 2019-11-22 19:42:33 +01:00
Max Maisel
2649179ef3 Add Loudness effect perceived loudness unit tests. 2019-11-22 19:42:33 +01:00
Max Maisel
1d60a3882f Add colors to Octave unit test results. 2019-11-22 19:42:33 +01:00
Max Maisel
d9608cddea Implement perceived loudness normalization in new Loudness effect. 2019-11-22 19:42:33 +01:00
Max Maisel
8555018bd4 Implement EBUR128 integrative loudness class. 2019-11-22 19:42:33 +01:00
Max Maisel
a94cda94ae Create empty EBUR128 class.
This class will contain all EBU-R128 related analysis code.
Add all new files to all build systems as well.
2019-11-22 19:42:33 +01:00
Max Maisel
d8424755d1 Add buffer handling and flow control code to new Loudness effect.
Currently, the effect still does nothing.
2019-11-22 19:42:33 +01:00
Max Maisel
c002165952 Add EBU R128 k-weighting filter implementation to Biquad. 2019-11-22 19:42:33 +01:00
Max Maisel
c3d25cfb44 Remove all Loudness related code from Normalize effect. 2019-11-22 19:42:33 +01:00
Max Maisel
e439e8f4c7 Consistently use double within Biquad filter coefficient calcultations.
This avoids catastrophic rounding errors which can even lead to filter
instability in some cases. This is a real problem in the coming IIR envelope
detector.
2019-11-22 19:42:33 +01:00
Max Maisel
86ae0460c9 More Biquad refactoring. 2019-11-22 19:42:32 +01:00
Max Maisel
064ddb5a54 Refactored filter calculation out of ScienFilter into Biquad.
This allows easy code reuse in other effects.
2019-11-22 19:42:32 +01:00
Max Maisel
6da48db127 Start work on new Loudness effect
This is based on my old loudness effect prototype which was included
in the Normalize effect.

Create all source files and add them to all build systems.
Currently, the effect only consists of a GUI mockup.
Create Octave+mod-script-pipe based dummy unit-test as well.
2019-11-22 19:42:32 +01:00
James Crook
008d8d8c8c Set BUILD_LEVEL 2, ready for release. Audacity-2.3.3 2019-11-15 11:14:55 +00:00
James Crook
fe8739a362 Add modified mac build_dist script.
This is for convenience and does some of the manual steps.
2019-11-15 10:31:23 +00:00
Paul Licameli
eb2161d3aa Fix (again) TAB key navigation to graphic EQ sliders on Mac...
... original fix was at c8d95e1

regression was at 3e98a10
2019-11-14 23:28:15 +00:00
James Crook
d3f1893e9f Add forum and developer links to README.md 2019-11-13 22:21:47 +00:00
Steve Daulton
199d334614 Create README.md 2019-11-13 22:11:35 +00:00
David Bailes
185d555fc6 Bug2239: Windows, accessibility problem when TrackPanel regains focus
Problem:
When the TrackPanel regains focus, screen readers do not read the track name.
Introduced by the commit: acfd2b70

Fix:
Change TrackPanel::SetFocusedCell() so that it actually sets the focus, rather than just getting it :)

Note: this also fixes bug 2238
2019-11-13 16:49:02 +00:00
SteveDaulton
3c5906193b Fix bug 2233, First effect group incorrectly named 2019-11-12 19:46:55 +00:00
SteveDaulton
cc161a0ea4 Bug 2236, Vocal Reduction & Isolation
Removed duplicate Action, and correct fft-offset
for IsolateCenterInvert
2019-11-12 18:50:09 +00:00
James Crook
1c44a1e061 Include libFlac in tarball. 2019-11-08 20:40:18 +00:00
James Crook
eb00470042 Bug 2231 - Graphic Eq may create wrong effect 2019-11-08 20:12:13 +00:00
James Crook
b3539ed2b8 Update CHANGELOG and README 2019-10-26 12:37:17 +01:00
Paul Licameli
e96c213f4b Fix missing Spanish language choice on Linux...
... Don't modify a hash table (with operator []) while iterating it!
2019-10-24 15:31:24 -04:00
Paul Licameli
b83ebc17a1 Revert addition of extraneous files under scripts/ 2019-10-24 15:17:53 -04:00
SteveDaulton
e9c8438d2d Fix for bug 2230 - Audacity crashes on selecting Resample
See https://bugzilla.audacityteam.org/show_bug.cgi?id=2230
2019-10-24 13:27:29 +01:00
Paul Licameli
cfbffe6d54 Bug 2228: crash closing, only Linux, gcc, opt, wxWidgets 3.0...
... Not the most satisfactory fix, but in fact no dangling pointers will
happen with the code we have now, because the relevant windows are all destroyed
only at the end of AudacityProject's lifetime, including the non-modal windows
(macros, history, lyrics, mixer board, plot spectrum, and contrast) which
are hidden and shown again, not destroyed and recreated, when dismissed and
reopened.

To do:  figure out how to make wxWeakRef work on that combination without
crashing.
2019-10-17 17:07:37 -04:00
SteveDaulton
b2e7350587 Fix bug 2192 - Linux slow effects
Sets the default optimization level for release builds to -O2, though
allowing this to be overridden with CFLAGS / CXXFLAGS.
When the --enable-debug option is selected, optimizations are overridden
by '-O0 -g'.
2019-10-11 10:54:12 +01:00
ajkenny122
f5a6a02da0 Update audacity.desktop.in
Korean translation has been added.
(ko)
2019-10-07 10:39:48 +01:00
David Bailes
cff0011ee4 Bug 2225 - No error message when trying to delete with no selection
The problem only applies to the delete on the edit menu (ctrl+k), pressing delete or backspace work.

Fix: add a couple of missing flags.
2019-10-05 10:17:58 +01:00
Mikhail Novosyolov
a1ecfd10d2 Fix Ru translation of 'signed' and 'float'
Suggested to fix 'signed' at https://bugzilla.altlinux.org/show_bug.cgi?id=37238
See e.g. https://www.quora.com/What-do-the-16-bit-PCM-samples-in-a-wav-file-actually-represent/answer/Ian-Hendry-11
if you don't believe that it's correct.

Also translate 'float', it was not translated.
2019-10-04 19:18:47 +01:00
James Crook
85a3e9880c Bug 2052 - Remove lock file, even if read only
The line breaks in the second message are also changed.
They are not changed in the first message, as that message is already translated.
2019-10-04 11:31:23 +01:00
James Crook
3bce6f1c21 Raise splashscreen at start up. 2019-10-03 20:24:06 +01:00
James Crook
98f495a485 Bug 2052 - Mac: Lock file prevents launching Audacity
This ameliorates the problem, by prompting the user telling them the lock file
location.  It does not fully solve it, but should allow us to reduce the bug to P2.
2019-10-03 17:19:32 +01:00