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

10058 Commits

Author SHA1 Message Date
James Crook
f980e8b073 Update .pot and .po files for translation. 2019-04-18 18:20:24 +01:00
James Crook
7838aa0a90 Prepare error strings for bug 2057. 2019-04-18 18:12:33 +01:00
David Bailes
fe22b2ae22 2096: Windows & Mac high quality Change Pitch/Tempo preview
Problem:
Preview plays the original, and removes the selection.
This appears to have been caused by the commit: 0aad028

Fix: revert that commit. Note that in the #ifdef EXPERIMENTAL_SPECTRAL_EDITING code has not been reinstated.
I have not looked at why the commit caused the problem, just reverted it.
2019-04-17 10:48:56 +01:00
James Crook
1866be6145 Refresh NoteTrack after zooming. 2019-04-15 19:16:01 +01:00
Pokechu22
fe6afb91cf Add Up Octave and Down Octave to note track vruler menu
These currently are present in the track dropdown, but I think it's also suited for the vruler.
2019-04-15 16:52:26 +01:00
Pokechu22
99f4c35e18 Add support for zooming to show all notes, separate from max zoom
This is now the behavior of Zoom Reset, with Max Zoom being given the previous behavior.  Shift+Right-Click alternates between the two -- it zooms to all notes, unless it currently is zoomed to all notes in which case it performs a max zoom.

This fixes Bug 2093.  It also fixes Bug 1815, by performing the all-notes zoom when importing a track.
2019-04-15 16:52:26 +01:00
Pokechu22
567b3972b8 Call ModifyState(false) after changing zoom
This doesn't need to trigger an autosave (which is what passing true would do), but the state should still be modified.

Unfortunately this doesn't seem to enable saving -- probably because no undo state is being pushed.  That's something to consider for the future.
2019-04-15 16:52:25 +01:00
Pokechu22
88d26329bc Bug 1820: save top note for note tracks 2019-04-15 16:52:24 +01:00
Pokechu22
53823270e0 Rework note tracks to store top and bottom notes instead of pitch height
This simplifies a bunch of other work -- in particular zooming so that specific notes are visible, and keeping the same notes on screen when resizing the track.

Also included is a fix to YToIPitch to make it use mPitchHeight directly -- this solves some roundoff errors, which previously caused inaccurate results on some zoom levels.
2019-04-15 16:52:24 +01:00
Pokechu22
8e8d838a08 Refactor note track rendering/position height code into own class
This will make later refactoring easier, and also fixes some const-correctness issues
2019-04-15 16:52:23 +01:00
James Crook
3b312f9d1b Add ComponentInterface to PrefsPanel
This is so that we can have plug-in prefs panels loaded from a dll, and introspect what we have.
2019-04-15 13:26:18 +01:00
Виталий Кирсанов
ca0bf0c12d Fixed library names for FLAC and portmidi 2019-04-14 21:29:35 +01:00
James Crook
5c361631c6 Fix Show/Hide Tags Dialog, for export multiple by Labels.
Previously I only fixed the export by tracks case.
Oh beware, duplicated code.
2019-04-13 14:27:25 +01:00
David Bailes
78cb554883 2092: Linux: first typed char lost when using dialog for label name
Fix: Move the insertion point to the end of the text after the dialog is shown.
2019-04-13 12:38:41 +01:00
James Crook
adf243568b Fix Show/Hide Tags dialog for export multiple too.
Previously it was not remembering a change in show/hide.
2019-04-13 12:25:31 +01:00
Henric Jungheim
e2b5dade4c Store project dependencies in Audacity.vcxproj, not audacity.sln. 2019-04-12 13:50:36 -07:00
James Crook
f66e753c54 Add option in metadata editor to not show it again
Also added help button to it
Also fixed Bug 2038 - Metadata editor opens without grid focus
2019-04-12 20:18:17 +01:00
James Crook
f4aa75f4fc Make TypeToCreateLabel off by default.
Following a lengthen discussion on the quality list, consensus is this option
should always have been off by default.  The main argument for not changing
it now was that 'on' is what users have come to expect.
2019-04-12 17:33:31 +01:00
Vitaliy Kirsanov
5e2a426cb3 CMakeLists.txt for portmixer and portaudio
The support of ALSA, OSS and CoreAudio was added to portaudio. portmixer
was updated accordingly.
2019-04-11 22:35:21 +01:00
James Crook
0c38b9f41e Update names in scripts. 2019-04-11 22:26:17 +01:00
James Crook
c0235f7f70 Fix mute and solo not working from scripts 2019-04-11 21:19:41 +01:00
Pokechu22
ba9b081751 Fix bug 2053
Simply adding the FixScrollbars refresh code is sufficient.
2019-04-11 20:04:53 +01:00
Steve Daulton
0ced210801 Nyquist plug-in installer tweaks 2019-04-11 15:00:58 +01:00
James Crook
afde1a8e91 Build mod-script-pipe when building solution. 2019-04-11 10:06:49 +01:00
James Crook
947a977256 Build windows installer with mod-script-pipe. 2019-04-10 20:05:24 +01:00
James Crook
9890b12619 Add README.txt for piped-work and results. 2019-04-10 16:28:50 +01:00
James Crook
0f256df79d Make scripted tests portable (e.g. to mac) 2019-04-10 15:04:09 +01:00
James Crook
5739c579fa Script changes to include the 'arrange' script. 2019-04-09 22:34:02 +01:00
James Crook
0188b7570d Do script changes for Pull request #271 that were previously missed. 2019-04-09 21:55:22 +01:00
James Crook
731c056e7e Bug 2068 - Mac: misleading error message when importing M4A without FFmpeg installed 2019-04-09 15:53:58 +01:00
James Crook
0923a5d744 Tweaks to names on tracks
This makes them opaque when the track height is low.
It also improves on painting with low stereo tracks, where the name previously was clipped.
2019-04-08 18:10:53 +01:00
Paul Licameli
98dd7263fe Translated prompts in EffectsPrefs...
... replicating some i18n-hint comments from elsewhere, for slightly
different msgids that have & in them
2019-04-07 20:41:25 -04:00
Paul Licameli
bd6fbb45cc Fix some i18n-hint comments 2019-04-07 20:40:08 -04:00
Paul Licameli
21eaaeac99 Consistent cap. of config paths in EffectsPrefs with family names...
... That is:  EffectsPrefs.cpp is consistent with overrides of
EffectDefinitionInterface::GetFamily for each of the six (separately).

