1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-29 15:09:30 +02:00

38 Commits

Author SHA1 Message Date
Paul Licameli
6ca89c28ff Remove naked new[] in: builtin effects 2017-03-17 17:52:49 -04:00
Paul Licameli
004df48438 Make Effect::mTracks private 2017-03-17 17:52:25 -04:00
Paul Licameli
ad04187a41 Change sampleCount arguments, variables, return values to size_t...
... whenever they really describe the size of a buffer that fits in memory, or
of a block file (which is never now more than a megabyte and so could be fit in
memory all at once), or a part thereof.
2016-09-15 21:03:17 -04:00
Paul Licameli
fbfee42a00 Remove another C style cast, and an unnecessary track kind test 2016-09-15 16:10:18 -04:00
Paul Licameli
67cec5ad83 Make many counts of tracks and channels unsigned...
... And in some places where a library uses signed types, assert that
the reported number is not negative.

What led me to this, is that there are many places where a size_t value for
an allocation is the product of a number of channels and some other number.
2016-09-07 10:11:41 -04:00
Paul Licameli
6fec00149b Remove some naked new amd delete in: Built-in Effects 2016-08-08 07:51:25 -04:00
Paul Licameli
4739f3e27b Compensate for wxW 3 tab navigation deficiencies on Mac...
... using char hook event handlers.  We don't need to go the extreme length
of patching wxWidgets source.
2016-06-25 19:14:05 -04:00
Paul Licameli
db137ddf76 wxWindow takes ownership of its wxAccessible, so we can use safenew. 2016-05-06 21:03:37 -04:00
Paul Licameli
df6a7c5464 More uses of safenew for classes we derive from wxWindow classes...
... Also removed some unnecessary deletes of widgets that are managed by parent
windows
2016-02-14 20:39:28 -05:00
David Bailes
13f13490e6 Fix for Bug 1267 - Accessibility: some panels used for graphics are included in tab traversal
Bug due to update and wxWidgets bug 1267.
Fix is to add the override of AcceptsFocusFromKeyboard().
2015-11-26 15:21:48 +00:00
Leland Lucius
1e195ecea6 Fix many wx3.1.0 assertions now to prevent double testing 2015-07-30 02:05:23 -05:00
Steve Daulton
df8ddde874 Added dB - linear amplitude conversion macros. 2015-07-24 21:59:34 +01:00
Paul Licameli
e70f91c64e Removed ShuttleGui.h from other headers 2015-07-19 12:31:03 -04:00
Leland Lucius
97ea29cd8c Fix missing frequency ruler on OSX 2015-05-19 02:38:12 -05:00
Steve Daulton
d9f3c432d4 Fix for bugs 943, 942, 941, 843 and 775.
Non-linear effects now process tracks before mixing.
This will be slower when multiple tracks are selected
but the preview should now match the applied effect.
SetLinearEffectFlag(true) allows linear effects to
preview more quickly when multiple tracks selected, by
pre-mixing selected tracks.
Simple generators like Tone and Noise may be marked as
'linear' so that they only preview a few seconds.
Generators that vary over time (such as Chirp) must use
the full duration that is set. As this currently
requires calculating the full duration, preview for
'non-linear' generators are not limited to the preview
length.
2015-05-15 12:51:51 +01:00
James Crook
ccc71c31b6 Some effect descriptions (for Doxygen). 2015-05-09 17:36:54 +01: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
8fbfa460c4 Migrating the remaining effects
This brings the builtin, LV2, and VAMP effects inline with the
Audio Units, LADSPA, and VST effects.  All effects now share
a common UI.

This gives all effects (though not implemented for all):

User and factory preset capability
Preset import/export capability
Shared or private configuration options

Builtin effects can now be migrated to RTP, depending on algorithm.
LV2 effects now support graphical interfaces if the plugin supplies one.
Nyquist prompt enhanced to provide some features of the Nyquist Workbench.

