Re: [Audacity-devel] When to commit changes under USE_MIDI, EXPERIMENTAL_MIDI_OUTPUT and EXPERIMENT
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Al D. <bus...@gm...> - 2010-09-19 01:06:29
|
On Saturday, September 18, 2010 14:18:50 Roger Dannenberg wrote: > I just committed files that seem to be working well on Windows > Vista (32 bit) and Visual Studio. I added the following files: > > images/Cursor16/StretchCursor.xpm > images/Cursor16/StretchLeftCursor.xpm > images/Cursor16/StretchRightCursor.xpm > image/Cursor32/StretchCursor.xpm > images/Cursor32/StretchLeftCursor.xpm > images/Cursor32/StretchRightCursor.xpm > lib-src/libscorealign/ScoreAlignParams.h > src/effects/ScoreAlignDialog.h > src/effects/ScoreAlignDialog.cpp > > so there will be some undefined symbols until Linux and OS X > makefiles are modified (but things should continue to work if > USE_MIDI is not defined). > > As a reminder, USE_MIDI enables NoteTracks. EXPERIMENTAL_MIDI_OUT > enables MIDI output (requires USE_MIDI), and > EXPERIMENTAL_SCOREALIGN enables midi-to-audio alignment in the > Tracks menu (one audio and one note track must be selected) (also > requires USE_MIDI). > > I forgot to add that NoteTracks now show up in the Mixer Panel as > well as audio, and you can adjust a MIDI velocity offset. Nothing > fancy. > > On 9/18/2010 1:08 PM, Al Dimond wrote: > > I'll be personally interested in the following: > > 1. Making sure core editing operations and effects treat > > NoteTracks in the most consistent ways possible. > > Editing operations should work (cut, paste, etc.) but effects that > insert audio (e.g. generate silence) do not affect NoteTracks. This > is probably harder to design than implement. If/when this is > solved for labels, maybe we can apply similar solutions to > NoteTracks. > A lot of the effect code should actually handle NoteTracks fairly gracefully, though I haven't tested it. When I was looking through effects for Sync-Locking I saw that typically there's a series of tests for track type, and for effects that move audio in time there's often a fallback that uses only editing primitives available in Track -- sometimes LabelTracks fall through to this code. I think label tracks actually work pretty well with effects at this point... as long as NoteTracks implement all the Track editing primitives the same way as other Track subclasses there should already be some reasonable behavior in there. If we decide that the standard effects can't affect anything in a NoteTrack except timing, everything gets a lot easier... that really might be the most "honest" solution anyway, as we probably can't really get pitch- and volume-changing effects right all the time. > > 2. What we should do with sync-locking (I am inclined to include > > NoteTracks in sync-lock groups once the core editing operations > > are solid and consistent. > > NoteTracks are now in sync-lock groups. Let me know what you think, > especially if the behavior is not what you would expect. > Cool. I'll take a look at it later. Thanks! - Al > > Maybe this is all post-2.0, but anyway, it's something I'll be > > looking out for. > > > > - Al |