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

2853 Commits

Author SHA1 Message Date
james.k.crook@gmail.com
a09d3717fa Added experimental LED style for meters. 2014-11-09 17:54:49 +00:00
james.k.crook@gmail.com
4acd4e3324 Remove previous code for invalidating bitmaps from device toolbar.
This caused a memory leak previously.
2014-11-09 17:15:06 +00:00
james.k.crook@gmail.com
9e931c806c Restored numbers on compact meter bars. 2014-11-09 17:03:11 +00:00
james.k.crook@gmail.com
24a636d6ea Tidy up of code. Moved preferences menu to end of meter. Fixed memory leaks on some bitmaps. 2014-11-09 16:44:07 +00:00
james.k.crook@gmail.com
8bd3891561 Criterion for meter single height or double height when docked made same as size for switching meter from compact to not. 2014-11-09 15:55:24 +00:00
james.k.crook@gmail.com
7ee3c47441 Added Space-Saver meters. These are now the default.
Fixed ResetToolbars so that SpectralSelectionBar is not shown after a reset.
2014-11-09 15:47:09 +00:00
lllucius
0880d1777a Renaming TimeTextCtrl to preserve history.
(If I got it right.  ;-))
2014-11-09 14:35:18 +00:00
james.k.crook@gmail.com
65a75fafb4 Project window height tweak, following feedback. 2014-11-09 10:38:41 +00:00
lllucius@gmail.com
78db267dcb Added new files to Mac project 2014-11-09 03:01:18 +00:00
james.k.crook@gmail.com
0d34f0835d Taller window to go with window being wider.
We're agreed we want a wider window by default.  Some experimenting still to do with what to show by default, how much space to use, and in what order.
2014-11-08 23:32:33 +00:00
james.k.crook@gmail.com
d85ab39bb6 Added new files. 2014-11-08 19:49:15 +00:00
james.k.crook@gmail.com
d9d193a1ea Wider Audacity and wider meters, now that we are agreed 1000px is fine for a minimum width.
This entailed rearranging the toolbar order.  I've set the width to 940px, but am tempted to take it all the way to 1000.
2014-11-08 18:51:00 +00:00
james.k.crook@gmail.com
cb7d090cd6 Added NumericTextCtrl.cpp and SpectralSelectionBar.cpp 2014-11-08 17:34:35 +00:00
james.k.crook@gmail.com
851e332b7b Disabled EXPERIMENTAL_MIDI_OUT (for linux builds) 2014-11-08 17:11:05 +00:00
james.k.crook@gmail.com
af8457dd1c From: martin@steghoefer.eu [PATCH 16/16] Fix runtime problem with wxWidgets 3.0: Segmentation fault due to events arriving before initialization.
"The dialogs LadspaEffectDialog, LV2EffectDialog and VampEffectDialog receive EVT_TEXT events before the dialog classes are properly initialized. To prevent this, a workaround was already in place, but was only active on Windows. This happens now on more platforms (including GTK). So activate it on the wxGTK with wx3.0, too."
2014-11-08 16:53:43 +00:00
james.k.crook@gmail.com
88ed83d967 Included missing changes to move from TimeTextCtrl to NumericTextCtrl in r13557. 2014-11-08 16:48:36 +00:00
james.k.crook@gmail.com
8a9987a0d9 From: martin@steghoefer.eu [PATCHES 02-15 of 15] Fix runtime problem with wxWidgets 3.0:
Correct string formatting for:
2/15  %d + enum => %d + int
3/15  %lld + int64_t => %lld + long long
4/15  %d + int64_t => %lld + long long
5/15  %d + double => %f + double
6/15  %d + int32_t => %d + int
7/15  %d + intptr_t => %p + void*
8/15  gint, guint
9/15  %d + long => %ld + long
10/15 %n + int => %d + int
11/15 %x + int => %x + unsigned int
12/15 %f + int => %d + int
13/15 %S + wxChar* => %s + wxChar*
14/15 %d + size_t => %d + int
15/15 %d + size_t => %lld + long long

"The functions wxString::Format, wxString::Printf (and others indirectly) have become stricter about parameter types that don't match (format specifier vs. function parameters). So the bugs (that were already present in audacity before) become visible in wx3.0 as error message dialogs. I've checked all occurrences of Printf, wxPrintf, PrintfV, Format, FormatV, wxLogDebug and wxLogError systematically and made the type match."

Note (9/15): In TrackPanel.cpp, ExportMP2.cpp and CompareAudioCommand.cpp this patch supersedes related change done in r13466 because the new solution requires fewer casts and therefore simplifies the code.

