Henric Jungheim
3b39bdeca5
EffectDialog can't have a default constructor.
...
The base class does not have one.
2017-07-12 21:03:43 +01:00
Henric Jungheim
b3c0cbce29
wxToString() doesn't support "unsigned long long", so size_t doesn't work on Windows x64 builds.
2017-07-12 21:02:45 +01:00
Paul Licameli
9489fed04e
build fix
2017-07-10 10:26:10 -04:00
Paul Licameli
ada4b6307d
Pass more context information into drawing routines
2017-07-09 12:34:27 -04:00
Steve Daulton
3aab1939f0
Fix Nyquist message logging
...
Incorrect use of wxLogMessage can cause crash on Windows
if '%' present in debug string.
2017-07-07 14:12:26 +01:00
Steve Daulton
cbe554e10a
Ensure Nyquist Prompt initialises mName
2017-07-02 12:33:08 +01:00
Paul Licameli
68dfdab843
Store tracks in TrackList with shared_ptr ...
...
... but still use unique_ptr from track factories and importers.
2017-06-23 15:05:50 -04:00
Steve Daulton
a0eba9fb95
Set Nyquist default latency to 100 ms
...
The default for Standalone Nyquist is a very conservative
300 ms, but that's too long when using ALSA (see bug 570),
so use 100 ms default (same as Audacity).
2017-06-22 11:11:17 +01:00
Steve Daulton
1123ca293c
More tweaks to Nyquist debug output
2017-06-13 18:30:07 +01:00
Steve Daulton
b92866be71
Nyquist debug handling tweaks
2017-06-13 01:06:19 +01:00
James Crook
adc7312954
Auto-Select off by default.
...
I've implemented three states for what to do if no selection:
0 - Grey out (no longer used)
1 - Auto-select
2 - Give the warning message and try again.
2017-06-09 19:40:28 +01:00
Steve Daulton
9816cc8c7b
Reinstate FileNames::PlugInDir() for Linux
...
Reverting its removal in commit 1dd6b848c28.
Path added to Nyquist *SYSTEM-DIR* PLUG-IN property.
2017-06-04 18:01:49 +01:00
James Crook
ee9649eeb5
Simplify and extend automatic screenshotting
...
Now includes 2 'outlier' analysis effects, and has simpler code.
The tricky capture cases are now first in the list.
Vocorder and Chirp are now included. Comma was missing between them.
Now gives error report for an unknown command.
2017-06-04 16:54:53 +01:00
James Crook
acd55e95db
Capture screenshots of effects.
...
Only available if you define EXPERIMENTAL_DOCS_AUTOMATION.
This code is still a bit ropey and not suited for prime time, but fine for our own (careful) use in preparing the manual.
It captures most of the effects, generator and analyze built ins and nyquist dialogs. Use it by creating a track, making a selection and then clicking the 'All Effects' button in the screenshot tools. The dialogs will be captured to your user directory.
2017-06-03 15:59:51 +01:00
Steve Daulton
b6a1ca916b
Fix for bug 376
...
Documentation required.
2017-05-30 20:43:50 +01:00
Steve Daulton
73d2478d0b
Rename Nyquist plug-in debug button header
2017-05-30 20:43:50 +01:00
Steve Daulton
eea55f78ce
Make Nyquist debug window resizable
...
and name window to match the effect.
2017-05-25 23:16:41 +01:00
Steve Daulton
0303d281cc
Fix for bug 1650
...
Don't attempt to read plug-in file when spawned from Nyquist Prompt
because there isn't one.
2017-05-23 23:38:55 +01:00
Steve Daulton
04ba10a1c3
Add help button support for other Nyquist effects
2017-05-21 23:11:21 +01:00
Steve Daulton
e99b54e525
Add help button for Classic Filter
2017-05-21 12:04:15 +01:00
James Crook
d549dccefd
Bug 1649 - Freeze with Truncate Silence
2017-05-20 18:32:06 +01: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
Steve Daulton
bba5a8fef1
Add help button for Nyquist Prompt
2017-05-20 14:49:07 +01:00
Steve Daulton
e7a9c37745
Add help buttons for normal built-in effects
2017-05-20 14:49:07 +01:00
Steve Daulton
fd3d41e82f
Add help pages for shipped Nyquist effects
2017-05-20 14:49:07 +01:00
Steve Daulton
1dd6b848c2
Enable Help button for Nyquist effects
2017-05-20 14:49:07 +01:00
Steve Daulton
469120cebd
Enable help button for effects
2017-05-20 14:49:07 +01:00
Steve Daulton
e16f6f9221
Add small help button to Prefs pages
2017-05-14 19:02:36 +01:00
Paul Licameli
e66028de0a
Eliminate "Average RMS" redundancy in messages from Contrast...
...
... also gathered various formatting into some routines. Should we regularize
the messages further? That is, consistently put "dB" before or after "RMS"
Also added more i18n-hint comments
2017-05-12 16:06:18 -04:00
James Crook
09607c278d
Fix position of wxASSERTs
...
Moved one ASSERT that was in the wrong place and added a new one. This might give a little more information in mac debug builds about Bug 1636 - (Mac) Equalization: Crash selecting the "RIAA" or "Telephone" curves. This is NOT a fix.
2017-05-07 19:22:44 +01:00
Paul Licameli
e36070e671
Small fix to envelope operations in Equalization user interface
2017-05-07 11:12:07 -04:00
Paul Licameli
9c683a4f19
Rename some member functions of Envelope
2017-05-07 11:00:55 -04:00
Paul Licameli
4be19128c0
Better constructors for Envelope
2017-05-07 11:00:55 -04:00
Steve Daulton
ae24cab8fe
Remove 'TODO's for completed documentation
2017-05-01 18:51:35 +01:00
James Crook
2a043c0b35
Add settable ruler colouring.
2017-04-26 22:32:09 +01:00
Paul Licameli
972f7471de
Fix progress bar in Normalize
2017-04-24 11:38:28 -04:00
James Crook
028ed19d90
Sync with DarkAudacity
2017-04-02 23:07:13 +01:00
Paul Licameli
0d7250578d
Other methods of WaveTrack return void, will throw on failure instead
2017-03-31 18:26:52 -04:00
Paul Licameli
e1473dfe76
void return, not boolean success, from some Track virtual functions...
...
... The return codes were mostly ignored anyway, and exceptions will be thrown
instead.
It seems there was also confusion whether the return values of Track::Paste
and Track::SyncLockAdjust were to indicate success or indicate whether there
was any change. No matter now.
2017-03-31 18:26:52 -04:00
Paul Licameli
6b84dc1c1d
Factory methods will return non-NULL or throw
2017-03-31 18:14:29 -04:00
Paul Licameli
d1cbac4181
more finally, more const, remove unused, fix warnings
2017-03-31 17:47:18 -04:00
Steve Daulton
a9879bddf0
Refactor clipfix.ny to fix multiple problems
...
Basically a rewrite based on the original algorithm.
2017-03-31 00:01:18 +01:00
Steve Daulton
260044bcb0
Ffix wx assert in debug build
2017-03-22 20:26:39 +00:00
Paul Licameli
70d9e4bdc7
GetMinMax, GetRMS functions take a mayThrow argument, return numbers
2017-03-21 14:19:02 -04:00
Paul Licameli
22a12c6852
Exception safety in: some effects and generators...
...
... Those that directly call WaveTrack functions in their Process() routines,
which might throw exceptions for disk space exhaustion.
2017-03-21 14:11:25 -04:00
Paul Licameli
1fad6292a2
Exception safety in: overrides of ShowInterface
2017-03-21 14:11:24 -04:00
Paul Licameli
79c3bef2ce
Exception safety in: general effect performing functions
2017-03-21 14:11:24 -04:00
Paul Licameli
464828d88f
Exception safety in: batch processing
2017-03-21 14:11:21 -04:00
Paul Licameli
82dd7545c9
Reviewed uses of release(); prefer Destroy_ptr to hold window objects
2017-03-21 14:11:18 -04:00
Paul Licameli
d38dde213e
Revert "Fix compilation of EXPERIMENTAL_EFFECTS_RACK"
...
This reverts commit 9842d0742f95dafc9949c775506d2f96c4ac3256.
2017-03-19 10:51:00 -04:00