1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-05 19:21:59 +01:00
Commit Graph

167 Commits

Author SHA1 Message Date
james.k.crook@gmail.com
8d96bacbf1 Back to old default of dB for meters. 2014-10-26 16:48:35 +00:00
lllucius
1eeb4d979a The fabled realtime effects...
I've made it where you can enable and disable via experimentals:

EXPERIMENTAL_REALTIME_EFFECTS
EXPERIMENTAL_EFFECTS_RACK

You will notice that, as of now, the only effects currently set up for
realtime are VSTs.  Now that this is in, I will start converting the
rest.

As I start to convert the effects, the astute of you may notice that
they no longer directly access tracks or any "internal" Audacity
objects.  This isolates the effects from changes in Audacity and makes
it much easier to add new ones.

Anyway, all 3 platforms can now display VST effects in graphical mode.
Yes, that means Linux too.  There are quite a few VSTs for Linux if
you search for them.

The so-called "rack" definitely needs some discussion, work, and attention
from someone much better at graphics than me.  I'm not really sure it should
stay in as-is.  I'd originally planned for it to be simply a utility window
where you can store your (preconfigured) favorite effects.  It should probably
revert back to that idea.

You may notice that this DOES include the API work I did.  The realtime effects
were too tied to it and I didn't want to redo the whole thing.  As I mentioned
elsewhere, the API stuff may or may not be very future proof.

