1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-06 14:52:34 +02:00

9115 Commits

Author SHA1 Message Date
James Crook
ac5b743dd2 Bug 1944 - Many "scriptables" link to non-existent pages or incorrect target pages 2018-08-24 19:18:04 +01:00
James Crook
66df5786de Make AUD-DO return a cons.
This is simple parsing of the response from AUD-DO.  The first part is the string message, the second 1 or NIL depending on if scripting reported OK or not.  Note that illegal scripting options often don't produce a 'Failed' but are silently substituted with valid ones.
2018-08-24 18:45:09 +01:00
James Crook
9b84deb43b Bug 1946 - Nyquist ;type tool effects crash if returning labels from Nyquist 2018-08-24 16:53:34 +01:00
Steve Daulton
e1ae057806 Disable experimental loudness normalizing 2018-08-22 20:45:50 +01:00
Steve Daulton
4ec1393c27 Error if Nyquist Prompt requires track election 2018-08-21 16:28:59 +01:00
Steve Daulton
94b3bf3c22 Remove superfluous log message 2018-08-21 14:09:56 +01:00
Steve Daulton
b9ec43433e Bug 1934 residual
Allow generate type plug-ins spawned from Nyquist Prompt to create
a new track if none selected.

This commit also fixes preview in generators when there is no selection.
2018-08-21 14:02:48 +01:00
Paul Licameli
06b5d2e945 Bug1932 followup: Times, not sample counts, in scrubbing options...
... because the correct rate is not known where options are constructed
2018-08-20 20:44:10 -04:00
David Bailes
ecb1cbdf3a Play at speed slider: fix page up/down increments
These increments were accidentally changed by the commit: 5e10ec0def1e1b6d2f0729bcb74edd0b95ca1a34

Changed back to original values.
2018-08-20 15:08:32 +01:00
David Bailes
805d7023eb TimeDialog: minor accessibility change
Since the move to wxWidgets 3.1.1, NVDA now reads the name of a wxStaticBox. So in this dialog, there is no longer the need for the accessibility name of the NumericTextCtrl to duplicate the name of the wxStaticBox.
2018-08-20 11:36:15 +01:00
James Crook
0df8c7e3a0 Wording: "Latency compensation" 2018-08-19 21:32:49 +01:00
James Crook
3bb48a21df Bug 1932 - (Residual) Fix stopping behavior with Play-At-Speed.
1. The rate actually used by the sound card now sets the stopping sample number.
2. The tolerance in the 'stop position' is additionally trimmed to 20 samples.
2018-08-19 10:37:43 +01:00
James Crook
aaad7dd08d Bug 1932 - Scrubbing (and Play-at-speed) with WASAPI host (MSW only) or very short buffer preference (on Mac also) is very clicketty 2018-08-18 20:35:18 +01:00
Paul Licameli
26f72b110c Fix the hiccup at the start of scrub or play at speed...
... We need to start the polling of mouse state before starting the audio
stream, and not "nudge" AudioThread, so that AudioThread primes the ring
buffer correctly, not inserting some silence.

This requires yields to timer events in AudioIO::StartStream.
2018-08-16 21:21:44 -04:00
Paul Licameli
6fa5c93b8e Fix typo in comment 2018-08-15 20:20:47 -04:00
Steve Daulton
5be7f7db0b White space changes
The Objective C++ syntax '[[' used in a couple of places (Mac only),
breaks the parser in kdevelop. As suggested by Paul, a space between the
brackets fixes the problem.
Also removed some trailing spaces.
2018-08-15 11:29:12 +01:00
David Bailes
18646a2668 Select Command dialog: minor focus fix
Problem: when the list first becomes focus, no item in the list is the focus.
2018-08-14 13:17:39 +01:00
James Crook
b2feab61a9 TrackPanelHasFocus commands now always available to Macros
Previously running a TrackPanelHasFocus effect from the Macros dialog could fail, because the menu item was disabled (because track panel did not have focus).
2018-08-13 16:52:13 +01:00
Steve Daulton
8eef6dc3ef Fix bug 1938
Nyquist / Adagio variable 'S' should have the value 0.25 in all but
legacy process and analyze effects.
2018-08-13 16:45:21 +01:00
Steve Daulton
0d9cd4b024 Fix bug 1937
';type tool' effects cannot return audio from Nyquist.
2018-08-13 14:28:33 +01:00
James Crook
3480f5aa3a Bug 1934 - Generate audio from Nyquist prompt crash
We now default to Effect (EffectTypeProcess), if no type was specified.
2018-08-13 12:29:31 +01:00
Steve Daulton
11da92d668 Allow capture retries if time since Rescan() < 10s
The time since Rescan() of recording device is the important factor,
not the "newness" of the project.
2018-08-13 00:33:38 +01:00
Paul Licameli
aeba34b152 Bug1930: should draw bottom channel when append-recording...
... Bug happened only when append-recording by pressing the toolbar button, not
by using a shortcut key; and the blank track did get drawn if you moused over
it or hid and showed the window.

Turns out TrackPanel::ProcessUIHandleResult did the needed update, which was
lacking otherwise.  Now TrackList::UpdatePendingTracks is called in another
place.
2018-08-12 19:28:24 -04:00
Paul Licameli
542adefac1 Bug1931: more precautions, higher level and more general...
... Do for release as was already done for click and drag:  hold a shared
pointer.

