1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-26 09:08:44 +02:00

61 Commits

Author SHA1 Message Date
unknown
8aea663882 Lifted code that draws multi-tool sliders -- it's per track, not clip 2015-06-01 22:58:19 -04:00
unknown
29fb5a2ffe Simplified passing of min/min/rmx/bl/where values for drawing waveforms 2015-06-01 22:58:18 -04:00
unknown
ecb97e9c58 Split apart the loops that update the spectrogram cache and that use it 2015-06-01 22:58:16 -04:00
unknown
8ef354aba0 Abstracted common code out of waveform and spectrum drawing routines 2015-06-01 22:41:56 -04:00
unknown
3752f3b4be Simplified optional profiling code in TrackArtist 2015-06-01 22:41:41 -04:00
Paul Licameli
6a1227f039 zero-padding factor for spectrograms, internals 2015-05-31 16:43:09 -04:00
Steve Daulton
d1994e702e Remove spectral selection edges when not in spectral selection. 2015-05-30 11:13:01 +01:00
Steve Daulton
26707aabfa Return to gray highlighting for Spectrogram. 2015-05-30 11:04:45 +01:00
James Crook
88a9e434f5 Select Spectral Edit from Track DropDown 2015-05-30 11:04:45 +01:00
Paul Licameli
6810095509 Removed some functions never called, code never reached, fields never used 2015-05-29 00:13:50 -04:00
Paul Licameli
e6ccd51326 Use WaveTrackCache for spectrograms
Zooming-in of spectrograms (or other view changes that invalidate the
whole pixel cache of the WaveClip) used to do at least one opening and
closing of a block file for each column of pixels.  With this change,
open each block file not more than once for each repopulation of the
cache.

