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

1523 Commits

Author SHA1 Message Date
rbdannenberg
08b98dce53 PlayAtSpeed works for MIDI. Removed prefs for selecting MIDI input device (unless EXPERIMENTAL_MIDI_IN is on -- but there is no MIDI recording implemented at all) 2010-10-05 18:29:57 +00:00
rbdannenberg
28aaa34889 With EXPERIMENTAL_MIDI_OUT, pausing MIDI and audio playing together now turns off all MIDI notes currently playing (same behavior as pausing MIDI track alone) 2010-10-05 02:42:29 +00:00
v.audacity
c067f93838 Testing a link on a non-development machine, I wanted to make sure I had the right version of Audacity, so checked the AboutDialog. Found some problems and fixed them:
Martyn was out of alphabetical order. The reason was that the role values for Leland and Markus were not changed when they were moved to the emeritus list. 

Went ahead and split up the developer and support lists, and removed the comment, as that's how they'll appear in the interface and it's easier to alphabetize and maintain same-role lists rather than interleaved.
2010-10-05 00:42:13 +00:00
rbdannenberg
6fa857c3ae Fixed MIDI playback on Linux. Still need configure files for libscorealign and portmidi. (I tweaked makefiles by hand to build and test with EXPERIMENTAL_MIDI_OUT and EXPERIMENTAL_SCOREALIGN.) Also, I updated portmidi files, including some bug fixes from the portmidi project. 2010-10-01 17:59:18 +00:00
rbdannenberg
576dfe6653 Restore Audacity xcode project (undoing accidentally committed OS X 10.6 changes in revision 10695). Fix some midi playback problems. 2010-10-01 15:26:46 +00:00
v.audacity
339303e7ec (Bug 229, P3: It is possible to assign the same keyboard shortcut to 2 commands)
Ed Musgrove's patch to fix cases where the bug currently occurs. 

This does not completely fix the bug, because users can still set modifier keys in the wrong order so they would be two separate entries in CommandManager::mCommandKeyHash, but KeyEventToKeyString() will put them in the expected order, so the version in the expected order will always be the one CommandManager::HandleKey() uses.
2010-10-01 00:25:53 +00:00
v.audacity
8f20e65167 (bug 20, P2)
Fix auto-recovery failures that Gale reported, when auto-recovered projects had been saved to top-level directories, e.g., "E:\dtmf.aup" on Windows. Problem was with file separators. This DirManager code is quite convoluted, touched by multiple chefs, and called from many places, so this fix does not correct the origination(s) of the problem, but doesn't break anything higher up, and is a failsafe against probably multiple errors at higher levels.

