Hans Baier [Tue, 17 Feb 2009 16:42:17 +0000 (16:42 +0000)]
* FIXME in midi_util.h
git-svn-id: svn://localhost/ardour2/branches/3.0@4615
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 17 Feb 2009 06:09:37 +0000 (06:09 +0000)]
Fix deadlock and potential race condition when editing MIDI.
git-svn-id: svn://localhost/ardour2/branches/3.0@4614
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 17 Feb 2009 03:49:32 +0000 (03:49 +0000)]
Make a bunch of stuff boost::noncopyable.
Clean up.
git-svn-id: svn://localhost/ardour2/branches/3.0@4613
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 17 Feb 2009 02:45:58 +0000 (02:45 +0000)]
Fix crazy spacey tabs, width, other super relevant rocket scientist type things.
git-svn-id: svn://localhost/ardour2/branches/3.0@4612
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Tue, 17 Feb 2009 02:34:38 +0000 (02:34 +0000)]
Make range selection context menu work again.
git-svn-id: svn://localhost/ardour2/branches/3.0@4611
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 17 Feb 2009 02:19:16 +0000 (02:19 +0000)]
Remove unnecessary/unused template parameter from canvas sysex flags.
Add license headers to canvas sysex files (tsk, tsk).
git-svn-id: svn://localhost/ardour2/branches/3.0@4610
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 17 Feb 2009 02:11:49 +0000 (02:11 +0000)]
Fix the horrible mess that was anything related to sources and paths.
Most significant changes:
- Factor out FileSource from AudioFileSource, use for SMFSource too
- Explicitly pass embedded rather than mysterious name mangling or whatever
- Destroy a ton of duplicated or very-nearly-duplicated code
- Clean up and document all that weird source stuff in session.cc
git-svn-id: svn://localhost/ardour2/branches/3.0@4609
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Tue, 17 Feb 2009 00:12:22 +0000 (00:12 +0000)]
Fix for visual glitch due to race between Editor::update_current_screen being called and a locate event being processed.
git-svn-id: svn://localhost/ardour2/branches/3.0@4608
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 16 Feb 2009 23:32:59 +0000 (23:32 +0000)]
Fix crash on audio record (time converter segfault wackiness).
git-svn-id: svn://localhost/ardour2/branches/3.0@4607
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Sampo Savolainen [Mon, 16 Feb 2009 19:06:27 +0000 (19:06 +0000)]
Fix memory leak.
git-svn-id: svn://localhost/ardour2/branches/3.0@4606
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 16 Feb 2009 18:08:22 +0000 (18:08 +0000)]
Move duplicated AudioFileSource::Flags and SMFSource::Flags into Source.
Clean up source stuff.
git-svn-id: svn://localhost/ardour2/branches/3.0@4605
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Mon, 16 Feb 2009 09:51:40 +0000 (09:51 +0000)]
* First prototype of SysEx GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@4604
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 16 Feb 2009 07:04:27 +0000 (07:04 +0000)]
Fix a bunch of the ol' trivial audio-specific-for-no-particular-reason things.
Re-addition of this sort of thing is now officially punishable by death ;)
git-svn-id: svn://localhost/ardour2/branches/3.0@4603
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 16 Feb 2009 07:02:28 +0000 (07:02 +0000)]
Fix crash iterating over sequences with no controls (and Sequence iterator sanity in general).
git-svn-id: svn://localhost/ardour2/branches/3.0@4602
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 16 Feb 2009 05:54:12 +0000 (05:54 +0000)]
Fix time / positioning of PC flags (beat time).
Fix needless string copying in flag stuff.
Clean up.
git-svn-id: svn://localhost/ardour2/branches/3.0@4601
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 16 Feb 2009 05:33:23 +0000 (05:33 +0000)]
Don't do a linear search through controls for program change for no reason.
Clean up.
git-svn-id: svn://localhost/ardour2/branches/3.0@4600
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 16 Feb 2009 05:13:05 +0000 (05:13 +0000)]
Don't bind playlist_modified with a shared_ptr<Playlist> parameter.
Clean up.
git-svn-id: svn://localhost/ardour2/branches/3.0@4599
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 16 Feb 2009 04:53:01 +0000 (04:53 +0000)]
Fix crash when NullAutomation is created (which shouldn't be happening, but hey...).
git-svn-id: svn://localhost/ardour2/branches/3.0@4598
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 16 Feb 2009 04:46:45 +0000 (04:46 +0000)]
Time unit translation for AutomationLine (correctly display MIDI controller data).
git-svn-id: svn://localhost/ardour2/branches/3.0@4597
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 16 Feb 2009 04:46:06 +0000 (04:46 +0000)]
Fix crash on iteration over an empty sequence and/or recording controllers only.
git-svn-id: svn://localhost/ardour2/branches/3.0@4596
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 16 Feb 2009 04:39:34 +0000 (04:39 +0000)]
Fix deadlock issues.
Add IdentityConverter for when no conversion is actually needed.
git-svn-id: svn://localhost/ardour2/branches/3.0@4595
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 16 Feb 2009 02:51:16 +0000 (02:51 +0000)]
Move all beats <-> frames time conversion into a single object that can be passed around.
This has 3 main benefits:
- All conversion code is in one place (less duplication, potential bugs)
- The conversion method can be passed to things that are ignorant
of the actual time units involved, information required, etc.
(In the future it would be nice to have user selectable tempo/frame time)
- It should be relatively simple now to support tempo changes part-way
through a MIDI region (at least architecturally speaking)
git-svn-id: svn://localhost/ardour2/branches/3.0@4594
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 16 Feb 2009 01:12:49 +0000 (01:12 +0000)]
Fix horizontal positioning of PC flags.
git-svn-id: svn://localhost/ardour2/branches/3.0@4593
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 16 Feb 2009 00:53:26 +0000 (00:53 +0000)]
Gracefully ignore illegal MIDI events at the buffer level (i.e. from Jack).
Ardour should now be able to more or less tolerate crazy incoming MIDI (except for SYSEX).
git-svn-id: svn://localhost/ardour2/branches/3.0@4592
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 16 Feb 2009 00:36:11 +0000 (00:36 +0000)]
Gracefully ignore illegal MIDI events.
git-svn-id: svn://localhost/ardour2/branches/3.0@4591
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 16 Feb 2009 00:16:28 +0000 (00:16 +0000)]
Rewrite Sequence::const_iterator.
Fixes crash bug when seeking back and forth from start to end of session.
Not sure about other things, but it makes a lot more sense now anyway...
git-svn-id: svn://localhost/ardour2/branches/3.0@4590
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 23:47:09 +0000 (23:47 +0000)]
Trim include dependency tree (particularly on evoral/Sequence.hpp).
git-svn-id: svn://localhost/ardour2/branches/3.0@4589
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 22:10:32 +0000 (22:10 +0000)]
Clean up fugly debug printing stuff.
git-svn-id: svn://localhost/ardour2/branches/3.0@4588
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 21:19:01 +0000 (21:19 +0000)]
Bring the note mode menu back from the dead.
Fix percussive note (diamonds) placement.
git-svn-id: svn://localhost/ardour2/branches/3.0@4587
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 20:50:20 +0000 (20:50 +0000)]
Fix crash on reading meta event.
git-svn-id: svn://localhost/ardour2/branches/3.0@4586
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 20:31:05 +0000 (20:31 +0000)]
Factor out region layering.
Correctly layer automation regions to match the stacking of their 'real' counterparts.
git-svn-id: svn://localhost/ardour2/branches/3.0@4585
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 19:56:06 +0000 (19:56 +0000)]
Remove dead code.
git-svn-id: svn://localhost/ardour2/branches/3.0@4584
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 19:44:27 +0000 (19:44 +0000)]
Fix genererally retarded and broken note range / diskstream display / etc. related things (correctly display region contents on initial session load).
git-svn-id: svn://localhost/ardour2/branches/3.0@4583
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 17:30:42 +0000 (17:30 +0000)]
The Big Change: Store time in MidiModel as tempo time, not frame time.
The time stamp of an event is now always tempo, from file to model and
back again. Frame time is only relevant at playback or recording time,
in the audio thread (MidiModel and MidiBuffer).
I think perhaps we don't need to change the actual time from double (which is
convenient for math), it is the time base conversion that caused problems.
Using a correct equality comparison (i.e. not == which is not correct for
floating point) should probably make the undo issues go away, in 99.99% of
cases anyway.
There's almost certainly some regressions in here somewhere, but they do not
seem to be time related. The bugs I'm hitting in testing are old ones that
seem unrelated now, so it's checkpoint time.
This sets us up for fancy things like tempo map import and tempo/meter changes
halfway through MIDI regions, but for now it's still assumed that the tempo
at the start of the region is valid for the duration of the entire region.
git-svn-id: svn://localhost/ardour2/branches/3.0@4582
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 17:16:58 +0000 (17:16 +0000)]
Make smf_track_get_next_event gracefully handle empty tracks.
git-svn-id: svn://localhost/ardour2/branches/3.0@4581
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 03:51:49 +0000 (03:51 +0000)]
Commit of the century, right here.
git-svn-id: svn://localhost/ardour2/branches/3.0@4580
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 03:45:00 +0000 (03:45 +0000)]
Oops. Fix XML stuff in GUI as well.
git-svn-id: svn://localhost/ardour2/branches/3.0@4579
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 03:37:08 +0000 (03:37 +0000)]
More contrast for MIDI notes.
git-svn-id: svn://localhost/ardour2/branches/3.0@4578
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 03:21:30 +0000 (03:21 +0000)]
Session XML style consistency (tag names are capitalized).
One thing left, this weird "end-marker-is-free" in <Config>. Is this really a config option? Anyone?
git-svn-id: svn://localhost/ardour2/branches/3.0@4577
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 03:00:04 +0000 (03:00 +0000)]
Tidy, remove dead code.
git-svn-id: svn://localhost/ardour2/branches/3.0@4576
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 02:36:15 +0000 (02:36 +0000)]
Tidy.
git-svn-id: svn://localhost/ardour2/branches/3.0@4575
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 02:14:23 +0000 (02:14 +0000)]
Shutup.
git-svn-id: svn://localhost/ardour2/branches/3.0@4574
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 02:09:58 +0000 (02:09 +0000)]
Cache file position in SMFSource::read_unlocked (i.e. don't seek to start and search every single time).
git-svn-id: svn://localhost/ardour2/branches/3.0@4573
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 01:53:06 +0000 (01:53 +0000)]
Clean up.
git-svn-id: svn://localhost/ardour2/branches/3.0@4572
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 01:32:41 +0000 (01:32 +0000)]
De-templatify Evoral::SMF which has no concept of time other than SMF time.
git-svn-id: svn://localhost/ardour2/branches/3.0@4571
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 15 Feb 2009 01:24:26 +0000 (01:24 +0000)]
Use nframes_t for timestamps of real (jack) time MIDI events (i.e. in MidiBuffer and MidiRingBuffer).
Use iterator interface of Sequence to read events in a MIDISource rather than Sequence::read, avoiding timestamp confusion.
Disable no longer useful Sequence::read.
git-svn-id: svn://localhost/ardour2/branches/3.0@4570
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 14 Feb 2009 23:48:18 +0000 (23:48 +0000)]
Tidy.
git-svn-id: svn://localhost/ardour2/branches/3.0@4569
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 14 Feb 2009 23:41:05 +0000 (23:41 +0000)]
Remove superfluous typedefs.
Don't set range on sysex parameters (fix warning).
git-svn-id: svn://localhost/ardour2/branches/3.0@4568
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 14 Feb 2009 22:52:38 +0000 (22:52 +0000)]
Make SMF::append_event_delta take a buffer and a size rather than an Event (no point, more generic, etc.).
git-svn-id: svn://localhost/ardour2/branches/3.0@4567
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 14 Feb 2009 22:49:25 +0000 (22:49 +0000)]
Const correctness.
git-svn-id: svn://localhost/ardour2/branches/3.0@4566
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 14 Feb 2009 22:40:55 +0000 (22:40 +0000)]
Remove unused (and timestamp type nasty) last_event_time() from SMF.
I swear I already did this.
git-svn-id: svn://localhost/ardour2/branches/3.0@4564
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 14 Feb 2009 22:32:36 +0000 (22:32 +0000)]
While I'm doing trivial prettification things and not giving a damn about superficial divergence:
- Remove tab width assumption in struct members that looked atrocious at ts=4
- Line up function names for easier/faster readability
git-svn-id: svn://localhost/ardour2/branches/3.0@4563
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 14 Feb 2009 22:27:17 +0000 (22:27 +0000)]
Line wrap at 100 lines so I can read things :).
Formatting changes only.
git-svn-id: svn://localhost/ardour2/branches/3.0@4562
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 14 Feb 2009 22:23:40 +0000 (22:23 +0000)]
Update for libsmf API changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@4561
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 14 Feb 2009 22:22:55 +0000 (22:22 +0000)]
Fix types to be warning clean on 64 bit.
git-svn-id: svn://localhost/ardour2/branches/3.0@4560
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 14 Feb 2009 20:53:51 +0000 (20:53 +0000)]
Update autowaf (fix mandatory header check).
git-svn-id: svn://localhost/ardour2/branches/3.0@4559
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 14 Feb 2009 20:52:15 +0000 (20:52 +0000)]
MIDI robustness.
- Separate SMF::open and SMF::create, more powerful interface for both.
- Correctly handle note ons with velocity 0 as note offs in sequence.
- Use SMF (i.e. libsmf) for MIDI import
git-svn-id: svn://localhost/ardour2/branches/3.0@4558
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Sat, 14 Feb 2009 20:17:45 +0000 (20:17 +0000)]
If a bundle's channel has no ports associated with it, you can't connect
it to anything; mark things up accordingly in the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@4557
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Sat, 14 Feb 2009 19:45:30 +0000 (19:45 +0000)]
Make DnD copy processors using their XML representations. Remove unused
copy constructors from the Processor hierarchy, and declare them private
to explicitly disallow copy construction.
git-svn-id: svn://localhost/ardour2/branches/3.0@4556
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 14 Feb 2009 17:59:58 +0000 (17:59 +0000)]
Fix most absurd function name I've seen in a while.
git-svn-id: svn://localhost/ardour2/branches/3.0@4555
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 14 Feb 2009 17:54:45 +0000 (17:54 +0000)]
More powerful SMF::open interface.
git-svn-id: svn://localhost/ardour2/branches/3.0@4554
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 14 Feb 2009 17:39:49 +0000 (17:39 +0000)]
Remove abstract MIDIFile interface (maintaining interface with old crap was getting annoying).
git-svn-id: svn://localhost/ardour2/branches/3.0@4553
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 14 Feb 2009 17:35:34 +0000 (17:35 +0000)]
LibSMF -> SMF
git-svn-id: svn://localhost/ardour2/branches/3.0@4552
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 14 Feb 2009 17:28:57 +0000 (17:28 +0000)]
SMF -> OldSMF
git-svn-id: svn://localhost/ardour2/branches/3.0@4551
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Sat, 14 Feb 2009 17:28:01 +0000 (17:28 +0000)]
Fix send copying by paste and drag n drop.
git-svn-id: svn://localhost/ardour2/branches/3.0@4550
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Sat, 14 Feb 2009 07:21:01 +0000 (07:21 +0000)]
* second part of the last fix
git-svn-id: svn://localhost/ardour2/branches/3.0@4549
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Sat, 14 Feb 2009 07:18:38 +0000 (07:18 +0000)]
* fix concerning a comment on issue 2541: Go back to the last MIDI beat on stop
git-svn-id: svn://localhost/ardour2/branches/3.0@4548
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 14 Feb 2009 03:28:12 +0000 (03:28 +0000)]
Less weak plugin preset system (maybe AU preset stuff can use the 'normal' thing instead of being all weird now?).
LV2 preset support as implemented in svn calf plugins (experimental extension).
git-svn-id: svn://localhost/ardour2/branches/3.0@4547
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 14 Feb 2009 01:00:15 +0000 (01:00 +0000)]
Mandatory check for boost headers.
git-svn-id: svn://localhost/ardour2/branches/3.0@4546
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Fri, 13 Feb 2009 08:29:23 +0000 (08:29 +0000)]
*session.h whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@4545
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Fri, 13 Feb 2009 08:29:12 +0000 (08:29 +0000)]
* Added CanvasSysEx class for displaying SysExes
git-svn-id: svn://localhost/ardour2/branches/3.0@4544
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Fri, 13 Feb 2009 08:29:01 +0000 (08:29 +0000)]
* MIDIClock_Slave: fixed bugs:
- not synced to session.audible_frame() but to session.transport_frame()
- failed asserts in song position
git-svn-id: svn://localhost/ardour2/branches/3.0@4543
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Fri, 13 Feb 2009 08:28:54 +0000 (08:28 +0000)]
* MIDIClock_Slave: Fix for devices that always send MIDI clock (not just between start/stop)
git-svn-id: svn://localhost/ardour2/branches/3.0@4542
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Thu, 12 Feb 2009 23:28:58 +0000 (23:28 +0000)]
* disabled debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@4541
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Thu, 12 Feb 2009 23:28:51 +0000 (23:28 +0000)]
* Evoral: SMFTest: added createNewFileTest (passes)
git-svn-id: svn://localhost/ardour2/branches/3.0@4540
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Thu, 12 Feb 2009 23:28:32 +0000 (23:28 +0000)]
* Swapped MidiSource to LibSMF
* integrated libsmf into scons
git-svn-id: svn://localhost/ardour2/branches/3.0@4539
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Thu, 12 Feb 2009 10:14:22 +0000 (10:14 +0000)]
* MIDI clock slave: issues 2541 and 2542 ready for testing (cant test myself due to lack of hardware)
* tempo.cc/tempo.h: formatting / whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@4538
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Wed, 11 Feb 2009 23:51:52 +0000 (23:51 +0000)]
Fix segfault on:
1. move a region to a new track.
2. trim it.
git-svn-id: svn://localhost/ardour2/branches/3.0@4537
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Wed, 11 Feb 2009 20:47:40 +0000 (20:47 +0000)]
verbosity--
git-svn-id: svn://localhost/ardour2/branches/3.0@4536
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Wed, 11 Feb 2009 20:37:22 +0000 (20:37 +0000)]
Remove unused (and weirdly typed) time parameter from begin_write.
Fix append_event_unlocked shadowing.
git-svn-id: svn://localhost/ardour2/branches/3.0@4535
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Wed, 11 Feb 2009 20:20:41 +0000 (20:20 +0000)]
verbosity--
git-svn-id: svn://localhost/ardour2/branches/3.0@4534
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Wed, 11 Feb 2009 20:15:25 +0000 (20:15 +0000)]
StandardMIDIFile -> MIDIFile.
git-svn-id: svn://localhost/ardour2/branches/3.0@4533
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Wed, 11 Feb 2009 17:59:33 +0000 (17:59 +0000)]
Detect libsmf error and throw exceptions.
git-svn-id: svn://localhost/ardour2/branches/3.0@4532
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Wed, 11 Feb 2009 17:38:40 +0000 (17:38 +0000)]
Include stripped down libsmf code internally.
git-svn-id: svn://localhost/ardour2/branches/3.0@4531
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Wed, 11 Feb 2009 17:20:46 +0000 (17:20 +0000)]
Fix some problems with dragging more than 1 region to a new track.
git-svn-id: svn://localhost/ardour2/branches/3.0@4530
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Wed, 11 Feb 2009 09:54:31 +0000 (09:54 +0000)]
* introduced dependency: libsmf-1.2
* extracted Interface from SMF: StandardMIDIFile
* first implementation of StandardMIDIFile based on libsmf that passes basic test
git-svn-id: svn://localhost/ardour2/branches/3.0@4529
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Wed, 11 Feb 2009 02:14:01 +0000 (02:14 +0000)]
Offer routes on mixer strip IO menus. Fixes to these menus on MIDI routes.
git-svn-id: svn://localhost/ardour2/branches/3.0@4528
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Wed, 11 Feb 2009 02:13:15 +0000 (02:13 +0000)]
Add connected_to ()
git-svn-id: svn://localhost/ardour2/branches/3.0@4527
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Wed, 11 Feb 2009 02:12:41 +0000 (02:12 +0000)]
Remove declaration of undefined method.
git-svn-id: svn://localhost/ardour2/branches/3.0@4526
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Wed, 11 Feb 2009 00:58:24 +0000 (00:58 +0000)]
Remove internal ports.
git-svn-id: svn://localhost/ardour2/branches/3.0@4525
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Wed, 11 Feb 2009 00:00:41 +0000 (00:00 +0000)]
*Evoral: Sequence: forgot to commit that
git-svn-id: svn://localhost/ardour2/branches/3.0@4524
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 10 Feb 2009 23:58:02 +0000 (23:58 +0000)]
* Evoral: Added Unit test for SMF
git-svn-id: svn://localhost/ardour2/branches/3.0@4523
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 10 Feb 2009 23:57:52 +0000 (23:57 +0000)]
* Evoral::Sequence: conditional compile for debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@4522
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 10 Feb 2009 22:06:56 +0000 (22:06 +0000)]
* Code readability: Template parameter <T> -> <Time>
git-svn-id: svn://localhost/ardour2/branches/3.0@4521
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Tue, 10 Feb 2009 15:58:03 +0000 (15:58 +0000)]
Duh. Simplify previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@4520
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Tue, 10 Feb 2009 15:45:06 +0000 (15:45 +0000)]
Add a rescan button.
git-svn-id: svn://localhost/ardour2/branches/3.0@4519
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 10 Feb 2009 08:43:43 +0000 (08:43 +0000)]
* fix MIDI playback
git-svn-id: svn://localhost/ardour2/branches/3.0@4518
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Hans Baier [Tue, 10 Feb 2009 08:43:35 +0000 (08:43 +0000)]
*Evoral::SMF fix reading/writing of SysEx Events
git-svn-id: svn://localhost/ardour2/branches/3.0@4517
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Tue, 10 Feb 2009 02:09:46 +0000 (02:09 +0000)]
Bit of a hack to make the port matrix for port inserts at least vaguely usable.
git-svn-id: svn://localhost/ardour2/branches/3.0@4516
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Tue, 10 Feb 2009 02:06:31 +0000 (02:06 +0000)]
Fix disassociation of all from a single channel.
git-svn-id: svn://localhost/ardour2/branches/3.0@4515
d708f5d6-7413-0410-9779-
e7cbd77b26cf