13
0
Commit Graph

131 Commits

Author SHA1 Message Date
0483803186 Further Freesound tweaks.
Make download of sound files multi-threaded. Each sound file download takes
place in its own thread, and has its own progress bar and cancel button,
which stack up from the bottom of the list of results.
Sound files download into a file with a '.part' suffix, which is then
renamed to the intended name on success.
Add a 'Similar' button, which searches Freesound for sounds similar to the
currently-selected sound in the results list.
2013-06-21 21:30:52 +01:00
ce0aa96838 NOOP - use PBD's std::string to number functions 2013-06-08 09:03:26 +02:00
Roy Vegard Ovesen
81a343ff7f Make sure every imported file is copied to the session path 2013-03-31 03:59:10 +02:00
b691d4bf04 fix up some confusion with filesources' _origin and _file_is_new members. if _origin is set, it means that the file is "external" to the session (aka "embedded") and for some purposes this is more significant than _file_is_new. rename SourceFactory::createReadable() to ::createExternal() to more clearly indicate its purpose; remove never-supplied "origin" argument from SourceFactor::createWritable(). Fixes problems caused by 864ce8f0 2013-03-30 14:02:26 -04:00
2233e91086 Freesound fixes for #5853, and a few other small improvements
Add a 'More' button to load the next page of results without clearing the already-found list.
Don't allow cancellation of searches, and don't update progress bar around searches, since we only get one page at a time now.
Show number of pages of results remaining to download in the tooltip of the 'More' button.
Use a new Mootcher object for each request, to avoid bad things happening when clicking in the Freesound search results list while a search or file download is already in progress.
Make the 'Stop' button insensitive except when it will actually stop the download of a sound file.
Only retrieve one page worth of data per search, rather than looping to get all pages.
Don't show an error in the log window if the user cancelled download.
Request 100 items per page, rather than the default 30.
Fix DOS line endings.
2013-03-17 12:33:59 +00:00
926e1a000e fix File-Import resampling quality.
git-svn-id: svn://localhost/ardour2/branches/3.0@14113 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-03-01 00:29:11 +00:00
dabd5bd174 fix/revert/modify changes from 13617 that hide the gain + peak display from a generic GainMeter; name import dialog preview fader (fixes 5288)
git-svn-id: svn://localhost/ardour2/branches/3.0@13947 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21 14:24:57 +00:00
20f5d6736e yet another plural form fix
git-svn-id: svn://localhost/ardour2/branches/3.0@13766 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-03 19:53:11 +00:00
f47ef14fd3 plural form fix
git-svn-id: svn://localhost/ardour2/branches/3.0@13763 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-03 19:34:35 +00:00
74c9c806d2 remove stay-on-top behavior from import dialog, and set its WM class
git-svn-id: svn://localhost/ardour2/branches/3.0@13721 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-23 20:34:43 +00:00
836948506a some more tweaks for the import dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@13718 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-23 18:39:19 +00:00
be4337689e make import dialog non-modal
git-svn-id: svn://localhost/ardour2/branches/3.0@13717 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-23 18:25:26 +00:00
92a2b8cb3f more freesound UI tweaks:
* shrink filename column between searches
 * match-count: translatable sigular/plural forms

git-svn-id: svn://localhost/ardour2/branches/3.0@13703 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-21 20:26:48 +00:00
09f5940c8c freesound: tom's diner^Wprogress bar
git-svn-id: svn://localhost/ardour2/branches/3.0@13702 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-21 19:32:21 +00:00
57b673a9d7 freesound display license
git-svn-id: svn://localhost/ardour2/branches/3.0@13701 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-21 19:32:19 +00:00
6d57f7e926 freesound import - various small tweaks
* quote search string
 * show filesize
 * include samplerate in list
 * filter out mp3s on Linux
 * decrease layout-spacing and shorten progressbar txt.