So, let the critter complaints commence.  I absolute KNOW there will be some.
(I know I'll be hearing from the Linux peeps pretty darn quickly.  ;-))
2014-10-26 03:24:10 +00:00
james.k.crook@gmail.com
023a2e3849 Simpler version of centering preferences on app.
Simplifies r13489
2014-10-25 16:45:26 +00:00
james.k.crook@gmail.com
99bebceb8c Preferences now centered on app rather than centered on toolbar. 2014-10-25 16:38:06 +00:00
james.k.crook@gmail.com
09c5ffe8f1 Possible fix for position of OnPreferences Dialog. 2014-10-24 22:34:47 +00:00
james.k.crook@gmail.com
d8d5a714de Meters now linear by default.
Done following on from comments and +1's on the wiki page about the meters.
2014-10-24 21:17:55 +00:00
james.k.crook@gmail.com
fbbab2ce1b Now have three varieties of the Meter Toolbar.
We have separate record and play meters.  The original kind of meter is now called a combined meter.  I've kept it because it can be useful when undocked if you do want both meters.  I've also fixed it so that if made very narrow the meters stack vertically just as they already did horizontally.
2014-10-24 16:42:46 +00:00
lllucius@gmail.com
1b993ccd08 Patch provided by Rob (RPM) to resolve many of the wx3 format string assertions
He wanted to help so I asked if he wanted to track them down.  He agreed and
found more than I probably would have.  And he said there were more, but the
rest were questionable and since he works on Windows, wasn't able to actually
test.

I give a few of the ones he did find a go and they do indeed get rid of the
assertions.

(Basically, a 64-bit/32-bit issue, easily resolved with a typecast.)
2014-10-19 03:08:10 +00:00
james.k.crook@gmail.com
fec5c20c65 Fix warning.
Warning was about deleting an incomplete type.  Needed definition of class Ruler.
2014-10-18 21:18:28 +00:00
lllucius
c512822138 Additional changes for wx3
These are mostly for getting it to build on Linux, but I've
also created new configs in Visual Studio to make it easier
to switch between wx2 and wx3.

For Linux, you have to tell configure where to find the wx3
version of the wx-config script and, since some distros build
wxWidgets v3 against GTK+ v3, you may also need to enable
gtk3 with something like:

./configure --enable-gtk3 WX_CONFIG=/usr/bin/wx-config-3.0

On Windows, I've added "wx3-Debug" and "wx3-Release" to the
existing "Debug" and "Release" configurations.

They depend on you having your WXWIN environment variable
pointing to your wx2 directory and a new WXWIN3 environment
variable pointing to your wx3 directory.  For instance, I
have:

WXWIN=C:\Users\yam\Documents\wxWidgets-2.8.13
WXWIN3=C:\Users\yam\Documents\wxWidgets-3.0.2

Doing this allows you to switch freely among the 4 configurations
without having to get out of Visual Studio and monkey around with
the environment.

The project files will also add the location of the wxWidgets DLLs
to the PATH when running Audacity from within Visual Studio.  They
add %WXWIN%\lib\vc_dll or %WXWIN3%\lib\vc_dll at the beginning
of the PATH variable as appropriate.

I expect that once we convert to wx3 we'll just drop back down to
the normal Debug and Release configurations, but this should make
switching between wx2 and wx3 much easier during the transition.
2014-10-16 16:18:04 +00:00
james.k.crook@gmail.com
a82940197d Comments, and cleaned up a piece of dead code. 2014-10-10 19:47:58 +00:00
james.k.crook@gmail.com
9d74c49721 Fixed warning about different definitions of the same symbol. 2014-10-10 15:41:18 +00:00
james.k.crook@gmail.com
221474e37a Fixed bugs with MultiDialog. Fixed Bug with prompting about modules.
Previously MultiDialog attempted to centre on parent dialog, but there was a NULL parent.  Now the application top window is used. Dialog shows centred, for example when there are missing block files.  If the top window is a WX_STAY_ON_TOP, we move our dialog to the left, as otherwise it would be partially hidden.

Previously Audacity would ask about enabling a module whilst the splash screen was showing.  For some as yet undetermined reason the MultiDialog and Splash Screen are incompatible.  Possibly it's related to doing a ShowModal before a full application exists.  The not ideal workaround is to now delay showing the splash screen until after the modules have been loaded.
2014-10-10 15:36:51 +00:00
lllucius
532272370c Stupid Leland needs to build on other plats and not assume he got it right. 2014-10-08 13:44:44 +00:00
lllucius@gmail.com
77ac0e403b Fix the bad rendering of text on OSX
The problem was because I added double buffering to reduce
flicker on Windows.  But, OSX already does its own buffering
and adding more causes text to be rendered incorrectly.

This happened a long time ago on the track panel and when
Bill gave the screenshot, my aging brain slowly remembered
the cause.
2014-10-07 23:23:40 +00:00
lllucius
08a3c2672c 2nd try at getting the TimeTextControl font correct. 2014-10-07 21:27:55 +00:00
lllucius
6fd448d1be Fix incorrect font setting introduced in r13403
https://code.google.com/p/audacity/source/detail?r=13403
2014-10-07 18:26:50 +00:00
lllucius
bdcefb4850 Preliminary changes for wxWidgets 3.0.1
We can't go to 3.0.1 yet as there are still build issues on
Linux and OSX.  You can get Windows to build, but there's
still some display issues.

These changes should work with wxWidgets 2.8.12 as well, so
we can take our time to get things working properly before
switching over.
2014-10-06 08:10:50 +00:00
james.k.crook@gmail.com
f5e593cc4c Paul L's new SelectedRegion class replacing use of t0 and t1. Also LabelTrack.h no longer in TrackPanel.h includes.
This change is believed to be a direct refactoring that does not change functionality.  It paves the way for more complex kinds of selection, such as selections involving frequency as well as time.  It also reduces risk of left and right edges being swapped in future code using SelectedRegion, as the default is to swap on assignment if needed.
2014-10-05 17:10:09 +00:00
lllucius
6ce364f2d2 Get rid of flicker when drawing the peak/rms meter. 2014-10-04 22:50:51 +00:00
james.k.crook@gmail.com
2c76f78760 Meter options now in horizontal layout, so reducing wasted white space. 2014-10-04 14:50:13 +00:00
lllucius
96417b912e Made the original peak/rms meter design selectable as suggested by Gale.
It can be selected in the meter preferences.
2014-10-04 09:47:48 +00:00
lllucius
62e3467b7d Meter display changes as suggested by Peter, Steve, and Bill
Adds a transition from green to yellow starting at -12 db
or (0.50 for linear) and ending at -6 (or .75).  A transition
to red then occors to the end of the meter.

Meter preferences have been added and most of the context
menu items have been moved there.

In addition, you may now click the playback meter to reset
the peak level indicator instead of having to click the
record meter.
2014-10-03 06:15:29 +00:00
martynshaw99
375feaee52 Reverting behaviour of 'help' links/buttons with an anchor (#) in them, so that they go to an online place that works (as in 2.0.5).
The use of an anchor in local files does not work in a number of OSs.
2014-09-04 00:02:12 +00:00
martynshaw99
4c6bdd3865 Getting closer to mw2html behaviour - cunning RegEx expression due to David B. 2014-08-28 22:55:19 +00:00
martynshaw99
dfe26ec6e5 Getting closer to mw2html behaviour - replace escaped chars. Thanks to Steve and David. 2014-08-28 22:35:08 +00:00
martynshaw99
74763375fc The last of Steve's set of 'essential' patches for 2.0.6, committed as a result of code review and others saying it is OK, rather than full testing.
There are other patches od Steve's awaiting testing.
2014-08-28 00:24:31 +00:00
martynshaw99
07f1c22c38 Steve's patch committed, for the quick release of 2.0.6, but noting my concerns here that it does not mirror what mw2html.py does and a pointer to a better solution may be stuff like
while( (p=releasePageName.Find(wxT("__"))) != wxNOT_FOUND )
      {
         wxString left = releasePageName.Left(p);
         wxString right = releasePageName.Mid(p+2);
         releasePageName =  left + wxT("_") + right;
      }
2014-08-27 00:43:32 +00:00
martynshaw99
85080b6d83 Steve's patch, modified by Richard, to sort out the modality of the help window, fixes bug 747. 2014-08-26 22:53:11 +00:00
martynshaw99
9156ebab72 Fourth of a series of patches from Steve and Richard to fix delivering local and remote help pages. This bit didn't work anyway since "Quick_Help" had already been translated into lower-case (I think). 2014-08-26 00:40:09 +00:00
martynshaw99
6f2c161317 Third of a series of patches from Steve and Richard to fix delivering local and remote help pages. (Second one not committed as it was just a wording change) 2014-08-25 23:46:50 +00:00
martynshaw99
d628de846b First of a series of patches from Steve and Richard to fix delivering local and remote help pages. 2014-08-25 23:28:09 +00:00
james.k.crook@gmail.com
fc7d961294 Highlight active AButtons when hover over, not just the toggle buttons. Fixes issue for small and large buttons. Paul L's patch. No impact on manual. Not tracked in Bugzilla. 2014-08-19 13:45:51 +00:00
james.k.crook@gmail.com
4912d49721 Paul L's fix for Bug 684 - Timeline loop play persists after Stop or SPACE 2014-08-16 20:18:21 +00:00
v.audacity
d906d5c788 modified version of David Bailes's patch for Bug 710 - Keyboard Preferences: don't match single characters in modifiers in Key View search 2014-08-01 19:58:47 +00:00
RichardAsh1981@gmail.com
3f49828d37 Standardise on working oof Recording and Playback rather than Input and Output throughout Audacity. Remove some very old junks strings at the same time. 2014-07-21 21:37:53 +00:00
RichardAsh1981@gmail.com
18fdb53da8 add support for #anchors within pages to help link code 2014-06-25 10:12:15 +00:00
lllucius
7f55060d07 Fix for http://bugzilla.audacityteam.org/show_bug.cgi?id=733
To heck with valgrind.  :-)
2014-06-12 23:25:15 +00:00
stevethefiddle@gmail.com
2b3214049a Comment to replace ANSWER-ME in ErrorDialog. 2014-06-12 18:29:09 +00:00
RichardAsh1981@gmail.com
894b955ac5 Add a utility overload to open a page from the manual without worrying what it is called (hopefully) in the various copies of the manual 2014-06-09 19:55:14 +00:00
RichardAsh1981@gmail.com
fc3a7558ae re-organise the Help System functions into a class as static methods for future utility 2014-06-09 18:42:19 +00:00
RichardAsh1981@gmail.com
59b8cdeaa8 separate out Help system functions into their own source file (pending some extra ones) and change the required includes to accomodate this. As a result, some error class definitions have to move from .cpp file to .h file. 2014-06-06 21:34:36 +00:00
benjamin.drung@gmail.com
277932dccb Remove trailing spaces. 2014-06-03 20:30:19 +00:00
lllucius@gmail.com
d50f893864 Fixes some minor issues reported by valgrind. 2014-05-27 02:02:59 +00:00
james.k.crook@gmail.com
30e6a3dec4 Removed some per-file memory allocation debugging that is not needed (and generates warnings) now that we do it from AudacityHeaders.h 2014-01-13 21:21:14 +00:00
martynshaw99
afe1f36522 Steve's patch for bug 681 "New number input validation breaks several Nyquist plug-ins". It looks sensible and has only a limited scope. 2013-12-31 00:19:52 +00:00
v.audacity
fc6e4a4cba Fix some compiler warnings. 2013-12-13 01:24:47 +00:00
RichardAsh1981@gmail.com
e4f9578d3b fix some potential integer overflows with very long clips - not complete but Steve's testing indicates it probably helps 2013-12-11 22:36:07 +00:00
martynshaw99
a866701d7e Add some more precision to the ruler in LinearDBFormat mode, and display it. This is not a complete fix, but is some way towards it. 2013-12-06 00:51:49 +00:00
v.audacity
bf2bc01b64 Steve's patch for http://bugzilla.audacityteam.org/show_bug.cgi?id=687
Changes in AudacityProject::SaveAs() warning dialogs, per 'Save Project warning' discussion on audacity-quality, plus some further changes of my own.

Similar changes for 'Save Compressed Project'.

Added Cancel button to both warnings, so user can opt out immediately, rather than have to wait another dialog. 


Added wxMessageBox's best 'warning' icon to our WarningDialog constructor, so it shows in title bar. It's low-rez (32x32), but all that's available with wxWidgets 2.8.12. Easy to remove if too ugly.
2013-11-25 04:59:07 +00:00