Note: Many .po files are affected, and we need to be very careful about this.  Incorrect "%d" and similar in translation files may lead to crashes in those languages (only).  This is something we should actually have been more careful about in the past.  We need to write a script to check that the "%d" and similar format specifiers match between English and translation.
2014-11-08 16:42:34 +00:00
lllucius@gmail.com
a9a0d576cc Always rebuild modules when "make modules" is used 2014-11-08 16:22:44 +00:00
james.k.crook@gmail.com
8305bfdb05 From: martin@steghoefer.eu [PATCH 01/15] Fix runtime problem with wxWidgets 3.0: Correct string formatting: wxLongLong -> %lld + long long
The functions wxString::Format, wxString::Printf (and others indirectly) have become stricter about parameter types that don't match (format specifier vs. function parameters). So the bugs (that were already present in audacity before) become visible in wx3.0 as error message dialogs. I've checked all occurrences of Printf, wxPrintf, PrintfV, Format, FormatV, wxLogDebug and wxLogError systematically and made the type match.

Note: In Shuttle.cpp this patch supersedes one related change done in r13466 because a wxLongLong_t can be bigger than an int and in a generic function like "TransferLongLong" this should be taken into account.
2014-11-08 16:06:28 +00:00
james.k.crook@gmail.com
96531ef766 Hide spectral selection bar by default. Tidy up folders within MSVC project. 2014-11-08 15:47:08 +00:00
james.k.crook@gmail.com
67d2b274e2 Frequency Selection toolbar from Paul Licameli.
Linux/Mac will need new files adding to project, SpectralSelectionBar.cpp, NumericTextCtrl.cpp.
2014-11-08 15:18:43 +00:00
james.k.crook@gmail.com
327bd905de Missing cursor xpms that I meant to add with the previous commit. 2014-11-08 14:35:19 +00:00
james.k.crook@gmail.com
6112a2a8c1 Spectral selection cursor and mode selection changes from Paul Licameli.
This also now shows a new green 'play cursor' when ctrl is held down on wave track, and shift being held down is signalled by a cursor change to finger-pointer too.

I also accidentally enabled EXPERIMENTAL_MIDI_OUT.  We may disable that in December for release.  Leaving it in for now.
2014-11-08 14:30:19 +00:00
lllucius@gmail.com
a4b3ece538 Remove path separator characters from plugin IDs when saving
The characters were a problem on Linux since wxFileConfig was
intepreting them and creating extra (unwanted) groups.

This change will suffice until/if this is converted to XML.
2014-11-07 11:00:12 +00:00
lllucius
7bb4b7c941 More effect changes to new format and realtime preview
Main effect host processing extended to support generate
effects and sync locked tracks.

Ladspa updated to utilize new generate support.

I'll address Analyze plugins when I get to the SBSMS ones.

Shared and private config changes are flushed immediately.

Cancel button restored to VST and Ladspa dialogs.  This
also restores the ESC button functionality.

Current parameters saved with Apply or Ok clicked...not
when Audacity ends.

Ladspa and VST effects with that reports no input and
no outputs are now ignored.

Ladspa effects providing a latency value is now handled.

Ladspa generator effects now use the TimeTextCtrl for
specifying duration.
2014-11-07 09:54:04 +00:00
james.k.crook@gmail.com
ed1338cdec Fix for Bug 781.
Fixes race condition on Audio thread state by using a mutex, so can play and use . (scrubbing forward) and SPACE (play/stop) safely.  Previously crashed.  Patch by Paul Licameli.
2014-11-06 17:48:26 +00:00
lllucius@gmail.com
94d97f87b8 Darn Windows developers! (Or the VS compiler is just too helpful.) 2014-11-06 04:58:40 +00:00
lllucius
3d8de17c22 Slightly better error handling during effect initialization
It at least detects load failures now.  ;-)
2014-11-05 20:41:29 +00:00
lllucius
b20cadd01f Forgot to change the WXWIN variable name back from my test one 2014-11-05 15:46:51 +00:00
lllucius
720422fc6e Change to wxWidgets project to help debug why it doesn't work for some 2014-11-05 15:42:46 +00:00
v.audacity
3927d4d3df another couple of minor changes, separating references 2014-11-05 08:39:36 +00:00
v.audacity
377c2168c1 Some wording simplifications.
Removed discussion of DirectSound, as there's no longer anything to do to enable it.
2014-11-05 07:42:08 +00:00
lllucius@gmail.com
4390de22ec Missed a file in r13544 2014-11-05 07:15:01 +00:00
lllucius@gmail.com
126152a756 Converts the ladspa effects to the new format and adds realtime support
This also (hopefully) corrects some additional problems in general 
realtime support.  Particular focus should be given to the handling
of various combinations of stereo, left channel mono, right channel
mono, and true mono as this has been a particularly troublesome
area.
2014-11-05 07:06:38 +00:00
lllucius
080b67ce9e Adds the ability to sort and group the Effects menus
Current options:

Publisher: name (the closest to what we have now)
Name (doesn't include the publisher, just a straigt up alpha sort
Publisher (creates submenus based on the publisher)
Type (creates submenus based on the type, VST, Nyquist, etc.)

And the Linux method of creating submenus based on number of items
is available to all and you can choose how menu you want per submenu.
I had to bring this back since I'd removed it when for the new effects
and I figured why limit it to only Linux...

Check it out in Preferences (effect page).

You'll also notice that the effects page is starting to talk about 
plugins.  That will progress further (baby steps) so bare with me
for just a bit more.
2014-11-04 01:38:13 +00:00
lllucius
0358e3eb09 Provide a much easier way of building wxWidgets
I've added another project to the Audacity solution called
wxWidgets-2.8.12.  And updated the compile.txt file with
instructions on how to build everything.

It automatically copies our setup.h and the fixed window.h
to the proper locations in the wx build tree.

It uses NMAKE to build wxWidgets using the makefile in the
wx tree.  (No, I did not try to duplicate the wx project
files. ;-))

