1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 16:49:41 +02:00

7272 Commits

Author SHA1 Message Date
James Crook
c476110589 Update audacity.pot and .po files. 2017-07-19 18:22:12 +01:00
James Crook
bcf21ad0fd Make building without EXPERIMENTAL_MIDI_OUT possible again. 2017-07-19 18:02:03 +01:00
Paul Licameli
bba9b9986d NoteTrack, extreme vertical zoom-in: limit top & bottom margin height 2017-07-19 11:42:29 -04:00
Paul Licameli
d256bfedd2 NoteTrack, extreme vertical zoom-in: limit top & bottom margin height 2017-07-19 11:33:18 -04:00
James Crook
60405eb7fe Theme Tweaks
- Highlighting of Buttons in TCP and Sliders
- No crinkly Help Icon anymore
- Invisible numbers in NoteTrack fixed
- Better visibility of label track dragger elements
- Theme rearranged more logically, and dead images culled
2017-07-19 15:27:00 +01:00
David Bailes
c1c19774b4 When a VST effect is opened, the dialog is not the focus.
Problem caused by commit: 79c3bef
SetFocus() is being called when !success.

Fix: Move the call to SetFocus back to its original place in the code.
2017-07-19 14:10:34 +01:00
Dimitris Spingos
36dcddf56f Update Greek Translation 2017-07-18 21:45:08 +01:00
Paul Licameli
ea9f86e541 remove unused variable 2017-07-18 16:10:46 -04:00
Paul Licameli
7f289a9ed9 Revert "Remove unused variable"
This reverts commit 0ca907a1a74ee2c5340c981c0392404789730b14.
2017-07-18 16:06:25 -04:00
Paul Licameli
0ca907a1a7 Remove unused variable 2017-07-18 16:03:18 -04:00
Paul Licameli
48889d36f0 Precaution in case a certain assertion fails (I haven't observed it) 2017-07-18 14:10:29 -04:00
Paul Licameli
fcd175183f Bug1632: correct length of non-WAV exports >= 2^32 samples long...
... WAV format simply can't do that, others (FLAC, ogg, mp3) can and should

Some history:

This got broken very badly for an interim starting at
919d77d1760bab320ae963e1e54fc6e4981b6000.
Exported files were only tens of bytes!

This was broken differently after
ad04187a4122556c9a91ce1ac6d6a7cf3b4162ac with symptoms as in the bug report.
2017-07-18 12:25:32 -04:00
Paul Licameli
4925d0a54b Fix cursor changes for selection 2017-07-18 11:10:45 -04:00
Paul Licameli
c4995efed8 TCP buttons can distinguish up and down highlight backgrounds...
... But make them nondistinct in all themes, so this commit does not yet make
user visible changes.

This uses the HiliteButtonExpandSel resource which was previously unused.
Perhaps not the intended use of the resource so named, but names can change in
2.2.1.

The two were already alike in Classic but the unused one had been just black
in the others.
2017-07-17 22:09:56 -04:00
Paul Licameli
9b35792685 Simplify the error messages in case of disk i/o exceptions 2017-07-17 20:44:49 -04:00
Paul Licameli
a9a6f01214 Stop showing the tooltip for track rearrange after button down 2017-07-17 17:34:18 -04:00
Paul Licameli
64ce79fef8 Change Menu button tooltip, and it includes the shortcut 2017-07-17 12:10:40 -04:00
Paul Licameli
17c964e392 Distinct status bar message for Time track envelope edit 2017-07-17 11:59:25 -04:00
Paul Licameli
5f8cde43fa Fix condition for displaying (Esc to cancel) 2017-07-17 11:49:11 -04:00
Paul Licameli
ed4300fed1 Move status bar message texts out of class ToolsToolBar 2017-07-17 11:39:32 -04:00
Paul Licameli
14450d6d9f Fix flickering tooltips in TrackPanel 2017-07-17 11:17:23 -04:00
Paul Licameli
c72bb76301 Fix flickering TrackPanel tooltip 2017-07-17 11:12:20 -04:00
Paul Licameli
1b8f3daaec Again disable tooltips for vertical rulers. 2017-07-17 11:11:41 -04:00
Paul Licameli
e86fd3c990 Bug1688: MIDI stretch when select time extends beyond track end...
... The cursor may be the center or the right depending where you pick; both
those cases needed fixing.
2017-07-17 10:05:22 -04:00
Paul Licameli
f2deb1cc43 Bug1691: Make Mute and Solo shortcuts for focused track work for Midi 2017-07-17 09:09:51 -04:00
Paul Licameli
1faa234b9e Fix bug 1662 (crashing TCP menu commands on Windows) differently...
Previous fix was at commit f9865f39efe46224a1a77c742a789b2cc70f0c54

But then that had this strange effect on Mac:  when a menu command such as
rename brought up a modal dialog, then the first click in the dialog would pass
through to the tracks behind it, changing the selection, and only a repeated
click on the OK button would dismiss the dialog.

I don't know exactly why that happened.  This avoids it.
2017-07-17 02:58:37 -04:00
Paul Licameli
f3574c6238 build fix 2017-07-17 02:59:11 -04:00
Paul Licameli
abce981bc1 A few tooltips for TCP buttons, vertical rulers, track rearrange 2017-07-17 02:27:08 -04:00
Paul Licameli
bb970364c8 Tooltips for Wave & Note track vertical rulers 2017-07-17 02:26:41 -04:00
Paul Licameli
77d5a4cfa8 Tooltip for click and drag on TCP 2017-07-17 02:26:41 -04:00
Paul Licameli
42921b7e55 Tooltips for TCP buttons 2017-07-17 02:26:38 -04:00
Paul Licameli
812fd2adea move function 2017-07-16 23:01:12 -04:00
Paul Licameli
fa96dcffb9 Cursor was meant to change to hand only after click on TCP 2017-07-16 22:56:12 -04:00
Paul Licameli
cc0f76d076 Clear the tooltip when leaving the cell that defines it 2017-07-16 22:55:45 -04:00
Paul Licameli
a5e2854b73 Omit Note tracks from scrubbing and seeking 2017-07-16 21:09:28 -04:00
Pokechu22
03f9592f58 Bug 1690: Playback does not stop at the end of MIDI playback
This was caused by the indicator-passed-selection check being inside a loop over all wave tracks.  If there are no wave tracks, then the check never happened.  I added a duplicate version of the check if there are no wave tracks.  This may not be the best solution, but it works for now.

I'm not entirely sure why the check is in the loop (or what's going on with the len and maxLen variables); as such, I just haven't touched that.  Perhaps it would be safe to move the check always outside of the loop, but I'm not completely confident in that.
2017-07-16 20:52:09 -04:00
Pokechu22
4d3d32ca4d Remove MIDI-only playback (without portaudio) logic
Instead, always start a portaudio stream (if there is either a note track or a wave track).  This ensures that playback is always in sync (eg when recording), and gets rid of a lot of duplicate logic throughout.

