1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-12 14:11:10 +02:00

777 Commits

Author SHA1 Message Date
Leland Lucius
f0ab978dbf Use the right array index 2015-04-18 16:58:25 -05:00
Leland Lucius
4e26fb654c Fix up Tone and Chirp based on Steve's feedback
Thanks Steve
2015-04-18 12:34:35 -05:00
Leland Lucius
835000d916 Should fix the invalid initial duration for generator effects 2015-04-17 22:52:34 -05:00
Leland Lucius
c38d863158 Update DtmfGen.cpp
Set correct default
2015-04-17 13:40:19 -05:00
Paul-Licameli
2b85d0edb4 Preliminary function argument list changes and comments, for scrubbing project
In particular, use an options structure for AudioIO::StartStream to simplify
calls

ControlToolBar::PlayPlayRegion also takes that structure as an argument, and a
SelectedRegion instead of two times

And other changes
2015-04-17 02:25:39 -04: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
Steve Daulton
ca25b45978 Update Nyquist.cpp
Remove earlier ifdef'd version of time/date property
2015-04-16 13:46:39 -05:00
Steve Daulton
fa3d546cf8 Merge branch 'master' of github.com:audacity/audacity into nyquistPlus 2015-04-14 13:56:15 +01:00
Steve Daulton
d8d292edc7 Add time and date property list. 2015-04-14 13:50:51 +01:00
Paul-Licameli
20c510084d I just can't win. Does THIS version make the Mac compiler happy too? 2015-04-14 02:32:02 -04:00
Paul-Licameli
0bb643fcda remove unneeded macro 2015-04-12 22:30:47 -04:00
Paul-Licameli
f638c1504c Merge better fix for compiling NoiseReduction.cpp with wx3- configurations
Conflicts:
	src/effects/NoiseReduction.cpp
2015-04-12 22:24:43 -04:00
Paul-Licameli
4cb521923e Better fix for the compilation of NoiseReduction.cpp with wxWindows 3 2015-04-12 20:00:57 -04:00
James Crook
99416c628e WX3_STRING_FIX
A new macro that conditionally casts to wxString if in wx3.
2015-04-12 21:07:01 +01:00
Steve Daulton
a3ec006e3e bug683 initial commit 2015-04-12 18:04:58 +01:00
david avery
066e583883 Revert "update for wx 3.1.0 compatiblity - all changes are either wxCHECK_VERSION(3.0.0) wrapped or safe with wx 2.8 - wx 3.1"
This reverts commit 476a1f62c37a3aab19275230aa5a7806633fb705.
2015-04-12 07:07:50 -06:00
david avery
c112d47147 one more wx 31 change 2015-04-11 21:00:37 -06:00
david avery
476a1f62c3 update for wx 3.1.0 compatiblity - all changes are either wxCHECK_VERSION(3.0.0) wrapped or safe with wx 2.8 - wx 3.1 2015-04-11 17:54:33 -06:00
david avery
ecd0222a15 update src/effects/NoiseReduction.cpp to build on wxWidgets 3 2015-04-11 13:05:10 -06:00
Paul-Licameli
36dd49ff50 Really fix linux compilation! 2015-04-08 15:12:51 -04:00
Paul-Licameli
14a36dad46 Bug834, part 2 - Memory leak and orphans after cancelling any generator
New project.  New track.  Generate sound -- do not cancel.  Select all,
generate sound again -- this time, do cancel the progress dialog.

Undo, so you see one, empty track again.  Save.  Close.  Reopen.

The cause of these orphans is different from the first case.  The previous
commit is necessary but not sufficient to fix this.
2015-04-08 11:41:38 -04:00
Paul-Licameli
a562f2c922 Bug834, part 1 - Memory leak and orphans after cancelling any generator
This fixes the first of two related memory leak bugs:

New project.  Make a new track.  Select the track and use any generator, such
as white noise, specifying a long enough length that a progress dialog appears.
Cancel the progress dialog.

Save the project.  Exit and restart Audacity.  Reopen the project.

Orphans!
2015-04-08 11:40:30 -04:00
Paul Licameli
fe6f83feea Fix small memory leak in noise reduction, whenever Step 1 fails or is cancelled 2015-04-07 12:22:04 +01:00
James Crook
cedc6975e8 Fix missing parameters in chains for ChangeSpeed effect 2015-04-07 12:20:08 +01:00
Paul Licameli
b8af2d566f Bug886 - Some strings not translated in noise reduction
It may be too late for 2.1.0.  But anyway, I have written in the fix in
a way that does not disturb line numberings.
2015-04-05 22:30:48 +01:00
james.k.crook@gmail.com
abda1166de Fixed issue Steve rated as P1/P2 where noise reduction applied to just the (unseen) spectral selection.
Fix, which is to disable that aspect, was agreed between Paul, Bill, Steve (and OI agree too) and as a TL I'm putting it into action so as not to hold up release with a P1.
2015-01-30 20:43:28 +00:00
james.k.crook@gmail.com
58096be5a2 Preparation for 2.1.0 release: (1) Set Noise Reduction parameters to agreed values. (2) [Reluctantly] Disable Module Prefs. 2015-01-24 14:56:29 +00:00
stevethefiddle@gmail.com
57d218bcec Minor bug fix. No user impact. 2015-01-22 08:50:00 +00:00
lllucius
10f62cdae5 Fix for bug #833
This allows duplicate items in the effects menus and provides a
means to uniquely identify each item.
2015-01-19 16:28:48 +00:00
lllucius@gmail.com
85f6279d21 This fixes a couple of issues with AudioUnits and 1 with latency
If latency was introduced by an effect, the input position could
get offset by the amount of latency, such that the same input
would be processed twice for the number of sample of latency.