Make some parameter names clearer vs class vars. Readability is better if the names are not lexicographically exactly the same.
2010-09-28 05:03:50 +00:00
v.audacity
bd39b07260 'How to Get Help' is a title, so needs title capitalization, so changed "get" to "Get". And it's a dialog box, not a message.
Internet is a proper name, so should always be capitalized.
2010-09-28 01:50:45 +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
windinthew
a267f86b2e Clarify in "Can't export multiple files" warning that the Label Track containing labels must be directly underneath the audio track. 2010-09-25 07:45:56 +00:00
martynshaw99
48e04173b1 Make sure that whenever a clip is offset, it is by a whole number of samples at it's sample rate. 2010-09-23 23:06:12 +00:00
v.audacity
ec047e7c71 (bugs 20 and 137, P2) Working on these bugs, tightened up some code and corrected some comments. 2010-09-23 00:30:05 +00:00
martynshaw99
e46abdbeaa Using QUANTIZED_TIME, functionally identical. 2010-09-22 23:24:52 +00:00
windinthew
31041351c5 Remove ellipses from title of Nyquist Prompt dialogue 2010-09-21 06:03:52 +00:00
v.audacity
afc2818026 Restore cruft declaration of clrTrackInfoSyncLockSel, per http://audacity.238276.n2.nabble.com/Deleting-colors-td5546304.html#a5546304. 2010-09-20 20:30:45 +00:00
prlivesey
3db9b4db68 Changes to fix compilation problems on a Mac after extensive changes to improve NoteTrack display. 2010-09-19 21:46:40 +00:00
richardash1981
312faf654d Experimental features (especially ones that don't work on all platforms) shouldn't be enabled by default! 2010-09-19 20:50:51 +00:00
BusinessmanProgrammerSteve
b016dc8386 Fix compile --without-midi 2010-09-19 17:32:03 +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
f6327602e8 Improve consistency of copy/paste operations in label tracks;
use new background-drawing function in label tracks.
2010-09-18 17:41:15 +00:00
v.audacity
7e1db64bc2 (bug 20, P2) Log some summary messages as well, for auto-recovery mode, so the log indicates the "safe" choice that was taken for each of the four types of errors. 2010-09-18 00:32:59 +00:00
v.audacity
a26652acfd (bug 20, P2)
Changed the bSilentlyCorrect parameter to DirManager::ProjectFSCK() to be bAutoRecoverMode. If project check errors are found during auto-recovery, it's hazardous to allow the user the various options available during normal project open. But rather than squelching the messages as well as option dialogs during auto-recover, show the messages in the log and bring up an alert. 

This means the helper methods Find*() no longer need bSilentlyCorrect -- they always report to the log.
2010-09-17 22:50:01 +00:00
v.audacity
c43b3bc387 (sync-lock)
Further shrink minimize button width and center the button in the TrackInfo, so there's a blank to left and blank-or-sync-lock-icon to right, so track can be selected easily even when minimized.

(TrackInfo::DrawBordersWithin) Instead of gray line spanning TrackInfo at top of minimize button, draw it just the width of the button, and add one to the left of the minimize button. 

Separate sync-lock icon drawing from minimize button drawing. 

Make some magic numbers become named constants.

Some renames for clarity. Clean up some unused stuff.
2010-09-16 23:08:33 +00:00
windinthew
a18981a79a EXPERIMENTAL_LINKING -> EXPERIMENTAL_SYNC_LOCK to match with r10673 2010-09-14 11:57:31 +00:00
v.audacity
a07fe36456 Change "Sync-Lock Tracks" button image from chain-link to clock.
EXPERIMENTAL_LINKING -> EXPERIMENTAL_SYNC_LOCK

Restore some "border" lines in TrackInfo.


Get rid of unused DEFINE_COLOUR( clrTrackInfoSyncLockSel...).

Clean out some undocumented commented-out code. Add/remove some comments.
2010-09-14 05:52:01 +00:00
martynshaw99
8e94cd5369 Improved QUANTIZED_TIME macro, just in case integers are passed. 2010-09-13 23:01:12 +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
martynshaw99
1d6e1593ee Eliminate msClipLen since it leads to length errors in WaveTrack and WaveClip. 2010-09-12 22:31:58 +00:00
martynshaw99
5c48047d0e Paste envelope in at the correct place 2010-09-12 20:43:14 +00:00
martynshaw99
eb145b241c Copy the correct amount of 'envelope' to match up with the samples - the lengths should correspond. 2010-09-12 20:00:27 +00:00
v.audacity
1663db9915 (sync-lock)
Change sync-lock tile and icons to be clock instead of chain link. (Yet to change sync-lock button image.)

Make click on sync-lock icon select track.

Remove bevels on regions holding controls, so that bevels are only on controls themselves. This removes confusing border line above sync-lock icon, and simplifies the TrackInfo.

Be more specific about class methods vs stand-alone functions in comments.
2010-09-12 05:11:43 +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
BusinessmanProgrammerSteve
c046a80562 Fix random typo (extra backslash) in Sequence.cpp causing warning 2010-09-10 06:01:10 +00:00
BusinessmanProgrammerSteve
ed7f94ca7d Avoid passing a wxString to wxString::Printf() 2010-09-10 05:22:23 +00:00
v.audacity
f9be883b82 Made requests for bug reports consistently go to feedback@audacityteam.org and compile issues go to "Compling Audacity" board on the Forum rather than going to -devel. Removed some related code cruft. 2010-09-10 03:19:24 +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
v.audacity
1a05037beb (bug 123, P2) Add a macro for Martyn to use in his work on fixing this bug. 2010-09-09 22:12:35 +00:00
v.audacity
702894c67d (Sync-Lock)
Commented out the one call to TrackInfo::DrawBordersWithin(). This eliminates all the dark lines within the TrackInfo, in an effort to make the sync-lock icon not look like a button. It leaves some lighter borders, and I think that's an aesthetic improvement, though it make be worse in terms of accessibility. I can also remove the light border above the sync-lock icon, but I think this looks best overall.

In Track::IsSyncLockSelected(), for the "// Not in a sync-locked group." conditional, it returned true if the track was selected. I made it do so only if track kind is Wave or Label. Among other things, this means Time and Note tracks will never show the sync-lock icon. I think this is correct by definition, but Al, please let me know if this will have negative repercussions elsewhere. There are *lots* of calls to that method and I can move the track-type check to the code that draws the sync-lock icon..

Fixed the bug Gale pointed out where, if a WaveTrack is shrunk such that the sync-lock icon is over a TrackInfo control, such as pan slider, it didn't intercept the mouse event, and passed it on to the control. Now, clicking on the sync-lock icon does nothing. 

Fixed a bug where the sync-lock icon was redrawn dark when the minimize button is down. Now not redrawn at all in that case.

Added some clarifying comments, especially about the term "Label" as used in TrackPanel.*.
2010-09-09 00:46:40 +00:00
BusinessmanProgrammerSteve
f430aad99b Fix crash mentioned in bug 215 (work around old wxList bug) 2010-09-08 04:02:52 +00:00
v.audacity
340667167e Improve acccuracy of comments. 2010-09-07 23:37:45 +00:00
martynshaw99
ed187aa185 Select the 'correct' part when pasting in HandlePasteNothingSelected - working up to the more complicated changes required on the same lines. 2010-09-07 23:10:29 +00:00
martynshaw99
50a61e1570 Reverting previous change, since it was using mViewInfo.sel0/1 at the time of pasting, not of copying. 2010-09-07 22:03:24 +00:00
martynshaw99
82275c946e A step in removing msClipLen and all it's problems.
Highlight the pasted clip as well as we can.
2010-09-07 00:00:38 +00:00
martynshaw99
5f2252a5b9 Getting to the bottom of those 'off by one' samples, some unavoidable (see bugzilla 123 http://bugzilla.audacityteam.org/show_bug.cgi?id=123#c27)
Also getting more experience of those mT1-mT0 problems.
2010-09-05 23:29:53 +00:00
BusinessmanProgrammerSteve
f86dca89fc Improve comments surrounding my recent slider checkin. 2010-09-04 18:21:23 +00:00
BusinessmanProgrammerSteve
bf874133a0 Fix a low-hanging memory leak found by valgrind in slider code 2010-09-04 06:58:21 +00:00
BusinessmanProgrammerSteve
fcb9e4e365 Restore some r10644 changes: ReplaceProcessedTracks() calls on early returns,
documentation at top. These should prevent a memory leak.
2010-09-04 02:56:53 +00:00
BusinessmanProgrammerSteve
99581b4dc5 (bug 215) Fixes problem where non-silent region is truncated 2010-09-03 05:57:43 +00:00
BusinessmanProgrammerSteve
1b8a8cb8bc Revert r10644. 2010-09-03 05:39:17 +00:00