Scrubbing (currently) still doesn't work with only note tracks, but it should be easier to fix that now than trying to reimplement all of the scrubbing time logic.

Conflicts:
	src/AudioIO.cpp
2017-07-16 18:10:48 -04:00
Paul Licameli
23e517fce5 windows build 2017-07-16 14:46:47 -04:00
Pokechu22
c50567e1db Time track properly warps the MIDI event times (but not pitches)
mMidiPlaySpeed doesn't handle all of the options provided by time tracks,
and in fact doesn't even use time tracks.  Using the time track
instead allows note tracks to remain synchronized with the rest of the audio.

mMidiPlaySpeed _did_ work where it was used in the transcription tool
bar, but that already updates a time track so no special handling is
needed.
2017-07-16 14:28:58 -04:00
James Crook
8b37ac5c39 Merge pull request #199 from henricj/appveyor_fix
Update appveyor.yml.
Version 2.2.0 alpha, including gettext, our customised wxWidgets, and creating a build artifact
2017-07-16 18:30:59 +01:00
Paul Licameli
1d5a9453eb Various small fixes for MIDI playback, including Cut Preview (C key) 2017-07-16 12:05:47 -04:00
Pokechu22
19b11c09fe Fix cut preview with note tracks 2017-07-16 11:07:29 -04:00
Pokechu22
8a02687b5f Fix velocity offset edge case
If the velocity of a note was, for instance, 30, and the velocity slider was at -30, then you'd get a data2 of 0, which wouldn't be clamped (and would produce a note off).  However, if the note were 29 or 31, you'd get a velocity of 1.  This makes it so that note ons always have a velocity of at least 1, even in that edge case.
2017-07-16 11:07:28 -04:00
Pokechu22
896d5d682b Fix drawing MIDI channels with IDs greater than 16
PRL mentioned a while ago that it was possible to get channels greater
than 16 via allegro files.  This makes those channels correctly work with
the CHANNEL_BIT macro (which was supposed to handle them this way before).
2017-07-16 11:07:28 -04:00
Pokechu22
62ebb2f95d Remove unused and unneeded MIDI methods and variables
The fields in AudioIO are simply unneeded (commented out, declared but never implemented, or otherwise unused).

mLastMidiPosition (in NoteTrack) looks like the vestiges of a far older attempt at MIDI playback; the field itself is completely unused though so it is safe to remove it.
2017-07-16 11:07:28 -04:00
Pokechu22
437de15098 Add more method and field documentation
Mostly for MIDI-specific areas, and general AudioIO fields.
2017-07-16 11:07:28 -04:00
Pokechu22
bd294ea4ed Midi diag mentions conditional compilation flags, but only in ALPHA 2017-07-16 11:06:13 -04:00
Pokechu22
681161f60b Add MIDI device diagnostics
* MIDI Device Info menu item, like Audio Device Info

 * MIDI device info in crash reports

 * Only enabled with EXPERIMENTAL_MIDI_OUT, but tracks info related to the (unimplemented) EXPERIMENTAL_MIDI_IN
2017-07-16 10:58:53 -04:00
Paul Licameli
053b0b583d Fix highlight of TCP menu button after command 2017-07-16 00:55:16 -04:00
Paul Licameli
ca83b06e84 fix i18n-hint 2017-07-15 21:11:44 -04:00