This will protect against reentrancy surprises as in this bug, where a
reference to the handle may be removed during one of the handle's own
methods.
2018-08-12 15:55:27 -04:00
Paul Licameli
328aa58966 Bug1933: commit 2c28af05e8be98aa9ab609823d1ff1d27fb needs null checks 2018-08-12 15:44:08 -04:00
Paul-Licameli
932734c89a Windows: don't crash if double-clicking on ruler during playback 2018-08-12 14:43:45 -04:00
Paul Licameli
04a69f0a4c Bug1931 -- Dbl-click ruler in Windows shouldn't violate assertion...
... This change isn't needed for Mac, but is harmless there.
2018-08-12 14:16:16 -04:00
Steve Daulton
835abd9be3 bug 1885 Linux: Allow retries when opening capture
On launch, Audacity scanning the sound system causes Pulse to grab
exclusive control of the audio device, causing the device to be
unavailable until Pulse times out and releases it.

If an attempt is made to start recording from the hardware device (hw:)
immediately after launch, PortAudio will time out before the device is
released. In this case we need to retry opening the capture stream.

(This also applies to monitoring).
2018-08-12 19:14:56 +01:00
Steve Daulton
1d22ca5789 Improve error message when capture stream fails
Rather than just guessing at the cause of the error, include the actual
error string from PortAudio.
2018-08-12 19:14:56 +01:00
Paul Licameli
90286acb6a Update some translations 2018-08-12 11:11:13 -04:00
A. Regnander
ea6e053f11 Update sv.po (#259)
* Update sv.po

Fixed a few typos, adjusted the ampersand for the "Extra" context menu, updated an old string, rewrote some strings

* Update sv.po
2018-08-12 11:01:57 -04:00
Paul Licameli
dc4ee28b18 msgmerge -U pl.po audacity.pot to normalize line breaks 2018-08-12 10:55:50 -04:00
Paul Licameli
4bbeb502e1 Updated pl.po -- Polish from Transifex 2018-08-12 10:54:18 -04:00
Paul Licameli
eb3fb01595 Fix one format directive in it.po 2018-08-12 10:40:18 -04:00
Valerio Bozzolan
3df5b04129 fix typos and fuzzys in it l10n 2018-08-12 10:39:20 -04:00
scootergrisen
dc603341ee Fix double space 2018-08-12 10:27:08 -04:00
jjimmyleo
263f4fe9f4 Update to Lithuanian language
I have noticed that the lithuanian language file has not been updated for ages and was only a few percent completed so I pushed the completion to about 50 percent. I'll fully complete it soon but just wanted to have half of it out there
2018-08-12 10:26:16 -04:00
Paul Licameli
506f6c3a2a Updated ko.po -- Korean from transifex, 90% complete 2018-08-12 10:04:40 -04:00
Alexandre Prokoudine
1ee2544a46 More fixes to ru.po 2018-08-12 09:53:42 -04:00
Alexandre Prokoudine
2b8b92210c Fix ru.po 2018-08-12 09:53:42 -04:00
Alexandre Prokoudine
3af1af5ecd Update ru.po 2018-08-12 09:53:42 -04:00
Paul Licameli
d55ca06db0 Remove unused member 2018-08-12 08:25:50 -04:00
James Crook
d59ed9026b Bug 1890 - Enh: Punch and Roll fails when splice point is at track end 2018-08-12 11:34:08 +01:00
Paul Licameli
3886113b91 More efficiency in TrackTimeUpdate 2018-08-11 20:37:23 -04:00
Paul Licameli
ce1ce688ff Try to clarify real time / track time distinction in comments...
... Rather than the confusing old terminology of "warped" time, meaning the
real time after accounting for time track, though that persists mostly in the
names of variables now mostly used only within PlaybackSchedule.

"Track" time refers to a position in a wave track, as indexed by the time
ruler.

"Real" time is indexed by the other scale of numbers drawn in the time track,
which is drawn on the screen with nonuniform spacing (so "warped" in that
sense), but it corresponds to uniform actual time.
2018-08-11 15:14:18 -04:00
Pokechu22
72b71bbe08 Use fixed play speed when note tracks are present
Scrubbing doesn't support note tracks, but time tracks do support it.
2018-08-11 18:23:15 +01:00
Paul Licameli
67b679b7d1 Supply missing #includes that Travis build needs 2018-08-11 12:46:27 -04:00
James Crook
ca694a1b22 Bug 1854 - Un-warned export file overwrite danger in 2.2.2 Chains and 2.3.0 MacrosWindow
Now we add a suffix of 001, 002 and so on up to 100.  Then fall back to prompting.
2018-08-11 12:54:24 +01:00
James Crook
3c0ee4d3c1 Change TrackPrefs Pinned/Unpinned display.
The pin and its position can be set directly from the ruler, which is always visible.  Displaying the pin/unpinned state and pin position is probably a bit like displaying the toolbar visibility states and positions in prefs - overload of settings that are easier set another way.  I've hidden them for now.  We should probably come up with a policy as to what prefs should be shown in prefs and what should not.
2018-08-11 11:42:31 +01:00
Paul Licameli
6126f2f626 Make a one-time dynamic check that atomic<double> doesn't use mutexes 2018-08-11 00:29:44 -04:00