It may not look like it, but this was a LOT of work, so trust me, there
WILL be problems and everything effect related should be suspect.  Keep
a sharp eye (or two) open.
2015-04-16 23:36:28 -05:00
Leland Lucius
a03d65ef4d Cleanup lib-src
Removing:

id3lib
libresample
libsamplerate
taglib
2015-04-16 14:41:41 -05:00
martynshaw99
7f34f9c1ff More accurate control text (thanks to Steve).
Layout when required.
Remove commented out old code.
2014-01-28 23:36:52 +00:00
windinthew
ba68f731d0 Make the effect dialogue read "Classic Filters" too. 2014-01-09 14:45:24 +00:00
martynshaw99
3f1ebbe3dd Don't allow 'Classic Filters' to be applied to mixed sample-rate tracks, as we don't support that.
Fix a typo in the name of 'Classic Filters'.
Improve consistency layout as we switch filter types.
Remove a win warning in EQ.
Improve some code readability / change styles (please don't shoot me for that!).   OK, possibly increased the inconsistency.
2014-01-09 00:13:34 +00:00
windinthew
4dd1aa50ad Missed this - can't use "C" access key either on Linux - used for "Cancel". 2014-01-08 12:29:40 +00:00
windinthew
a2dbc06869 Shouldn't use "O" for access key as it's already used as the key for OK button on Linux. 2014-01-07 14:52:38 +00:00
martynshaw99
b6160db1b7 Rename 'Scinentific' filter as 'Classific Filters' 2014-01-07 01:25:16 +00:00
martynshaw99
287fc58951 Improved text for passband and stopband attenuations.
Improved (?) display of controls for different filter types.
The various variables that have 'ripple' in their names really need changing too.
2014-01-03 00:58:30 +00:00
martynshaw99
f4dbcb3188 A little tidying up, and fix a layout problem with the vertical Ruler.
Plus saving the prefs sooner.
2014-01-02 23:33:24 +00:00
martynshaw99
f33993316d David Bailes patch on bug 659. The layout of the controls is much better and the accessibility is much improved. 2013-11-27 00:11:55 +00:00
lllucius
51cb9d9196 Be a bit more careful about CRLF to LF changes. 2013-11-03 02:03:19 +00:00
lllucius
b4ba110811 Reverting r12850...hopefully
Never removed one before, but I'm pretty sure it is correct.
2013-11-03 01:54:50 +00:00
lllucius
f290b3d644 Converted CRLF to LF. 2013-11-01 23:22:33 +00:00
james.k.crook@gmail.com
41bfae1695 Separated conjoined strings to make translation easier. Added TODO comments. 2013-10-22 20:40:11 +00:00
james.k.crook@gmail.com
0e30a5e98c Replace two _()'s by wxT()'s for strings not to be translated. 2013-10-06 17:20:58 +00:00
james.k.crook@gmail.com
d774e6c141 Fixed Windows line endings in ScienceFilter.cpp. Disabled the effect via Experimental.h for the upcoming 2.0.5 release to allow more time for discussion and testing post release (following comments from Gale, Steven and David). 2013-10-02 21:30:56 +00:00
james.k.crook@gmail.com
d7286f53e3 #ifdef EXPERIMENTAL_SCIENCE_FILTERS created to make it easy to switch on or off this effect. Made it easier to internationalize Science Filter by adding internationalisation hints and converting some _()'s on numbers to wxT()'s. 2013-10-02 15:44:36 +00:00
james.k.crook@gmail.com
d3ff41e025 Fixed duplicate definition of SliderAx. Now it's only defined in Equalization and shared from there. 2013-10-02 13:38:59 +00:00
james.k.crook@gmail.com
7b1764e1fd Added Credit for Norm C. Removed vim-settings. Tabs->Spaces. 2013-10-02 11:21:18 +00:00
james.k.crook@gmail.com
2543ea7897 Added Norm C's Scientific Filter. 2013-10-02 10:32:41 +00:00