There was an issue in AUs where a "latency done" flags wasn't
being reset and so the second and subsequent uses of an effect
could not latency correct.

And in research that, I found that you need to set the sample rate
on all 3 scopes (global, input, and output) instead of just the
global scope.
2015-01-11 22:52:08 +00:00
lllucius
a47fc62bb1 Use the correct reserved field in the AEffect struct
Some hosts (like Ardour) use the "user" field and some use
the resvd2 field.  In 2.0.6 I'd switced from resvd2 to user.
This fix puts it back to resv2 since at least one plugin,
Audiocation Phase, uses the "user" field for its own purposes
and rightly so.
2015-01-10 02:14:19 +00:00
lllucius
ea112bddc1 Fix crash reported by Steve
Steps to reproduce:
1) Launch Audacity
2) File > New
3) Generate a sound in the new project
4) Open a LADSPA effect
5) In second project: File > Close, don't save changes.
6) In first project, generate a sound.
7) Click "Play" button - crash :-(
2015-01-06 18:01:04 +00:00
lllucius
3755e57591 Do not call start/stop if suspended
The RealtimeProcessStart/Stop methods are used to process the
samples for the master effect (the one the user interacts with),
it should be bypassed as well if suspended.
2015-01-05 15:50:45 +00:00
lllucius
82b2302921 Fix memleak 2015-01-05 09:15:33 +00:00
lllucius
0a37ca8106 Fix memleak when using text interface 2015-01-05 09:09:00 +00:00
lllucius
cd315f7f1e Do NOT call SetHost() after changing options
This reinits stuff that shouldn't be reinited while actively
previewing.  So, just reload the settings directly.
2015-01-05 09:00:10 +00:00
lllucius
4e8b794452 Fix a conflict between the backported number validator and formatter
When building for wx3 on Linux, the backported number validators
and formatter conflicts with the wx3 version because I never
renamed them.  Crashes during termination would occur because
the wx3 version and our version had different vtables.

I was thinking that we would just be able to delete the
backported version when upgrading to wx3, but since
we've made Audacity specific changes to them we can't
simply start using the real wx3 versions anymore.

Therefore, I needed to rename then to prevent the crashes.
2015-01-04 21:17:16 +00:00
lllucius@gmail.com
fcf2a28867 Fix for opening effect while play is active
Stupid Leland didn't test all cases...grrrr!!!
2015-01-03 17:55:36 +00:00
lllucius@gmail.com
38f27a76a1 Fix building on Linux with wx3 and gtk3 2015-01-03 17:10:53 +00:00
stevethefiddle@gmail.com
a13cb99e67 Modernize ';nyquist plug-in' header command.
Ref. QA topic: http://sourceforge.net/p/audacity/mailman/message/33193296/
2015-01-02 15:24:11 +00:00
lllucius@gmail.com
3fcaddf69f Fix Linux build 2015-01-02 07:15:16 +00:00
lllucius
aaaac65176 Doesn't support chains 2015-01-02 06:56:13 +00:00
lllucius@gmail.com
aa49817563 Fixes 2 VST issues, an RTP issue, and relaxes an AU restriction
1)  Shell VSTs were completely unrecognized...that is no longer the case
2)  All VSTs will now ALWAYS be initialized and cleaned up from the main
    GUI thread.  I found that some Waves VSTs would freeze Audacity when
    initialized in the audio thread and closed in the GUI thread.
3)  While realtime previewing, it was possible that the wrong slave 
    could be used to process new blocks of audio.
4)  I found that the Waves AUs don't crash on a real Mac (instead of a
    virtual machine), so I removed the "black list" I'd put in just for
    them.  (Something to do with needing full 3D support I think.)

Anyway, #2 and #3 were quite intrusive, so as much RTP testing as possible
would be a good thing.
2015-01-02 05:24:43 +00:00
lllucius
0c447f3108 These generators don't support chains, so don't say they do 2015-01-01 10:34:48 +00:00
lllucius@gmail.com
02717da3a2 Fix for bug #808 2014-12-30 22:06:46 +00:00
stevethefiddle@gmail.com
3bf763194b Simplify misleading (and dangerous looking) initialisation. 2014-12-30 12:32:15 +00:00
stevethefiddle@gmail.com
9f5f5e36ad Experimental Nyquist time/date property (idefed out). 2014-12-25 18:22:59 +00:00
stevethefiddle@gmail.com
5b8747c636 Fix - Nyquist requires that the decimal separator is a dot.
This should allow the new Spectral edit plugins to work on systems that use comma as the decimal separator.
Also removes the *F0* and *F1* definitions that are no longer used (superseded by lowHz and highHz properties).
2014-12-25 13:54:00 +00:00
lllucius
e64019dcf6 Trying a checkbox to control enabled state 2014-12-20 18:22:44 +00:00