1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 01:29:43 +02:00

3201 Commits

Author SHA1 Message Date
lllucius
0c447f3108 These generators don't support chains, so don't say they do 2015-01-01 10:34:48 +00:00
lllucius@gmail.com
02717da3a2 Fix for bug #808 2014-12-30 22:06:46 +00:00
stevethefiddle@gmail.com
3bf763194b Simplify misleading (and dangerous looking) initialisation. 2014-12-30 12:32:15 +00:00
lllucius
f5f3c5135f Make sure display refreshes after audio I/O stops
What looked simple in r13811 was not so simple apparently.
(We REALLY need a gAudioIO->IsCapturing())
2014-12-29 22:28:32 +00:00
lllucius
204aa37716 Only push state if recording, not when monitoring 2014-12-29 20:26:07 +00:00
lllucius
055b40c3f2 Fix wx3 build 2014-12-29 03:46:57 +00:00
lllucius
a30f8398aa Let's try narrower icons...
...to see if it removes enough "gray" space on the left
of the vertical meter to be bareable.
2014-12-28 23:48:01 +00:00
lllucius
e47bb71b08 Re-adds the ability to reset peaks while recording
It also disables the "start/stop monitoring" menu item 
while recording.  Not really necessary, but...
2014-12-28 21:06:58 +00:00
lllucius
4126acac6b Fixes missing recent peak value
And re-introduces double buffering on Windows.
2014-12-28 20:49:37 +00:00
lllucius
d1af695919 Fix non-UNICODE build 2014-12-28 20:02:00 +00:00
lllucius
2c90642806 Use existing meter toolbar values when upgrading to 2.1.0+ 2014-12-28 19:19:29 +00:00
stevethefiddle@gmail.com
e631691773 Update line numbers after "author" and "copyright" lines added. 2014-12-28 17:29:33 +00:00
stevethefiddle@gmail.com
b2b807710d Update line numbers after "author" and "copyright" lines added. 2014-12-28 16:55:15 +00:00
lllucius
51d69fc34b Partial fix for bug #807
The value in audacity.cfg is now prepended to the PATH
variable instead of appending it, so that directory
should be searched first.

It doesn't do fallback searches if the first attempt
fails.
2014-12-28 10:12:43 +00:00
lllucius
c305724561 Fix for bug #806
This was my bad.  I'd reset the number of capture channels
in AudioIO when the stream was stopped.  Unfortunately, two
methods depended on it being valid AFTER the stream had
stopped.

Those methods, TrackPanel::OnTimer and AudacityProjecT::OnCloseWindow,
were using it as an indicator if recording had been taking place
before they stopped the stream.  They then flushed the tracks, pushed
the state onto the undo stack and did some other post-recording tasks.

Turns out that the tracks are already flushed as part of the normal
AudioIO::StopStream processing, so that was redundant.

And, instead of duplicating the process, I've relocated most of each
methods processing to AudacityProject::OnAudioIOStopRecording.
2014-12-28 08:53:57 +00:00
lllucius
07fd731ec7 Make the dropdown arrow more visible 2014-12-28 06:40:23 +00:00
lllucius
97251986ed Set preferences dialog title based on meter type 2014-12-28 06:25:16 +00:00
lllucius
a3786dd78a Both input meters should track monitoring/capture status
So you can switch between the combined and independent 
recording meters at will.
2014-12-28 06:15:09 +00:00
lllucius
6a3ef5565c Independent meters with combined menu/icon
Many other changes including:

1)  Independent preferences
2)  Automatic layout separated from vertical/horizontal orientation choices 
3)  Combined menu and icon which saves space
4)  Click to start monitoring label no longer covers peak hold line completely
5)  Click to start monitoring label now adjusts label based on available width
6)  Click to start monitoring label now appears on vertical meter (not sure about this one...)
7)  Reduced width of vertical meter by moving icon to left of meters
8)  Includes a compact vertical meter now
9)  Clipping indicator is easier to see
10) All 1-off drawing issues resolved (99.9% sure...I challenge you to find some ;-))
11) Bevels around meters are no longer overlaid by meter updates
12) "Old" menu handling code removed
13) Though not perfect since some non-English characters are taller/wider than the meters, non-English text is now handled better
14) Clicking play meter resets indicators as appropriate
15) Indicators on meters now stick around until the meter is clicked
16) Ugly flashing while resizing is now gone
17) There should be NO magic numbers in the code.  Every +1 or -2 is explained in comments...
18) Size of L/R labels are recalculated now when preferences are updated (to pull in locale changes)
2014-12-28 03:18:00 +00:00
lllucius@gmail.com
7c1535fdfd Always assign an order if a bar is docked
Otherwise, the next time Audacity is started, it will
become undocked.
2014-12-26 09:21:35 +00:00
stevethefiddle@gmail.com
9f5f5e36ad Experimental Nyquist time/date property (idefed out). 2014-12-25 18:22:59 +00:00
stevethefiddle@gmail.com
5b8747c636 Fix - Nyquist requires that the decimal separator is a dot.
This should allow the new Spectral edit plugins to work on systems that use comma as the decimal separator.
Also removes the *F0* and *F1* definitions that are no longer used (superseded by lowHz and highHz properties).
2014-12-25 13:54:00 +00:00
lllucius@gmail.com
f00932a7ff Fix vertical meter not working on Mac...broken by r13802 2014-12-24 02:31:21 +00:00
lllucius@gmail.com
b942e8085f Fix display corruption on Mac when using compact meter 2014-12-22 21:16:51 +00:00
james.k.crook@gmail.com
cf1a7a849a Fixed problem where clicking on recording meter menu drop-down could also toggle monitoring on/off state.
The code was using Evt.LeftIsDown() so movement (with the mouse down) could toggle state.  Changed to only respond on the down event, i.e. Evt.LeftDown().
2014-12-22 15:10:14 +00:00
lllucius
7108b71f5d Fix for bug #804
But, I did leave in the disabling/enabling of the 
transcription toolbar play button when recording.
Thought that was a good idea.
2014-12-22 09:29:14 +00:00
lllucius
2c6401b564 Committing Paul's spectral nagivation commands patch
From:

