Commit Graph

23 Commits

Author SHA1 Message Date
031b910cab PT import: editor_pt_import complete rewrite 2018-10-12 19:09:40 +11:00
e0947579b9 pt import: Add commented out code for inserting silent missing sources
- Disabled due to ptformat not knowing the length of sources
- Added MIDI region/track summary information to dialog
2018-04-08 15:31:52 +10:00
5e2d5db6c7 Fix midi track mapping on pt import 2018-03-18 11:41:54 +11:00
c2ed125b8d Remove another C++11 construct (local struct) from UI code 2018-03-17 20:00:08 +01:00
37e5b705e7 Fix wrong "_nth_" replacement in ba202cc09 2018-03-17 18:17:25 +01:00
ba202cc095 Don't alter, use and rely on selection for PT import 2018-03-17 17:32:29 +01:00
a36901a0d9 NO-OP: C++ify code
* remove typdef for struct
* Remove {} struct initializer, use a dedicated c'tor
* scope variables
2018-03-17 17:21:21 +01:00
9777baae00 NO-OP: whitespace
* distinguish comments and commented-out-code
* add space after function, before bracket
2018-03-17 17:15:44 +01:00
8b925fc395 PT import: Use multitrack MIDI import support based on ptformat update 2018-03-17 22:41:44 +11:00
0073206508 Revert "editor_pt_import: Process wav indexes once only"
This reverts commit 7422ffe692.
2017-11-18 15:28:39 +11:00
7422ffe692 editor_pt_import: Process wav indexes once only 2017-10-15 17:18:33 +11:00
7db12f6b12 convert codebase to use Temporal for various time types 2017-09-24 12:03:54 -04:00
30b087ab3d globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
f9e5e4360e Move more Gtkmm2ext widgets into libwidget 2017-07-17 21:06:04 +02:00
4f4400b764 PT import: Add MIDI import functionality
This change adds support for importing all MIDI regions
from a PT session onto a single track.

Unfortunately, currently we don't know how to set the start
offset of MIDI regions reliably, therefore all midi regions
get dumped at the beginning of the Ardour session.

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2017-02-17 15:36:02 +01:00
cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
e0ff70cf86 first vaguely working version using PresentationInfo
remote control ID and "order keys" have been removed.
2016-05-31 15:30:42 -04:00
f03252cf88 possible fix or workaround[?] for pt track-name encoding 2016-05-23 00:05:02 +02:00
277893b130 ptformat: Make PT import more resilient to bad user choices and display messages
Previously, libptformat would attempt to parse all kinds of files,
now the library stops parsing when the version number and session rate
is outside valid ranges, returning an error code to the caller.

If there is a valid PT file detected, but some audio files are missing,
Ardour now pops up an error message to inform the user that some files
may be missing from the import.  A success message is displayed otherwise.

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-04-16 12:21:12 +02:00
84938f31cf Fix more warnings
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2015-08-09 01:42:22 +10:00
72041726fb Added pt5 pt7 ptx initial format support
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2015-08-09 00:48:16 +10:00
1d6e8f6681 Fixed pt import start offsets and samplerate mismatch offsets
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2015-08-06 17:35:17 +10:00
d686cb213f Added PT .ptf session audio import functionality
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2015-08-06 00:28:35 +02:00