Commit graph

8092 commits

Author SHA1 Message Date
Robin Gareus
6ba555c2f5 prevent double declicks (click after RecStop)
If there's port-latency > period-size, there is a
split cycle with (this_event->action_frame - _transport_frame).
Yet Session::check_declick_out() keeps PendingDeclickOut if
StopPendingCapture is set. The route declick’ed twice:
Once with the period-size and one with the remaining frames,
which resulted in a click.
2015-04-07 05:25:18 +02:00
Robin Gareus
a306968283 linear declick 2015-04-07 05:25:12 +02:00
Robin Gareus
83519faffb low-pass filter gain-fader.
fixes various fader zipper noise issues.
It voids sample accuate fader automation (the fader-gain
is low-pass filtered at 10Hz). Yet all musical purposes this
makes a lot more sense than sample accuracy anyway.
2015-04-07 05:21:57 +02:00
Paul Davis
528f945ba3 fix crash during new session creation when sync-to-JACK is enabled as a preference 2015-04-06 21:19:51 -04:00
Paul Davis
a83305169a fix ambiguous use of pow() 2015-04-05 15:13:59 -04:00
Paul Davis
2f02b921f1 bump default silent-after-seconds duration to 10 minutes 2015-04-05 14:04:28 -04:00
Paul Davis
8a5b5145cc add libardour code for going completely silent after a compile-time defined number of seconds 2015-04-05 14:02:30 -04:00
Robin Gareus
6a7cb8f4e8 AU preset debuging 2015-04-05 18:05:32 +02:00
Paul Davis
cb94afa9b9 removed unusued value_as_string.cc source file 2015-04-05 11:16:17 -04:00
Robin Gareus
f0231766d7 session rename details:
* don’t allow to rename read-only sessions
* prevent periodic save (while rename is in progress)
* no renaming while actively recording (peak files
  among other things will mess things up)
2015-04-05 16:02:07 +02:00
Robin Gareus
4b485332ce fix renaming renamed session. 2015-04-05 16:01:08 +02:00
Robin Gareus
5694509bdf fix rename error message 2015-04-05 15:40:25 +02:00
Robin Gareus
1395125283 update peak filename when renaming session, fixes #5869 2015-04-05 14:55:19 +02:00
Robin Gareus
a8d9014215 add missing include
hopefully fixes string collection
2015-04-05 03:13:12 +02:00
Robin Gareus
5ded2ad928 децибел 2015-04-05 03:03:43 +02:00
Edgar Aichinger
fdad174932 fix mistake in small .de update 2015-04-04 19:46:49 +02:00
Edgar Aichinger
a45feecb1b another small .de update 2015-04-04 19:18:11 +02:00
Robin Gareus
7c146a9e22 fix OSC parameter mapping, fixes #6224
(ignore non control ports in numbering)
2015-04-04 03:16:53 +02:00
Paul Davis
84c1bbb4c7 when copying A3 config files, consider that the user may have /config rather than /ardour.rc.
This will be true if they have been self-building from git or
using nightlies.
2015-04-02 19:03:06 -04:00
Valeriy Kamyshniy
21193c6fca [Summary] Adding option to avoid sorting the routs in Session::foreach method. Now ARDOUR_UI::every_second do not spend time for unnecessary sorting when calling update_disk_space().
[Reviewed] Paul Davis
[Required review] YPozdnyakov, GZharun
2015-04-02 16:32:41 -04:00
Robin Gareus
192e1c6156 fix #6227, ‘old_peak_path()’ does not exist on win.
or rather mountpoint() does not. in any case
there never was a windows release without libsndfile, so checking for peaks pre-libsndfile
is moot.
2015-04-02 18:51:20 +02:00
Robin Gareus
826e25cbf3 NOOP, just whitespace 2015-04-01 17:59:32 +02:00
Paul Davis
7b844a52ee add header to deal with destruction issues for tempo map 2015-04-01 11:58:31 -04:00
nick_m
35f69656e8 Window focus handling fixes.
Many windows were not getting key events.
Use magic focus infrastructure (built for widgets) to deliver key events
via window focus in/out.
2015-04-02 02:41:49 +11:00
Paul Davis
9a4827374c remove race condition when editing tempo/meter information.
Lock was not held across a replace_{tempo,meter}() operation because of re-use
of {remove,add}_{tempo,meter}. Moved functional code into _locked variants so
that replace operation can hold lock across its entire active lifetime.
2015-04-01 11:22:35 -04:00
Paul Davis
73f967c330 delete tempo map at appropriate times 2015-04-01 10:58:56 -04:00
Paul Davis
36140d4d01 updated i18n files from ./waf i18n 2015-03-31 20:16:25 -04:00
Paul Davis
c89f24e207 fixes for recent waves tracks => ardour cherry-picks of the wavesaudio backend 2015-03-31 18:03:51 -04:00
Paul Davis
a5fc4dc614 add new signals to AudioEngine from waves backend changes.
These were missed somehow during cherry-picking.
2015-03-31 17:29:42 -04:00
Paul Davis
458fc3ad75 manually merge current version of WavesMidiDevice::{open,close}() 2015-03-31 17:29:42 -04:00
Valeriy Kamyshniy
83001e7e52 [Summary] Audio Backend code cleanup - PORTION B
Conflicts:
	libs/backends/wavesaudio/waves_midi_device.cc