(The six aren't consistent with each other.  LADSPA really is an acronym, but
Vamp is not.)

See VAMPEFFECTS_FAMILY, which isn't up-cased, and LADSPAEFFECTS_FAMILY,
which is.  We change EffectsPrefs.cpp to match those constants.

See also where PluginManager.cpp uses
PluginDescriptor::GetEffectFamily, which is where the preferences written by
EffectsPrefs.cpp are used.

Does this break compatibility of old config files?  No, because lookup of
keys in wxConfigFile is case-insensitive, as determined by the preprocessor
constant wxCONFIG_CASE_SENSITIVE, which is false for all of our platforms.

So, no real effects here, but the consistency of string literals is reassuring.

It would be better, though, not to rely on such a coincidence of literals.
2019-04-07 17:30:12 -04:00
Paul Licameli
1649e3669e Rename EnumSetting -> ChoiceSetting, EncodedEnumSetting -> EnumSetting 2019-04-07 16:42:11 -04:00
Paul Licameli
d6c8352c9b Fix a comment 2019-04-07 16:32:53 -04:00
Paul Licameli
6e431d94a1 Fix Mac build 2019-04-07 15:38:40 -04:00
James Crook
9ba023d607 Bug 1965 - Enh: Track name overlay display for all track types
OK now that we have translucent name background.  Includes logic to move first label down to avoid the name (if it is shown).
2019-04-06 22:26:59 +01:00
James Crook
81dd2befab Translucent background to track name (all platforms)
wxDC can draw translucently, if given a bitmap.  So we now create a suitable bitmap, using a wxGraphicsContext.
2019-04-06 17:16:54 +01:00
Paul Licameli
2463a6683b Comments about "/FileFormats/FFmpegUseLPC" 2019-04-06 11:07:28 -04:00
Paul Licameli
f4622af749 Fix error in config path in FFmpeg options dialog...
... Two controls were associated with the same path,
"/FileFormats/FFmpegMaxPredOrder"

But where the paths are read in ExportFFmpeg.cpp, that was read in one place,
and in another, "/FileFormats/FFmpegMaxPartOrder" was read, and that path was
not written anywhere.

The intention was surely that the other spin control should have used that path.
2019-04-06 10:41:03 -04:00
James Crook
691666bf79 Bug 2051 - Shortcut for Edit>Clip>Boundaries>Split (Ctrl+i) should be in the Standard shortcut set 2019-04-06 14:34:04 +01:00
James Crook
ae431bc5bd Build LAME on macOS 2019-04-06 12:05:43 +01:00
James Crook
084ad070b2 Show config.h in MSVC project 2019-04-06 10:54:06 +01:00
James Crook
e1d693abed Fix Clang complaints in LAME (needed for macOS compilation) 2019-04-06 10:15:42 +01:00
Paul Licameli
3bc95e610a Remove vacuous write of /GUI/EnvdBRange ...
... but see code comments about the apparent original intent, to update some
other preference instead; which I don't do, thus preserving present behavior
2019-04-05 21:09:57 -04:00
Paul Licameli
f3e8620756 Consistent default for /SamplingRate/DefaultProjectSampleRate 2019-04-05 17:43:22 -04:00
Vitaliy Kirsanov
67386e7799 Connected libFLAC with libogg 2019-04-05 22:11:50 +01:00
Paul Licameli
617c1d8785 Make default value of /Effects/GroupBy match the dialog choice 2019-04-04 17:42:01 -04:00
Paul Licameli
ba467b3632 some override 2019-04-04 12:35:17 -04:00