1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 15:49:36 +02:00

225 Commits

Author SHA1 Message Date
Paul Licameli
f9cd5595d5 Stop playback of pre-rolled tracks at the right time 2018-06-01 04:28:57 -04: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
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
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
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
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
1c751fd863 Revert "Change procedure to choose append-record tracks once again..."
This reverts commit bbcd924371326692d849480895dfa83171b17515.
2018-04-09 22:33:03 -04:00
Paul Licameli
bbcd924371 Change procedure to choose append-record tracks once again...
... Allow recording stereo into non-adjacent mono tracks, if they are selected.

Prefer the earliest-starting set of tracks in the track list, among either
selected tracks, or else among all tracks.

Therefore if selection contains a mono, a stereo, and a mono in that order,
the two monos may be chosen to record new stereo.
2018-04-09 22:12:50 -04:00
Paul Licameli
8de9c53e9e Allow again recording of stereo into two adjacent mono tracks 2018-04-08 17:41:27 -04:00
Paul Licameli
5fe3c1bdd0 Append-Rec: Prefer first, not last, track with correct # of channels 2018-04-08 16:37:40 -04:00
Paul Licameli
b36482d649 If record overrides append because of channel count, record unlimited 2018-04-07 23:37:51 -04:00
Paul Licameli
9fcccd32ac Rewrite append-record onto only the proper number of channels 2018-04-07 23:32:23 -04:00
James Crook
af54ac9cf6 Don't record a stereo track into a mono track
Or more precisely, don't do append-record, if doing so would lose a channel - e.g. if there is only a mono track selected and recording is set to stereo.
2018-04-05 11:53:58 +01:00
James Crook
76f72f0a3b Don't record a mono track into a stereo track. 2018-04-04 22:36:07 +01:00
James Crook
35127c44b7 Bug 1548 - Newly recorded tracks do not acquire focus 2018-03-24 16:05:10 +00:00
Paul Licameli
9b7ccc4dff Use TranslatedInternalString for tips of toolbar buttons 2018-03-15 20:13:19 -04:00
Steve Daulton
1ef4d73629 bug 1839 - Consistent recording behavior
Same behavior whether there is playback or not.
2018-02-28 21:20:06 +00:00
Paul Licameli
aa72cae61b Follow wxWidgets argument conventions for other window factories 2018-02-21 19:21:05 -05:00
Paul Licameli
c0f2782695 Fix interaction of recording and undo...
... in case you also do things, concurrent with the recording, that affect the
undo stack, either by pushing it (such as by changing the gain on one of the
playing tracks, or making a label) or by "Modifying state" without a new undo
item (such as when you change its size or mute or solo).
2018-02-21 19:21:00 -05:00
Paul Licameli
57ce726a25 Rename Meter as MeterPanel, and some DOxygen 2018-02-21 17:50:28 -05:00
Paul Licameli
950898dcb9 Revert "Bug 1823: Better interaction of undo and record..."
This reverts commit 1e8aba968da56374d74fb5589caa56caf5fe1283, reversing
changes made to 6e75ae58ac56d9c94af5a4ce97951f627808473a.
2018-01-14 21:27:41 -05:00
Paul Licameli
91f5446eb1 Fix interaction of recording and undo...
... in case you also do things, concurrent with the recording, that affect the
undo stack, either by pushing it (such as by changing the gain on one of the
playing tracks, or making a label) or by "Modifying state" without a new undo
item (such as when you change its size or mute or solo).
2018-01-14 19:33:39 -05:00
Paul Licameli
c975de8c5e More use of shared_ptr to Track, for safety...
... This even makes it possible to remove the prohibition of undo and redo
during transport, not that we want to though.  Playback and recording will
continue, using track objects that might not be in the current project.
2018-01-10 20:05:11 -05:00
Paul Licameli
6967925e48 Redo CommandManager::DescribeCommandsAndShortcuts with pairs...
... Later we may make other types for the members of that pair.
2018-01-08 14:14:22 -05:00
James Crook
5e761f2245 Fix Record button pops up when clicked and it is down. 2018-01-06 16:15:04 +00:00
James Crook
41ac4cd47a Add Hover-Over-Down State for Button
Previously hovering over a down button made no difference.
Also tweaked the appearance of hover-over thumbs on dark theme sliders.
Also tweaked hover images and colours generally.