git-svn-id: svn://localhost/ardour2/branches/3.0@13700 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-21 17:28:44 +00:00
51091b2cf9 freesound: break page-request loop if search result is empty.
git-svn-id: svn://localhost/ardour2/branches/3.0@13699 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-21 14:26:10 +00:00
98834c0532 remove a bunch of cerr output and/or convert to use error<<
git-svn-id: svn://localhost/ardour2/branches/3.0@13477 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13 15:11:07 +00:00
a541e4e811 escape markup text that may contain non-legal characters (for GMarkup). this may need to be done more widely
git-svn-id: svn://localhost/ardour2/branches/3.0@13318 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-23 14:45:09 +00:00
a64a79b72c change packing/design/sizing/labels at bottom of import dialog (should fix #5062 and looks a bit prettier even in english)
git-svn-id: svn://localhost/ardour2/branches/3.0@13316 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-22 15:31:42 +00:00
105caf23da Use std::string instead of PBD::sys::path in pbd/search_path.h, pbd/file_utils.h and ardour/session_dir.h
git-svn-id: svn://localhost/ardour2/branches/3.0@12829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:06:54 +00:00
Carl Hetherington
46f594ac83 Make sure we always copy Freesound imported files as well as MIDI ones (#4675).
git-svn-id: svn://localhost/ardour2/branches/3.0@12789 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-19 21:40:06 +00:00
Carl Hetherington
508b5fa341 Disallow import-without-copy for MIDI files (#4148).
git-svn-id: svn://localhost/ardour2/branches/3.0@12774 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-18 23:42:54 +00:00
Carl Hetherington
1c2951e0ea Use preview filename rather than the first-alphabetically-sorted filename for preview in the import dialogue; should fix #4921.
git-svn-id: svn://localhost/ardour2/branches/3.0@12715 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-13 21:32:48 +00:00
Carl Hetherington
6624f9be37 Move delta-to-edit-point options to the main clock context menus (#4472).
git-svn-id: svn://localhost/ardour2/branches/3.0@12517 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-31 23:14:03 +00:00
6fa6514cfd Remove over 500 unnecessary includes (including 54 of session.h).
It's slightly possible that this causes trivial build failures on different
configurations, but otherwise shouldn't cause any problems (i.e. no actual
changes other than include/naming/namespace stuff).  I deliberately avoided
removing libardour-config.h since this can mysteriously break things, though a
few of those do seem to be unnecessary.

This commit only targets includes of ardour/*.h.  There is also a very large
number of unnecessary includes of stuff in gtk2_ardour; tackling that should
also give a big improvement in build time when things are modified.


git-svn-id: svn://localhost/ardour2/branches/3.0@12420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 06:09:29 +00:00
e47dfc0c1e when resetting the import dialog based on selceted track counts, change the file chooser filter to match a clear selection of a a particular track type (#4880)
git-svn-id: svn://localhost/ardour2/branches/3.0@12351 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-21 09:13:59 +00:00
Carl Hetherington
89aa30c151 Add a new import file filter for audio and MIDI and use it by default (should fix #4880).
git-svn-id: svn://localhost/ardour2/branches/3.0@12318 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-17 10:58:00 +00:00
Carl Hetherington
0860570c8c Fix a few unchecked XML child / property lookups
(#4814).


git-svn-id: svn://localhost/ardour2/branches/3.0@11894 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-11 10:51:21 +00:00
Ben Loftis
164db566b0 various tweaks to Freesound UI and code. keep a single mootcher to speed up operations; add text to progress bar, stop storing xml files, auto-increment pages until user clicks stop.
git-svn-id: svn://localhost/ardour2/branches/3.0@11801 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-05 21:31:55 +00:00
Carl Hetherington
c23a34a5a5 Freesound tweaks from colinf (#4761).
git-svn-id: svn://localhost/ardour2/branches/3.0@11636 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-09 22:02:48 +00:00
577469a06a colinf's 2011-12-08 patch for freesound mootcher (add stop, remove URI, clear barberpole, etc)
git-svn-id: svn://localhost/ardour2/branches/3.0@11265 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-18 18:43:43 +00:00
e70249ab65 Pack toolbar combo boxes with expand=false and remove size kludges.
Turns out gtk these days sizes combo boxes with precisely enough space if
packed to not expand, none of this mess is necessary any more.


git-svn-id: svn://localhost/ardour2/branches/3.0@10790 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-23 08:35:41 +00:00
b25fbc8a95 all new implementation of audio clocks, with entirely new editing model. not entirely finished, but lookable, and usable
git-svn-id: svn://localhost/ardour2/branches/3.0@10662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-17 22:49:13 +00:00
f1ed13ee4d allow compilation without --freesound
git-svn-id: svn://localhost/ardour2/branches/3.0@10597 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 22:17:31 +00:00
1d984b7985 the return of basic FreeSound mootcher functionality, c/o colinf. lots of bugs and workflow issues to still resolve, but good to play with. remember that ardour can't play mp3's
git-svn-id: svn://localhost/ardour2/branches/3.0@10596 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-14 22:04:14 +00:00
8fb9e72a77 allow import to selected MIDI tracks (note that this gets confused if the MIDI file contains multiple MetaTracks - each track ends up in the same track, which may or may not be the right thing)
git-svn-id: svn://localhost/ardour2/branches/3.0@9938 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-26 17:22:10 +00:00
83f385d263 audio clock switchover part2: remove most egregious include-time dependency on audio_clock.h, and alter API for a few utilities along the way
git-svn-id: svn://localhost/ardour2/branches/3.0@9673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 17:50:37 +00:00
ed626628b5 Delete trailing whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 17:00:29 +00:00
Carl Hetherington
73192bc1a7 Remove all use of nframes_t.
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03 22:26:29 +00:00
b85b4d9e54 make ardour3 build and link on OS X (tiger, at least)
git-svn-id: svn://localhost/ardour2/branches/3.0@8018 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-13 05:14:48 +00:00
8df3e242be ellipsize file name at top of preview pane; allow a bit more room for file format text in preview pane
git-svn-id: svn://localhost/ardour2/branches/3.0@7971 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-05 16:18:40 +00:00
ede4ecbb00 megaopus patch #2 for today: remove nframes64_t and sframes_t from source
git-svn-id: svn://localhost/ardour2/branches/3.0@7792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-17 18:20:37 +00:00
da8eec7a83 remove Glib::ustring from gtk2_ardour
git-svn-id: svn://localhost/ardour2/branches/3.0@7774 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-14 16:51:02 +00:00
Carl Hetherington
57ec614531 Reset the available import dialogue menu options when a selection is made from the channel_combo. Sort-of fixes #3397, in that you can select to selected tracks' option on the add files menu even if the number of selected tracks is not the same as the number of imported files.
git-svn-id: svn://localhost/ardour2/branches/3.0@7709 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-30 00:54:02 +00:00
b2bf4eee3d 2.X commits up to and including 7519
git-svn-id: svn://localhost/ardour2/branches/3.0@7661 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-20 22:36:35 +00:00
f5c4c8a293 forward port 2.X changes up to and including rev 6767
git-svn-id: svn://localhost/ardour2/branches/3.0@7636 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-17 00:28:20 +00:00
Carl Hetherington
ed74a89820 Give a better message to warn of unsupported MIDI file audition.
git-svn-id: svn://localhost/ardour2/branches/3.0@7121 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-19 23:36:40 +00:00
Carl Hetherington
e55f93ff61 Fix #3077 properly.
git-svn-id: svn://localhost/ardour2/branches/3.0@6993 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-26 00:57:35 +00:00
Carl Hetherington
44b639b475 Add missing string to disposition_map. Fixes #3077.
git-svn-id: svn://localhost/ardour2/branches/3.0@6969 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-23 01:41:44 +00:00