2015-03-31 17:29:42 -04:00
Valeriy Kamyshniy
91f5eb9fef [Summary] Audio Backend code cleanup - PORTION A
Conflicts:
	libs/backends/wavesaudio/waves_midi_device.cc
2015-03-31 17:29:42 -04:00
Greg Zharun
47adf3ba37 [Summary] Changed midi stop order related to audio 2015-03-31 17:29:42 -04:00
Greg Zharun
708f4bf12b [Summary] Removed unnecessary abortion 2015-03-31 17:29:42 -04:00
Greg Zharun
22d68d14ce [Summary] Very seldom crash. Cleared temp data gave almost stable work
Conflicts:
	libs/backends/wavesaudio/waves_midi_device.cc
2015-03-31 17:29:42 -04:00
Greg Zharun
23214f6e61 [Summary] Fixed several backend issues: made reset counter check atomic, removed copy/paste mistakes
Conflicts:
	libs/ardour/audioengine.cc
	libs/ardour/engine_state_controller.cc
	libs/backends/wavesaudio/waves_audiobackend.cc
2015-03-31 17:29:41 -04:00
GZharun
3f5bf264c3 [Summary] Fixed crash on MAC when MIDI device name is 0 ref 2015-03-31 17:29:41 -04:00
Greg Zharun
85b4577d7a [Summary] Removed useless output 2015-03-31 17:29:41 -04:00
Greg Zharun
a2f82f8c5d [Summary] Added actions to handle abnormal behavior during stream stop for MIDI and Audio devices.
Made correct error handling for cases we didn't see before.
Removed redundant and experimental code I forgot to remove months ago.
Added debug output which will help in future testing

Conflicts:
	libs/ardour/ardour/audioengine.h
	libs/ardour/engine_state_controller.cc
	libs/backends/wavesaudio/waves_midi_device.cc
2015-03-31 17:29:41 -04:00
Greg Zharun
ce069da682 [Summary] Made device control panel open request synchronized with other critical device operations. Made device reset correctly when control panel is closed.
Conflicts:
	gtk2_ardour/tracks_control_panel.logic.cc
	libs/ardour/ardour/audioengine.h
	libs/backends/wavesaudio/wavesapi/devicemanager/WCMRPortAudioDeviceManager.cpp
2015-03-31 17:29:41 -04:00
Valeriy Kamyshniy
91ae97d5c9 [Summary] Following review Paul did after 9b0fc7b743 [9b0fc7b] and 72e1510766 [72e1510]. 2015-03-31 17:29:41 -04:00
Paul Davis
207ac16731 move "been here before" path concept into libardour, and use it appropriately at startup 2015-03-31 11:27:47 -04:00
Robin Gareus
47110c983c fix OSX/PPC 10.4 long maths 2015-03-31 16:05:15 +02:00
Robin Gareus
16be88cdb6 Skeleton backend for brave volunteers.
callback based backend based on CoreAudio/Midi
backend (sans the actual system/HW _pcmio, 
_midiio)
2015-03-30 21:23:52 +02:00
Robin Gareus
f74acc6e79 note to midi devs. 2015-03-30 19:52:21 +02:00
Robin Gareus
8ca0680871 fix typo in skip/state-tracker 2015-03-30 19:51:34 +02:00
Alexandre Prokoudine
e03882eec7 Update Russian translation 2015-03-30 09:19:00 -05:00
Robin Gareus
205ade377a coreaudio: swap default aggregate clock source.
Thanks to Stephane & the JACK2 team.
2015-03-30 09:19:00 -05:00
Robin Gareus
6888436416 hack AudioAnalyzer for VAMP Onsetdetect
This works around a bug in OnsetDetector.
It requests a buffer of 1114 samples but later FFT
bails out if the buffer size is not a power-of-two.
Also large buffersizes fail.

Work-around: use ADAPT_ALL_SAFE (no buffersize
adapter), use a reasonably small buffersize.
The current settings work, even though it produces
the following warnings (vamp-plugins/OnsetDetect.cpp)

WARNING: OnsetDetector::initialise: Possibly sub-optimal step size for this sample rate: 512 (wanted 557)
WARNING: OnsetDetector::initialise: Possibly sub-optimal block size for this sample rate: 1024 (wanted 1114)

This commit should be reverted once VAMP/QM/aubio
is updated/fixed.
2015-03-30 09:19:00 -05:00
Robin Gareus
d1d266696b fix crash #6161 - another throw w/o catch
The real problem is: libardourvampplugins:* cannot
be instantiated this remains to be fixed.
2015-03-30 09:19:00 -05:00