Paul Licameli
7fb107e143
Highlighting of envelopes
2017-07-11 13:56:41 -04:00
Paul Licameli
ada4b6307d
Pass more context information into drawing routines
2017-07-09 12:34:27 -04:00
Paul Licameli
58e7a94264
Envelope::Paste takes a time tolerance argument
2017-05-29 13:53:25 -04:00
Paul Licameli
5886bd8eb2
Don't push time track points right of paste point off to infinity
2017-05-28 00:50:34 -04:00
Paul Licameli
e428425c7d
Change the drawing of wave track envelope at high zoom...
...
... The function defined by the envelope is evaluated exactly at the times of
samples, but not between samples -- instead there is a simple interpolation.
Therefore the curve might not go through the control points when they are not at
sample times.
The exact value of the function defined by the envelope has no influence on
rendering of the sound in between samples. So this can make it clear that
the middle point has no influence at all in case three points are very close.
Drawing of other envelopes (Time track, Equalization curves) is not changed.
2017-05-26 14:51:50 -04:00
Paul Licameli
aba52bc79e
Update envelope properly for TimeTrack and WaveTrack editing...
...
... Formerly this was done correctly only for cut and delete from WaveTrack,
paste into WaveTrack, and sync-lock adjustment of WaveTrack (either lengthening
or shortening).
Now also properly done for TimeTrack cut and paste, and also for:
Split cut
Split delete
Trim
2017-05-09 09:22:06 -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
James Crook
ff3ed65d83
Draw TimeTrack Background in unselected colour.
...
Using blank colour is incorrect here.
I also removed an unused pen and brush.
2017-04-27 21:40:16 +01:00
James Crook
60a53d560b
Ensure colours of rulers and TimeTrack background update after a theme change.
2017-04-27 12:08:25 +01:00
James Crook
d9e25bfc12
Add themed background for time track
2017-04-26 22:34:14 +01: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
f1b354b141
More pure virtuals in Track, supply Note and Time overrides
2017-03-31 18:03:37 -04:00
Paul Licameli
b81cdee7e3
Comment where xml writing functions may throw
2017-03-18 11:45:05 -04:00
Paul Licameli
18be1bdad6
Remove naked new[] in: tracks
2017-03-17 17:52:47 -04:00
Paul Licameli
0af9b46eac
Move many fields out of Envelope that are needed only during editing
2017-03-17 17:52:31 -04:00
Paul Licameli
81285ee0c1
More const and override
2017-03-17 17:52:20 -04:00
Paul Licameli
0eb2f85bfb
Use DBL_MAX, not arbitrary 1000000000.0, as "infinite" time interval
2016-09-19 10:38:42 -04:00
Paul Licameli
c8e7372886
Rewrite Resample::Process to take and return size_t values
2016-09-06 12:39:58 -04:00
Paul Licameli
46f38708ed
Dir manager uses std::shared_ptr
2016-08-13 12:23:05 -04:00
Paul Licameli
20bee00115
Remove some naked new amd delete in: tracks and clips
2016-08-08 07:30:44 -04:00
Paul Licameli
5ef4dd46a5
TrackFactory functions return std::unique_ptr, although some callers...
...
... release() them for now.
2016-03-26 11:50:12 -04:00
Paul Licameli
f42a953752
Track duplication methods return unique_ptr, although some callers...
...
... simply release() them for now.
2016-03-26 11:50:10 -04:00
Paul Licameli
70c1d57591
More const qualifications, and mutables, for functions that draw tracks...
...
... The display related members that had to become mutable are probably
ones that don't belong in the track classes, ultimately.
2016-02-27 12:35:17 -05:00
Paul Licameli
a5b6c9fd8f
Add some const qualifiers; define TrackListConstIterator
2016-02-24 19:10:39 -05:00
Paul Licameli
7c4c45a0d5
"new"->"NEW" in comments, easier to find remaining naked operator new
2016-02-14 18:52:41 -05:00
Paul Licameli
17c9369286
Bug1239: Correct time rulers after importing files (with File>Open) ...
...
... The fisheye stuff was to blame.
2016-01-26 18:09:29 -05:00
Paul Licameli
cab89f6fb4
Remove Envelope.h from other headers
2015-07-28 10:02:09 -04:00
Paul Licameli
6b9e7506dd
Ruler-drawing does not assume uniform zoom, ...
...
... and AdornedRulerPanel exposes an invalidation function for later use
2015-07-19 11:44:18 -04:00
Paul Licameli
e0f4595485
TrackArtist, LabelTrack, TimeTrack, Envelope functions take ZoomInfo...
...
... and SelectedRegion, and not ViewInfo or zoom level as a double.
Also some leftOffset arguments.
Assumptions of uniform zoom level persist in TrackArtist::DrawClipSpectrum and
in TrackArtist::DrawClipWaveform but no longer in the rest.
2015-07-19 11:44:13 -04:00
benjamin.drung@gmail.com
277932dccb
Remove trailing spaces.
2014-06-03 20:30:19 +00:00
v.audacity
d4dc281b4a
Steve's patch for http://bugzilla.audacityteam.org/show_bug.cgi?id=645 "Transcription Toolbar has lower limit of 0.1x"
2013-12-18 22:45:14 +00:00
james.k.crook@gmail.com
dba81b3f1c
Cleanup: Fixed lots of trivial MSVC warnings.
2013-08-25 21:51:26 +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
RichardAsh1981@gmail.com
8d8e008b45
Patch by Maarten Baert for compatibility with project files from previous versions of Audacity, by re-scaling on load. Opening newer project files in older builds works but the time track gets messed up. This needs to be release noted.
2013-01-06 16:55:19 +00:00
richardash1981
389beeb7fc
Add some comments to the places I got confused. This would be much clearer if classes had copy-constructors\!
2012-12-31 13:13:58 +00:00
martynshaw99
afbbcc179a
I think this is what was meant by the last patch.
2012-12-31 00:06:41 +00:00
RichardAsh1981@gmail.com
b7bd3c3469
copy envelope range from the source track rather than fixing it
2012-12-30 17:30:03 +00:00
RichardAsh1981@gmail.com
2326bb8347
Commit most of patch-envelope-range-2.patch from Maarten Baert, excluding an unrelated change and some independent ones already committed. There is an outstanding potential issue with the TimeTrack:: copy constructor awaiting further input
2012-12-29 16:28:28 +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
ce9bd9fa90
I think this completes the refactoring for const-rate vs var-rate resampling.
2012-11-04 04:44:10 +00:00
mchinen
a9a0d51454
Timetrack fixes and refactoring.
...
Possibly fixes:
Bug 206 - Time Tracks: Ruler warp goes in wrong direction
Bug 205 - Time Tracks that slow down the audio result in truncated exports
2010-10-07 23:01:49 +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