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

8747 Commits

Author SHA1 Message Date
Paul Licameli
9e2937feed Punch and roll recording
menu item, tentative shortcut Shift+D ("do-over")
  Add to recording preferences for pre-roll and crossfade
  Define EXPERIMENTAL flag
  Recording options allow crossfade data for start of recording
  Stop playback of pre-rolled tracks at the right time
  Allow for preRoll in start-stream options
2018-06-01 04:31:40 -04:00
Paul Licameli
2892dfd956 menu item, tentative shortcut Shift+D ("do-over") 2018-06-01 04:29:01 -04:00
Paul Licameli
de230254bd Add to recording preferences for pre-roll and crossfade 2018-06-01 04:29:00 -04:00
Paul Licameli
11fd3dcc9d Define EXPERIMENTAL flag 2018-06-01 04:28:59 -04:00
Paul Licameli
a0256e935c Recording options allow crossfade data for start of recording 2018-06-01 04:28:58 -04:00
Paul Licameli
f9cd5595d5 Stop playback of pre-rolled tracks at the right time 2018-06-01 04:28:57 -04:00
Paul Licameli
35c60ac96d Allow for preRoll in start-stream options 2018-06-01 04:28:55 -04:00
Paul Licameli
20f3f76e2f Correct limit of record duration when track rate differs from input 2018-06-01 04:28:54 -04:00
James Crook
965a74cd9e
Merge pull request #211 from diddledan/patch-1
Use TMPDIR environment variable, if present.
2018-05-31 17:39:59 +01:00
Paul Licameli
35a97e09e7 Group arguments to StartStream, and a bit less of #ifdef for MIDI play...
... And pull choice of tracks and options out of DoRecord
2018-05-29 00:22:12 -04:00
Paul Licameli
0635f8802b Fix build 2018-05-28 16:48:04 -04:00
Paul Licameli
49899a561d fix build 2018-05-28 16:30:12 -04:00
Paul Licameli
f355320e5d Don't lose the fractional part of latency prefernce setting! 2018-05-28 16:13:45 -04:00
Paul Licameli
f52b53fc50 Factor ControlToolBar::OnRecord...
... pulling out the function that chooses existing tracks for append-record,
and a function that does the recording once tracks are chosen.
2018-05-28 15:59:20 -04:00
Paul Licameli
c7f97e7730 Bug1880: don't quantize DBL_MAX resulting in a negative value. 2018-05-28 13:28:08 -04:00
Steve Daulton
0fc4c2de7a Remove trailing comma 2018-05-28 12:44:45 +01:00
Paul Licameli
f32073412b Fix precision of right edge of punch-in when not overdubbing too 2018-05-26 23:59:21 -04:00
Paul Licameli
f0ebf5823a Better punch-in precision: quantize start and end times for rate...
... So that samples of a new track align precisely with the old track, at least
in case the old track has the same rate and starts exactly at 0, which is
the likely usual case.
2018-05-26 23:46:41 -04:00
Paul Licameli
a3abacd55d Adjust for latency as you record, don't wait till after stopping...
... Adjust whenever recording, regardless whether there is any overdub
playback too.

May adjust by discarding samples when the Track Shift after Record preference
is negative (as by default); or, by inserting silence into the start of the
recording, when that preference is positive, though that may be less useful.

Perhaps the preference control should no longer be called "Track Shift after
Record."
2018-05-25 07:21:46 -04:00
Paul Licameli
bbe54f47ca a null check would have fixed crash at 902e1ab0a1 when recording...
... a mono channel into the left side of a stereo track; crash was in drawing;

other code now prevents such recording, but that prevention might be revised
again.
2018-05-24 18:38:04 -04:00
Paul Licameli
0887d6d01e When recording into region selection, stop it precisely 2018-05-24 17:05:44 -04:00
Paul Licameli
92d27c618b Fixes for new ring buffers...
... A problem was that play button did not pop back up when one of the
tracks was mute.

Also no longer need mac-specific conditional compilation.
2018-05-24 16:35:12 -04:00
Paul Licameli
3e680852fd Update audacity.pot 2018-05-24 14:46:04 -04:00
Steve Daulton
ae908a9bc4 Update Mac Build.txt (fixes bug 1878)
wxWidgets must be cloned with --recurse-submodules.
2018-05-24 13:20:53 +01:00
Steve Daulton
126ded7d9a Update credits
Added section for website and graphics.
2018-05-24 13:20:53 +01:00
Steve Daulton
fdf165d133 Clarify comment 2018-05-24 13:20:53 +01:00
Steve Daulton
a2765d013f Remove duplicate project pointer 2018-05-24 13:20:53 +01:00
Steve Daulton
41315dac95 Make comment clearer 2018-05-24 13:20:53 +01:00
Paul Licameli
b3bf321893 Rewrite threshold control of Truncate Silence as text box, not a choice 2018-05-23 23:56:30 -04:00
David Bailes
a22be24ae3 Bug 1863: Windows crash when resampling in WASAPI
Problem: soxr_process doesn't like being called with length of buffers equal to zero.