Improved speed may be more noticeable on less powerful computers, or when
the audio file is in a slower storage device.
2015-05-26 20:02:38 -04:00
Paul Licameli
7c17d99ea5 Bug971: spectrogram display 2015-05-25 11:05:31 -04:00
Daniel Winzen
92d522132e Variable cleanup 2015-04-23 18:30:38 +02:00
david avery
0319f6ea51 merging wx3 changes 2015-04-12 23:52:32 -06:00
stevethefiddle@gmail.com
807689b9b8 Bug 793. Fixes track name not showing in single right channel track. 2014-12-10 16:26:47 +00:00
stevethefiddle@gmail.com
7c3f355c7a Fix for bug 791. 2014-11-24 18:03:33 +00:00
james.k.crook@gmail.com
b34d256e88 Don't show spectral selection in pitch view (patch by Paul Licameli). 2014-11-19 23:10:59 +00:00
stevethefiddle@gmail.com
233f43dd7d Fix: Spectrogram gets the wrong default on first run. 2014-11-10 20:14:51 +00:00
james.k.crook@gmail.com
3d7dd6c74a Draw dotted lines on frequency selection.
Patch from Paul Licameli, but simplified.
2014-10-22 21:06:15 +00:00
james.k.crook@gmail.com
a6f9f6bc58 Spectral Editing: Using subroutines to shorten code, and more comments in the code. 2014-10-18 16:01:50 +00:00
james.k.crook@gmail.com
37608c2290 Paul Licameli's Spectral Editing Patch.
This relies on three new nyquist scripts to actually do the editing.  The peak-snapping code in FrequencyWindow has been extracted into a new class, SpectrumAnalyst, to provide peak-snapping in spectrogram too.
2014-10-18 14:19:38 +00:00
martynshaw99
4cf7b2665d Paul L's patch for bug 525, which is minimally invasive for fix the problem. 2014-10-14 23:24:37 +00:00
james.k.crook@gmail.com
f5e593cc4c Paul L's new SelectedRegion class replacing use of t0 and t1. Also LabelTrack.h no longer in TrackPanel.h includes.
This change is believed to be a direct refactoring that does not change functionality.  It paves the way for more complex kinds of selection, such as selections involving frequency as well as time.  It also reduces risk of left and right edges being swapped in future code using SelectedRegion, as the default is to swap on assignment if needed.
2014-10-05 17:10:09 +00:00
benjamin.drung@gmail.com
277932dccb Remove trailing spaces. 2014-06-03 20:30:19 +00:00
martynshaw99
3acbb825a0 Andrew Hallendorff's changes to make the vertical ruler follow the zoom level in both linear and dB modes. 2014-02-19 01:00:32 +00:00
martynshaw99
4f5de6d5e3 Quiet a bunch of 'unreferenced formal parameter' warnings on Windows.
The remaining ones are 'formal parameter's referenced by other platforms.
2013-09-25 22:57:54 +00:00
RichardAsh1981@gmail.com
6a7da21dec remove various unused #defines and bits of code, patch by Campbell Barton 2013-09-23 20:16:02 +00:00
RichardAsh1981@gmail.com
28e9f0ca73 make many functions which do not require access to class member variables static so they can be called without an object to do so with. Based on part of a patch by Campbell Barton 2013-09-21 19:15:42 +00:00
james.k.crook@gmail.com
dba81b3f1c Cleanup: Fixed lots of trivial MSVC warnings. 2013-08-25 21:51:26 +00:00
martynshaw99
f209391d59 John (Thales) code to make the waveform display look like the output of the gain and pan sliders, rather than the input. Added as EXPERIMENTAL_OUTPUT_DISPLAY since there is work to do, but I think this deserves wider input/views. 2013-05-30 23:14:25 +00:00
mchinen
c51e2493eb bug 601:fix black text for (show name in waveform) option. Patch by Steve Daulton. 2013-05-19 09:11:27 +00:00
richardash1981
55be06c9e4 commit a large patch by Maarten Baert maarten-baert<at>hotmail<dot>com to fix and improve time track support. Several fix-me issues remain but none are new with this patch. 2012-12-19 21:49:25 +00:00
v.audacity
ebb4f530bb Apparently, wxConfigBase::Write() does not update values for next access on all platforms unless Flush() method is called. Added many calls to wxConfigBase::Flush() to make sure the Rad() calls get the right values. 2012-08-02 06:03:19 +00:00
martynshaw99
fc595a4d3f Add track labels to dB, Spectrum and Pitch displays. If not acceptable, not a big load to rip out. 2012-02-06 01:08:20 +00:00
martynshaw99
2b151826ab Improve font size and colour for track name in waveform pane 2012-02-05 00:29:44 +00:00
martynshaw99
fb7dfdc699 Norm C's patch to put the full name of the track in the waveform. Defaulted to 'off' but selectable in prefs->Interface->Show track name in waveform display.
Thanks Norm!
2012-01-18 00:02:46 +00:00
james.k.crook@gmail.com
21d55e77e6 Dealt with (and tested) some FIX-MEs and ANSWER-MEs. 2011-11-25 21:26:01 +00:00
v.audacity
f1fee888c2 Fix null pointer dereferences caught by Vigilant Sentry. Ask some questions about some code. 2011-11-24 23:12:52 +00:00
v.audacity
1ceb0ef660 Apply modified version Roger Dannenberg's patch to remedy some problems from commit r10680 and fix some bugs. 2011-10-19 23:06:53 +00:00
clayton.otey
71dedc3d35 Revert r11214 (sbsms timescale effect update) & r11215 (mixed-radix-fft narrow/broaden spectrum menu items) to honor the feature freeze. 2011-07-06 09:49:59 +00:00
clayton.otey
df9865f26a Added an sse enabled mixed-radix-fft implementation and a menu/view/{narrow,broaden} spectrum item which adjusts the spectrogram window size 2011-07-02 18:42:38 +00:00
martynshaw99
6e6d709821 'Spectrogram (logF)' wasn't obeying prefs. Use the values that are for non-log. Short-circuiting a still unfinished feature. See bug 85. 2011-05-25 23:19:57 +00:00
richardash1981
2a7c7de30d Commit a warnings removal patch from Benjamin Drung to correct a string of minor misdemeanors. 2011-02-07 20:24:04 +00:00
rbdannenberg
f3b91514d2 NoteTrack channel buttons have prettier graphics in down position which now means ON; VEL_SLIDER depends on EXPERIMENTAL_MIDI_OUT (not USE_MIDI); velocity slider changes are labeled as such to Undo manager; fixed an OS X bug where backing bitmap does not get yellow highlight and then highlight on screen gets clobbered when user moves gain sliders (!); Added a high-level overview of redraw to TrackArtist.cpp. 2010-10-28 17:34:35 +00:00
BusinessmanProgrammerSteve
cb51d71099 Tilt the sync-lock tiles! 2010-10-18 01:58:57 +00:00
rbdannenberg
2fd5555378 Fixed playback/redraw interactions (redraw was converting from seconds to beats while player was trying to read seconds in another thread). Added compile-time option make channel select be the down position. Fixed problem with MIDI track mute to eliminate hung notes. 2010-10-07 21:36:39 +00:00
rbdannenberg
e76bfa39ef Fix compiler warnings (string constant to char *) from allegro.h. Also implements play at speed for MIDI, but some MIDI playback problems remain. 2010-09-27 05:51:41 +00:00
rbdannenberg
a1f0e5ed5b Extensive changes to improve NoteTrack display and (some) editing, NoteTrack playback via MIDI, and Midi-to-Audio alignment. 2010-09-18 21:02:36 +00:00
BusinessmanProgrammerSteve
50d2a5b665 Draw a (slightly lighter) selection outside of clips in audio tracks. 2010-09-13 07:41:17 +00:00
BusinessmanProgrammerSteve
c0b5fb01da Performance improvements for track spectrum display and PCM
import submitted by Sami Liedes.
2010-09-13 01:31:54 +00:00