http://audacity.238276.n2.nabble.com/Patch-spectral-peak-snapping-navigation-commands-td7565648.html
2014-12-22 08:03:41 +00:00
lllucius
65088dc4d2 Make sure the envelope buffer is completely set
This should correct at least one of the situations where
folks have complained about crackling when the first clip
of the first track does not start at zero.
2014-12-22 05:03:08 +00:00
stevethefiddle@gmail.com
86a71bd71b Partial fix for bug 802. 2014-12-21 18:57:25 +00:00
windinthew@gmail.com
00af97edd6 No need for a period in a tooltip that is not a complete sentence. 2014-12-20 23:27:41 +00:00
lllucius
6a0492e15d Default all toolbars to docked on reset and new config
Combined meter and spectral toolbars default to hidden.
2014-12-20 22:03:10 +00:00
lllucius@gmail.com
9404a28954 Fix missing toolbars at startup on Linux
The problem was that on Linux (not Windows or Mac) menu
events are generated when checking the menu items in
the toolbar menu.

Becuase of the recent changes I made and how the toolbars
are being shown (toggled) when the toolbar menu is checked,
they were simply being hidden.  Actually, the were being
shown and then hidden because of the toggle.

So, with this change I made exposing toolbars a bit more
deterministic.  The menus still use a toggle, but the 
ToolManager now shows or hides the bars explicitly during
setup, so the menu toggle issue is resolved.
2014-12-20 20:08:45 +00:00
lllucius@gmail.com
e2bced3a0a Start metering on left click...ignoring double click time 2014-12-20 20:03:04 +00:00
lllucius
e64019dcf6 Trying a checkbox to control enabled state 2014-12-20 18:22:44 +00:00
stevethefiddle@gmail.com
9a0d4b2364 Fix for Spectral Selection bar layout from David Bailes. 2014-12-20 15:39:35 +00:00
lllucius
4382a5c835 Replaces enable/disable images and a few other changes
Makes the tooltips display the action that is going to
be performed rather than a generic description.

Disables transport buttons when the effect dialog is
initially displayed if another project has using the 
audio device.
2014-12-20 00:13:33 +00:00
stevethefiddle@gmail.com
3e3701954a Fix - Spectral Selection Toolbar units. 2014-12-19 18:45:27 +00:00
lllucius@gmail.com
9a23598d3f Fix for Linux and Mac builds...
Tried to second guess the headers neads and failed.
2014-12-19 17:05:54 +00:00
lllucius
9bbc261321 Attempt #2 at taming the meter toolbars
It corrects several "multiple project" problems with the
meter toolbars and meters.

In addition, there was a "multiple project" issue where
the transport buttons didn't disable properly in the
non-active project.
2014-12-19 16:38:56 +00:00
stevethefiddle@gmail.com
5d526a8009 Fix - bandwidth may be zero. 2014-12-19 16:18:21 +00:00
lllucius
9fc254a627 Add missing button labels 2014-12-19 09:05:32 +00:00
lllucius
adeb0997e1 Replacing "power on/off" with "enable/disable" 2014-12-19 06:57:22 +00:00
lllucius
d978d99fde Part 2 of fix from r13782 and monitoring fix
This fixes the monitoring fix Bill described here:

http://audacity.238276.n2.nabble.com/First-go-at-the-meter-toolbars-committed-tp7566196p7566209.html
2014-12-18 08:00:18 +00:00
lllucius
64afdbb508 A couple of meter orientation fixes
1)  On startup if the capture meter is vertical and
    the playback meter is horizontal, capture meter
    would jump to horizontal if you start monitoring.

2)  To cut down on meter orientation weirdness, the
    orientation is now mirrored in both meters when
    it changes.

    If this is not a desired behavior then the only
    option would be to have separate config file
    settings for each meter.  That means that the
    orientation settings in meter preferences will
    correspond to that meter only.

    Let me know if this is what is wanted.
2014-12-18 07:48:33 +00:00
lllucius
49b332ebd3 Fix for very strange toolbar setup after removing audacity.cfg 2014-12-18 06:33:44 +00:00
lllucius
f5380be663 Fix cut/paste mishap...thanks Martyn 2014-12-18 05:51:38 +00:00
lllucius@gmail.com
b24fccfb17 Fix build on Linux and Mac 2014-12-17 19:31:58 +00:00
lllucius
02539ea792 Missed one in the last commit... 2014-12-17 19:22:23 +00:00
lllucius
fe42e881a5 First stab at taming the meter toolbars
This should correct at least a couple of the reported
issues.  And it also has some fixes in for multiple
project support.
2014-12-17 19:16:08 +00:00
stevethefiddle@gmail.com
4fe3f855eb Fix for clip/split issues with Nyquist plugins. (see also bug 7) 2014-12-17 05:02:13 +00:00