1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 16:49:41 +02:00

3225 Commits

Author SHA1 Message Date
Leland Lucius
d344ff8f88 Updating new Xcode project
This provides additional improvements and updates for building
Audacity using Xcode 5.1 or above.

The whole configure/makefile system is no longer used during
normal builds.  During library additions/updates it used to
regenerated the headers in mac/config.
2015-04-21 16:59:01 -05:00
Paul-Licameli
da2b9e3233 Fix other assertion violations in wave clip cache code, and add comments.
Duplicate the assertion for the case of spectrograms.
2015-04-21 17:52:29 -04:00
Paul-Licameli
a3f564bf98 Merge branch 'master' into scrubbing 2015-04-21 17:50:59 -04:00
Steve Daulton
e45afbaa76 A few minor fixes to Quick-Play (now hyphenated for consistency). 2015-04-21 20:46:52 +01:00
Paul-Licameli
8bcec00e65 Rewrite Sequence::GetWaveDisplay
That is the function that computes the heights of dark and pale blue lines in
the waveform display.

It's not simple but now the flow of control is less strange and it is better
commented.

This doesn't fix or enhance anything, but it might find use later, such as in
a project to adapt the resolution of the display in reponse to slow scrolling
updates.
2015-04-21 11:11:20 -04:00
Steve Daulton
0b67e1c5ac Allow Quick Play to be disabled (requested by Gale Andrews). 2015-04-21 00:51:23 +01:00
yam
05295c1caa Adding Xcode project files for use with Xcode 5.1 and above. 2015-04-20 13:39:34 -05:00
Leland Lucius
c7aa6d684e Change the NVDA trickery to the "\a" (audible bell) escape sequence. 2015-04-20 12:33:03 -05:00
Leland Lucius
06209756b6 Apply same NVDA trickery to the effect button panel 2015-04-20 10:05:53 -05:00
Leland Lucius
41b8850f72 Correct and simplify format definition 2015-04-20 07:56:09 -05:00
Leland Lucius
1c31dfdce1 Resolve gettext message
src/prefs/ModulePrefs.cpp:99: warning: Empty msgid.  It is reserved by GNU gettext:
                                       gettext("") returns the header entry with
                                       meta information, not the empty string.
2015-04-20 01:43:07 -05:00
Leland Lucius
d8c8ee3076 Added "WAV (Microsoft) float PCM" to the file types 2015-04-19 23:24:29 -05:00
Leland Lucius
6212da3e2d Keep NVDA from saying "panel panel" when dialogs get focus
This will need to be tested with JAWS and Window Eyes.
2015-04-19 23:03:54 -05:00
Leland Lucius
0f3358248b Nyquist prompt updates
Based on Robert's and Steve's suggestions, I removed the "Clear"
button, replaced FileDialog usage with wxFileDialog to restore
extension suffixing, and escaped newlines in save settings so
that chains work properly.

I also attempted to locate the issue where code isn't being
parsed and made a couple of changes, but I doubt I got it.
2015-04-19 22:24:04 -05:00
Steve Daulton
79b7caac07 Fix play from click position when Quick Play Loop in selection. 2015-04-20 04:06:07 +01:00
Leland Lucius
5e27710495 All generator effects now use common Duration handling
(Also updated a few windows IDs to fit the pattern)
2015-04-19 19:48:04 -05:00
Steve Daulton
cc0b4789a8 Apply Paul L's suggestion to simplify compilation. 2015-04-19 23:36:22 +01:00
Leland Lucius
793c42dcce Add audio device info to support data 2015-04-19 05:40:29 -05:00
Leland Lucius
af0fa93d8e Add "Save" capability to Audio Device Info dialog 2015-04-19 05:39:47 -05:00
Leland Lucius
9b8d538037 Open the the autosave file in binary mode
Will prevent line ends from throwing of the number of bytes read.
2015-04-19 03:41:16 -05:00
Leland Lucius
6688f122cf Fix for bug #887 2015-04-19 02:05:17 -05:00
Leland Lucius
c9ca940e43 Add new file to Mac build 2015-04-19 00:41:24 -05:00
Leland Lucius
0c0650588a Allow recovery of 2.1.0 or earlier autosave files 2015-04-19 00:36:55 -05:00
Leland Lucius
5d415e69d5 Add command line option to decode autosave files
On Windows, you use:

/d <filename>
--decode <filename>

On Linux and OSX, you use:

-d <filename>
--decode <filename>

