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

20 Commits

Author SHA1 Message Date
Paul Licameli
b24e0f9115 Change min/max frequency in spectrogram prefs causes display refresh (again)
... Sorry I broke that!
2015-06-10 14:49:04 -04:00
Paul Licameli
976eb6164f More reorganization of wave and spectrum caches, and performance...
Simplify the partial copying of wave and spectrum caches.  Use memcpy for speed.

Don't memcpy out of the caches into temporary buffers for TrackArtist,
just pass
pointers.

More vectors in the cache classes, fewer deletes.

Pulled big loop, and its body, out of the spectrogram routine into functions.
2015-06-06 11:43:10 -04:00
Paul Licameli
afa2fe9fb4 Keep FFT windows for Spectrograms in one place in SpectrogramSettings...
... not redundantly in each WaveClip.
2015-06-04 11:29:18 -04:00
Paul Licameli
38f24a42ef Don't invalidate SpecCache for changes of min, max, gain or range...
... because those do not affect it.  They only affect the SpecPxCache.

Did other things to that class:  renamed fields, new constructors.
2015-06-04 11:29:16 -04:00
Paul Licameli
ba5738446c Bug1009: Correct interaction of Zero Padding and Frequency Gain...
... also an excuse to pull out a function I will want to reuse in a later
project.  The real fix was simply to use fftLen not windowSize.
2015-06-03 15:01:54 -04:00
Paul Licameli
1df1effb71 Quiet compilation warnings 2015-06-02 19:15:29 -04:00
Paul Licameli
14b8607017 compilation fix 2015-06-02 09:16:07 -04:00
unknown
29fb5a2ffe Simplified passing of min/min/rmx/bl/where values for drawing waveforms 2015-06-01 22:58:18 -04:00
Paul Licameli
6a1227f039 zero-padding factor for spectrograms, internals 2015-05-31 16:43:09 -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
fe8d3535d8 Bug819 - Paste should not change clipboard contents when sample formats differ 2015-04-08 19:11:50 -04:00
benjamin.drung@gmail.com
277932dccb Remove trailing spaces. 2014-06-03 20:30:19 +00:00
v.audacity
9d0daf8662 Campbell Barton's patch to turn many, many tabs to our 3-space convenbtion 2013-02-20 23:42:58 +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
mchinen
fbe3a80ab1 Bug 373/378 (P2) - Fix a case where one track of an aligned stereo pair could be moved independently 2011-04-26 16:47:06 +00:00
mchinen
9321b1634e Bug 377 (P2) - fix case where the R channel of a stereo clip wouldn't be dragged if it was off-screen and sync-lock was off 2011-04-25 18:10:32 +00:00
v.audacity
1b1b05947e It is an error to copy a WaveClip without specifying the DirManager. Defined break-inducing copy constructor and assignment operator methods so that if some developer makes the mistake of calling a single-arg copy constructor rather than the one below (that requires a DirManager*), rather than it going to C++-generated default copy constructor, it goes here and the error is made clear to that developer.
These are a good idea to add in *many* other places...
2010-09-10 22:02:04 +00:00
v.audacity
a46081d5b5 Get rid of unused copy constructor that's "fatal" to call (although it didn't crash, just frightened the user!). 2010-09-09 22:15:21 +00:00
ra
e74978ba77 Locate and position the current Audacity source code, and clear a variety of old junk out of the way into junk-branches 2010-01-23 19:44:49 +00:00