1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-07 15:22:34 +02:00

3180 Commits

Author SHA1 Message Date
Leland Lucius
5bd99f94cd Merge branch 'master' of https://github.com/lllucius/audacity
Conflicts:
	src/toolbars/ControlToolBar.cpp
2015-04-17 16:37:17 -05:00
Leland Lucius
69b044e321 Restore tracks if recording fails to start
During an append record, silence may need to be added to the
end of the existing track(s) to fill any gap between the end
and the common recording start time.

But, if the recording fails to start, this silence is left at
the ends of the tracks.

This change fixes that by making a copy of the tracks before
recording starts and restoring the tracks from that copy if
the start fails.
2015-04-17 16:35:48 -05:00
Leland Lucius
8ab7c271c9 Restore tracks if recording fails to start
During an append record, silence may need to be added to the
end of the existing track(s) to fill any gap between the end
and the common recording start time.

But, if the recording fails to start, this silence is left at
the ends of the tracks.

This change fixes that by making a copy of the tracks before
recording starts and restoring the tracks from that copy if
the start fails.
2015-04-17 16:31:01 -05:00
Leland Lucius
c38d863158 Update DtmfGen.cpp
Set correct default
2015-04-17 13:40:19 -05:00
Paul-Licameli
eb03098c9b Merge: Add user interface for scrubbing and Experimental.h switches
EXPERIMENTAL_SCRUBBING_BASIC enables middle-click-drag to scrub, or to seek
when shift is down.

EXPERIMENTAL_SCRUBBING_SMOOTH_SCROLL adds middle-double-click-drag to
scrub or (with SHIFT down) to seek while keeping the playhead at the midline
of the track display.

EXPERIMENTAL_SCRUBBING_SCROLL_WHEEL allows control wheel to vary the speed
limit, while scrubbing (not seeking).

All three are enabled in this commit.

Also notice the changes to status bar messages and the Mouse Preferences dialog.

Scrubbing works only in Select and Multi tools.
2015-04-17 14:14:21 -04:00
Paul-Licameli
10e35bb6bb Add user interface for scrubbing and Experimental.h switches
EXPERIMENTAL_SCRUBBING_BASIC enables middle-click-drag to scrub, or to seek
when shift is down.

EXPERIMENTAL_SCRUBBING_SMOOTH_SCROLL adds middle-double-click-drag to
scrub or (with SHIFT down) to seek while keeping the playhead at the midline
of the track display.

EXPERIMENTAL_SCRUBBING_SCROLL_WHEEL allows control wheel to vary the speed
limit, while scrubbing (not seeking).

All three are enabled in this commit.

Also notice the changes to status bar messages and the Mouse Preferences dialog.

Scrubbing works only in Select and Multi tools.
2015-04-17 14:09:35 -04:00
Paul-Licameli
f549e335f6 Merge branch 'master' into scrubbing 2015-04-17 14:05:07 -04:00
Steve Daulton
30c61f648d Merge remote-tracking branch 'upstream-audacity/master' into QuickPlay2 2015-04-17 17:58:48 +01:00
Steve Daulton
702d9d75e5 Timeline Quick Play bug fixes and enhancements 2015-04-17 17:52:13 +01:00
Paul-Licameli
c65570c465 Merge Fix display caching for waveforms and spectrograms so smooth scrolling works
This will matter if the smooth-scrolling version of scrubbing is enabled

The problem was accumulation of roundoff errors when deciding which pixel
column data to copy from old caches to new caches, when the number of samples
scrolled was not an integer multiple of samples per pixel (itself, not always
an integer)

Thus repeated scrolling by small amounts caused the wave display or spectrogram
to creep relative to the time ruler!
2015-04-17 11:38:53 -04:00
Paul-Licameli
cc2a26956a Fix display caching for waveforms and spectrograms so smooth scrolling works
This will matter if the smooth-scrolling version of scrubbing is enabled

The problem was accumulation of roundoff errors when deciding which pixel
column data to copy from old caches to new caches, when the number of samples
scrolled was not an integer multiple of samples per pixel (itself, not always
an integer)

Thus repeated scrolling by small amounts caused the wave display or spectrogram
to creep relative to the time ruler!
2015-04-17 11:12:47 -04:00
Paul-Licameli
187f9d3d54 Merge branch 'master' into scrubbing 2015-04-17 03:04:02 -04:00
Paul-Licameli
f49a94755d Merge branch 'scrubbing' -- preliminaries only, not the complete feature 2015-04-17 02:54:34 -04:00
Paul-Licameli
d988c3329f Support for scrubbing in playback engine, but unused 2015-04-17 02:35:06 -04:00
Paul-Licameli
5abfd25a34 Support backwards play, a requirement for scrubbing
Uncomment the line at the top of ControlToolBar::PlayPlayRegion to play
everything backwards and test it

It even works correctly with a time track
2015-04-17 02:25:52 -04:00
Paul-Licameli
2b85d0edb4 Preliminary function argument list changes and comments, for scrubbing project
In particular, use an options structure for AudioIO::StartStream to simplify
calls

ControlToolBar::PlayPlayRegion also takes that structure as an argument, and a
SelectedRegion instead of two times

And other changes
2015-04-17 02:25:39 -04:00
Paul-Licameli
21fd4ab374 Remove the unsuccessful scrubbing experiment of 2.0.6. 2015-04-17 02:25:26 -04:00
Leland Lucius
b453e2d8ea Merge pull request #34 from lllucius/builtin_effects
Migrating the remaining effects
2015-04-16 23:51:22 -05:00
Leland Lucius
8fbfa460c4 Migrating the remaining effects
This brings the builtin, LV2, and VAMP effects inline with the
Audio Units, LADSPA, and VST effects.  All effects now share
a common UI.