Fix: don't call it, when this is the case.
2018-05-22 11:34:12 +01:00
Paul Licameli
318967f00d Revert "If record overrides append because of channel count, record unlimited"
This reverts commit b36482d6494063e6799f793ed5e6b9b696125b1a.
2018-05-17 21:22:31 -04:00
Paul Licameli
1269fff8e1 Ignore the time track during overdub recording. 2018-05-17 15:49:53 -04:00
David Bailes
4221549ec9 NumericTextCtrl: fix minor bug with NVDA screen reader
Problem: with using up/down arrow NVDA reads the updated field twice.

Fix: remove generation of an unnecessary event.
2018-05-16 14:10:53 +01:00
Steve Daulton
32212d7fcd Dissallow OD loading for lossless copy projects
Opening a backup copy project converts to a normal project. We copy in
the dependencies when we convert to ensure that the project remains
complete and self contained (which is not guaranteed with OD loading).
2018-05-15 20:29:51 +01:00
Steve Daulton
77a65a8a97 Replace AIFF preset with WAV 24 on Windows + Linux
and just add WAV 24-bit on Mac.
2018-05-15 13:39:24 +01:00
Steve Daulton
24ac6a2d2b Fix crash if invalid [Export] format 2018-05-15 10:29:41 +01:00
Steve Daulton
419ecd411d Save lossless copy of project 2018-05-14 21:09:07 +01:00
Steve Daulton
30f1fa58a1 Disallow copy of project to overwrite 2018-05-13 18:27:08 +01:00
Steve Daulton
4ff319b0e9 Merge branch 'master' of github.com:SteveDaulton/audacity 2018-05-13 15:06:42 +01:00
Steve Daulton
522660c9cc Fix layout of dependency warning 2018-05-11 21:38:11 +01:00
Steve Daulton
87439b5761 Prompt before overwriting another project 2018-05-11 21:36:10 +01:00
David Bailes
a13e7191c4 Add an option to use a dialog to enter the name of a new label
Motivation:
1. The text boxes in the label track are not fully accessible for users of screen readers, and I don't think that they can be made to be fully accessible using the accessibility API used by wxWidgets. When such an edit box becomes the focus, this is not announced, and for NVDA users typed characters are not echoed.

2. Provides a work around for bugs 1778 (cannot type diacritics into text label), and 1804 (Windows: Labels do not accept IME (Chinese/Japanese) input).

Fix: Provide an option for a dialog for entering the name. The text box in the dialog is accessible for screen readers. On windows the text box receives wm_keydown and wm_char messages and so is a work around for bug 1804. Being a standard text box, it will presumably be a work around for bug 1778.

1. There is a new option in track behaviors: "Use dialog for the name of new label", which is off by default.

2. When using the commands "Add label at selection" and "Add label at playback position", when the dialog closes, focus is returned to the track which was the focus before the dialog opened. I think this is more convenient for users of screen readers.
2018-05-11 10:23:48 +01:00
Paul Licameli
a06e845b2f Usage of the fuller C++11 library, now that we can on Mac 2018-05-10 01:32:09 -04:00
Paul Licameli
c20aefc10f Save, later rethrow exceptions caught in callbacks from C libraries 2018-05-10 01:20:36 -04:00
Paul Licameli
ac373502a9 Don't need AudacityException::Move, use std::exception_ptr 2018-05-10 00:56:37 -04:00
Paul Licameli
f7515c90d8 Now I can revert my partial reversion of b56059a 2018-05-10 00:56:37 -04:00
Paul Licameli
83421e8b17 Replicated C++11 library things no longer needed 2018-05-10 00:56:37 -04:00
Paul Licameli
a9e7a7e5d5 movable_ptr(_with_deleter) -> std::unique_ptr 2018-05-10 00:56:37 -04:00
Paul Licameli
b8a8712ba0 make_movable -> std::make_unique 2018-05-10 00:56:36 -04:00
Paul Licameli
7a0475e39f Remove most uses of AUDACITY_OLD_STD 2018-05-10 00:56:36 -04:00