Note that the input (binary) file IS replaced with the decoded
XML file.
2015-04-18 23:59:52 -05:00
Leland Lucius
7db0eebd65 Pull in the right library in wx3 builds 2015-04-18 23:39:49 -05:00
Leland Lucius
6609fbbfdd Really use the right indices this time 2015-04-18 23:11:22 -05:00
Leland Lucius
7a0aa43a82 Convert all wxTRANSLATE() to XO()
XO() can be used anywhere a string must be extracted for translation
but not automatically translated at runtime.
2015-04-18 23:03:49 -05:00
Leland Lucius
f0ab978dbf Use the right array index 2015-04-18 16:58:25 -05:00
Paul-Licameli
96585b3377 Add empty ViewInfo.cpp 2015-04-18 16:49:21 -04:00
Leland Lucius
4e26fb654c Fix up Tone and Chirp based on Steve's feedback
Thanks Steve
2015-04-18 12:34:35 -05:00
James Crook
9fc9963236 Fix problem where HistoryWindow was not updating.
We now also call the UpdateDisplay function when we show the window.
2015-04-18 18:16:19 +01:00
Leland Lucius
923827966c Add debug report (crash report) to Help menu
This captures crashes on Windows along with the stack backtrace.

On Linux (fedora 21 at least), the necessary function to enable
capture is not included in the system wx libs.  But, a self built
version works fine and capture the backtrace, so I'm assuming
other distros will probably work as well.

On OSX, the crashes are caught, but it does not include the
backtrace.

But, really, the backtraces aren't all that useful in a release
build since we don't ship with debug symbols and optimization
plays havoc with proper backtraces anyway.

The real benefit will be for the support folks as they can now
get consistent info from user by asking the to generate a report
from the "Help->Generate Support Data" menu item.
2015-04-18 05:06:28 -05:00
Leland Lucius
2a9690b902 Add new Diags* files to Mac build 2015-04-18 04:51:56 -05:00
James Crook
6e7d866d3c Struct initialiser changed to use = for gcc 4.0 compatibility 2015-04-18 09:22:46 +01:00
Leland Lucius
835000d916 Should fix the invalid initial duration for generator effects 2015-04-17 22:52:34 -05:00
Leland Lucius
80c3705e7c Add new files and fix Linux includes 2015-04-17 17:37:28 -05:00
Paul-Licameli
836b3c6d6b Merge: Fix assertion violations in wave clip cache code. 2015-04-17 18:29:40 -04:00
Paul-Licameli
a37d6c56be Fix assertion violations in wave clip cache code. 2015-04-17 18:26:54 -04:00
Paul-Licameli
4323ad60f6 Merge branch 'master' into scrubbing 2015-04-17 18:25:52 -04:00
Paul-Licameli
46e937e3ea Fix assertion violations from the previous change. 2015-04-17 18:21:43 -04:00
James Crook
dbe92940ad Added another missing #include "Diags.h" (UndoManager.cpp) 2015-04-17 23:11:20 +01:00
Leland Lucius
3e1fbcd5ec Additional autosave speed improvement and 1 fix
This changes the autosave XML file to a binary representation
during writing to speed up autosave processing.  A lot of the
time used during autosave is a result of having to convert and
print all of the values to the XML file.

Writing the same information, but in binary format, reduces
all of that to just the bare essentials and the actual write
I/O.

During recovery, the binary file is read and converted to
the real xML representation and processing happens as it
did before.

It is a noticeable difference with very long or many tracks.

The included fix has to do with append recording.

Say you have 3 tracks and you want to append recorded audio
to the middle track.  Sometime later Audacity crashes and
upon recovery, the recorded audio is actually appended to
the third track, not the second one.

This fixes that by adding an "autosaveid" to each track as
it is written to the autosave file.  The same ID is written
to the recording recovery appends to the autosave file.

Then, during recovery, the IDs are matched up and the audio
gets appended to the proper track.

These autosaveid attributes are only present in the autosave
file and not in saved project files.
2015-04-17 16:58:26 -05:00
James Crook
6a84f657c3 Added missing #include "Diags.h" 2015-04-17 22:53:58 +01:00
James Crook
13f8333873 First use of Diags.
Refined the Diags Macros, and used to actually monitor timings.
2015-04-17 22:43:14 +01:00
James Crook
fafe3f105a Added DIAG macros for countdown logging
Also for tracking memory use and for timing.
2015-04-17 22:43:14 +01:00
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