This gives all effects (though not implemented for all):

User and factory preset capability
Preset import/export capability
Shared or private configuration options

Builtin effects can now be migrated to RTP, depending on algorithm.
LV2 effects now support graphical interfaces if the plugin supplies one.
Nyquist prompt enhanced to provide some features of the Nyquist Workbench.

It may not look like it, but this was a LOT of work, so trust me, there
WILL be problems and everything effect related should be suspect.  Keep
a sharp eye (or two) open.
2015-04-16 23:36:28 -05:00
Leland Lucius
40e6bcc56a Merge pull request #33 from lllucius/clean_libsrc
Clean libsrc
2015-04-16 15:40:53 -05:00
Leland Lucius
a03d65ef4d Cleanup lib-src
Removing:

id3lib
libresample
libsamplerate
taglib
2015-04-16 14:41:41 -05:00
Steve Daulton
94fcb2a922 Update Experimental.h
Remove obsolete #define
2015-04-16 13:46:39 -05:00
Steve Daulton
ca25b45978 Update Nyquist.cpp
Remove earlier ifdef'd version of time/date property
2015-04-16 13:46:39 -05:00
Steve Daulton
9ad9f8543f Update Experimental.h
Remove obsolete #define
2015-04-14 20:59:24 +01:00
Steve Daulton
dbed4affe8 Update Nyquist.cpp
Remove earlier ifdef'd version of time/date property
2015-04-14 20:42:15 +01:00
Leland Lucius
35cbd1c017 Copy waflib into build directory to prevent python compiler
code from poluting source tree.
2015-04-14 11:17:37 -05:00
Steve Daulton
fa3d546cf8 Merge branch 'master' of github.com:audacity/audacity into nyquistPlus 2015-04-14 13:56:15 +01:00
Steve Daulton
d8d292edc7 Add time and date property list. 2015-04-14 13:50:51 +01:00
Paul-Licameli
ff06f33c70 Merge branch 'temp2' 2015-04-14 02:33:06 -04:00
Paul-Licameli
20c510084d I just can't win. Does THIS version make the Mac compiler happy too? 2015-04-14 02:32:02 -04:00
Leland Lucius
b05b3fbcea Fix for building on Fedora 21 2015-04-13 15:08:02 -05:00
Steve Daulton
862e960764 Update Import.cpp
Replace misleading warning when user attempts to import an AUP file.
2015-04-13 17:12:49 +01:00
Leland Lucius
ce0d8ddcab Update .travis.yml 2015-04-13 09:11:12 -05:00
James Crook
50b95646cf Merge pull request #32 from daavery/master
More wx3 changes
2015-04-13 10:14:16 +01:00
david avery
0319f6ea51 merging wx3 changes 2015-04-12 23:52:32 -06:00
Paul-Licameli
0bb643fcda remove unneeded macro 2015-04-12 22:30:47 -04:00
Paul-Licameli
f638c1504c Merge better fix for compiling NoiseReduction.cpp with wx3- configurations
Conflicts:
	src/effects/NoiseReduction.cpp
2015-04-12 22:24:43 -04:00
Paul-Licameli
4cb521923e Better fix for the compilation of NoiseReduction.cpp with wxWindows 3 2015-04-12 20:00:57 -04:00
James Crook
99416c628e WX3_STRING_FIX
A new macro that conditionally casts to wxString if in wx3.
2015-04-12 21:07:01 +01:00
Steve Daulton
a3ec006e3e bug683 initial commit 2015-04-12 18:04:58 +01:00
Paul-Licameli
797109d97f Merge ESC key aborts selection drag, restores time, frequency selection, selected tracks 2015-04-12 12:46:41 -04:00
Paul-Licameli
69729c2960 ESC key aborts selection drag, restores time, frequency selection, selected tracks 2015-04-12 12:39:11 -04:00
Paul-Licameli
9516112569 Merge remote-tracking branch 'audacity/master' into Escape-key 2015-04-12 12:19:20 -04:00
James Crook
09def90346 Merge: wx3.x fixes.
Dave Avery's wx3 fixes for Audacity, without the .sln/,vcxproj file updates that add the new target.  These changes are believed to be safe for wx2.8.12, wx3.0.x and wx3.1.0.
2015-04-12 16:04:47 +01:00
James Crook
2de9c7790d No ident by default.
Oops.  I committed the wrong version of this file.
2015-04-12 14:48:32 +01:00
James Crook
9d43c9175c Fix revision ident hyperlinking
It needed a LinkingHtmlWindow, not just a wxHtmlWindow.  It needed http, not https.  I also left an example string with comment in RevisionIdent.h
2015-04-12 14:26:24 +01:00
david avery
08c154b607 Merge remote-tracking branch 'upstream/master' 2015-04-12 07:12:54 -06:00
david avery
066e583883 Revert "update for wx 3.1.0 compatiblity - all changes are either wxCHECK_VERSION(3.0.0) wrapped or safe with wx 2.8 - wx 3.1"
This reverts commit 476a1f62c37a3aab19275230aa5a7806633fb705.
2015-04-12 07:07:50 -06:00
david avery
321d1b8f48 Revert "vcxproj wx 31 update"
This reverts commit ed567c373af6e46ca41f05465c259ac59c8c8215.
2015-04-12 07:06:05 -06:00
david avery
bc694a7310 Revert "small fix to audacity.vcxproj"
This reverts commit 388736fc83d0d086d4adb6429082287d7a0d839b.
2015-04-12 07:04:50 -06:00