Give it a try.  I think you'll be surprised how easy it will
be for new users.
2014-11-04 00:07:25 +00:00
lllucius
4583e91621 More fixes for the realtime stuff.
Nothing new added in this one.  Should fix the odd behavior
with a single track not really working correctly.
2014-11-03 22:47:55 +00:00
james.k.crook@gmail.com
17207fa39a Fix for http://bugzilla.audacityteam.org/show_bug.cgi?id=630 based on investigation by Gabriel Pato.
This is quite an involved piece of code, and to check it is OK it should be checked with mixtures of stereo and mono, looped and non looped, selected region, no selected region.  (I did, but no harm trying variations on that).  Real time effects, if enabled, could also potentially interact with this, and are subject to change in this area of code.
2014-11-03 21:53:30 +00:00
lllucius
cae6669275 Round 3 of realtime changes.
This gets meter type VST effects working again by extending the

The master now maintains his own internal buffers and sums (mixes) all
playing tracks into those buffers.  The buffers are then fed into the
VST effect that is presented to the user.  This allows the effect to
provide feedback to the user if it support it.  Such effects may display
meters or clipping indicators.

Several issues with treading have also been corrected (hopefully ;-)).
These showed up mostly on Linux, but could have happened on the others
as well.

The realtime support is no longer limited to 2 channels per logical
track.  Once support for more channels is added, this should be ready
for it.

The rack dialog can now be toggled via the edit toolbar button.  It
doesn't stay pressed because the closing of the dialog would have to
be communicated back to the toolbar.

As the rack is updated with new or removed effects or active state
changed, all effects in the active list were shutdown and all effects
in the updated list were initialized.  This now shuts down only the
effects no longer in the list and initializes only new ones.

The rack now uses wxBitmapButton instead of Audacity's AButton.  The
AButton has a timing issue that prevents it from being deleted while
processing the click event.  I looked into it, but gave up and switched
to the wxBitmapButton.  Unfortunately, there's a problem with the
wxBitmapButton as well...at least on my setup here.  Either the bitmaps
are being scaled or antialiased.  Will have to get feedback on this.

I finally figured out why some VSTs didn't seem to do anything in
realtime, at least in my case anyway.  I've installed a lot of demo
VSTs and while they work in "batch/offline" mode, some of them will
not work in realtime since vendors tend to remove automation as one
of the demo limitations.

More changes coming shortly...
2014-11-03 06:48:54 +00:00
v.audacity
4b1679cf87 incremental updates for building trunk on MSVS 2013 C++ 2014-11-03 02:44:49 +00:00
james.k.crook@gmail.com
f26746a5a2 Removed prompt about ESC being a toggle.
(a) Paul would like to indicate how to toggle the mode some other way.  (b) You only see the prompt if you are already in this mode.  (c) We may no longer use ESC in the future.
2014-11-02 21:57:14 +00:00
james.k.crook@gmail.com
7a60ed4309 Meter tooltip text changes. 2014-11-02 18:02:09 +00:00
james.k.crook@gmail.com
799230b882 Much easier to dock with an empty dock now.
Overlapping a dock is now enough to trigger docking.  Previously the top left corner had to be in the dock.
2014-11-02 17:39:50 +00:00
windinthew@gmail.com
a0ff55faa9 Add a span for removing phrases or sentences from Manual dump (tested). 2014-11-02 09:47:51 +00:00
james.k.crook@gmail.com
72038d0e06 Update to r13516 to also deal with horizontal movement. Toolbars should now dock where you undocked them from, if you don't move them.
Thanks to Gale for a very clear description of the issue, which I hadn't seen because of how I click/drag.
2014-11-01 23:26:52 +00:00
lllucius@gmail.com
1f4dda607e Stupid Lelend doesn't know how to commit anymore! One silly character! GRRRR! 2014-11-01 17:23:37 +00:00
james.k.crook@gmail.com
1a9e19f74a Commented out "ESC" in Mouse Prefs panel. Missed this one in https://code.google.com/p/audacity/source/detail?r=13498# 2014-11-01 17:07:52 +00:00
stevethefiddle@gmail.com
a1efa30d6a Move "About Audacity" to conventional place at bottom of Help menu. 2014-11-01 12:47:50 +00:00
lllucius@gmail.com
0a0416ac44 This'll teach me to do this during a datacenter consolidation
Forgot to run automake
2014-11-01 10:17:35 +00:00
lllucius@gmail.com
0381e727c4 Missed some files on previous commit 2014-11-01 09:49:02 +00:00