Classic retains the old style.
Hi Contrast does not distinguish between hover-up and hover-down.
2017-12-14 14:39:56 +00:00
James Crook
0bae8c3a90 Bug 1774 - Recording does not honor waveform color
New clip now takes colour from WaveTrack, and new WaveTrack takes colour of the WaveTrack its clips will be appended onto.
2017-11-07 14:26:32 +00:00
Steve Daulton
7314de6a3d Fix bug 1740
Help on Internet dialog non-responsive when invoked by
help button on "Error opening sound device..."dialog
2017-09-06 13:19:42 +01:00
Steve Daulton
e238845ddb Fix bug 1733
Update Help button link.
2017-09-04 11:19:47 +01:00
James Crook
ce9938787c Use alpha or released or local manual for "help on selection".
Previously this was hard coded to use the online alphamanual.
Some other help-on-errors paths were hardcoded to use the online manual, and did not use local help even if available, so these were changed too.

Also two naming changes in the code:
ShowHelpDialog() became ShowHelp() because it typically shows the help in your browser, only showing the help in a dialog under certain circumstances.
The helpURL parameter became helpPage since it is usually a page name that is then elaborated into a url.
The Link() function became InnerLink().

Some careful http -> https changes made too.
2017-08-25 13:59:16 +01:00
Paul Licameli
1ef235c21c Bug1661: Default audio track name not being translated...
... Problem was introduced in 2.1.3 at:
8a6edf3623662b6cb3eb90e794c34e44c283c33d
2017-07-21 17:29:52 -04:00
Paul Licameli
57e040070c Bug1627: Fix infinite recursion of error dialogs, failing start scrub 2017-07-21 01:39:13 -04:00
Paul Licameli
a5e2854b73 Omit Note tracks from scrubbing and seeking 2017-07-16 21:09:28 -04:00
Pokechu22
19b11c09fe Fix cut preview with note tracks 2017-07-16 11:07:29 -04:00
Paul Licameli
8bf3791edf TrackList constructed only by factory function, to avoid more trouble 2017-07-14 21:55:32 -04:00
James Crook
e3a822c34d Always Record on a new Track Pref.
Changed pref name, now unticked by default.
2017-07-11 15:07:10 +01:00
James Crook
739422ba70 Add split line before new recording on same track. 2017-07-06 16:20:48 +01:00
James Crook
30ec8a1c90 Overdub off by default only in DA. 2017-06-26 19:44:39 +01:00
James Crook
869de7d6f4 Overdub off by default.
Confused many new users in the past.  Experienced users can be expected to find it in preferences (or on menu) and turn it on, if they need it.
2017-06-26 15:31:11 +01:00
Paul Licameli
43d1c774bf Improve focus rectangle on Mac Transport toolbar buttons, all themes 2017-06-16 18:07:43 -04:00
Steve Daulton
d6a9011960 "Error opening sound device" as Error dialog
ShowErrorDialog could do with some polish, but it supports linking
a help button to the manual.
2017-05-20 17:11:02 +01:00
James Crook
97cdd31948 Bug 1541 - Residual: Wrong commands shown in tooltip
I assumed that we had more than one binding to the same command.  In fact the commands are different and I picked the wrong one.
2017-05-15 22:36:53 +01:00
James Crook
4be26f5bae Bug 1552 - Record button greyed out while playback paused 2017-05-14 20:21:16 +01:00
James Crook
b196c7de8d Bug 1541 - Skip to Start/End buttons don't show that they respect SHIFT usage 2017-05-14 18:44:53 +01:00
James Crook
a53e3010f8 Tooltips for unmodified Play and Record. 2017-05-03 09:34:30 +01:00
James Crook
cd69bf074f Add shortcut hint to shift-record tooltip. 2017-05-01 20:00:04 +01:00
James Crook
9d501f69d6 Add preference for Record being to new track. 2017-05-01 12:04:27 +01:00