Commit graph

15258 commits

Author SHA1 Message Date
Robin Gareus
581dd40db0
Better, more consistent fix for d0dcca109 2019-12-09 00:07:33 +01:00
Robin Gareus
d0dcca1093
Fix Pan automation when using "Touch"
Pan->touching was left uninitialized, and usually non-zero.
So pan automation was assumed to be currently touched,
and hence never interpolated.
2019-12-08 23:52:48 +01:00
John Emmas
09d34abaa9 MSVC project changes needed to support the new 'mp3 import' stuff 2019-12-08 15:04:02 +00:00
John Emmas
e510a8555d Minor changes needed to make the 'mp3 import' sources build with MSVC
(MSVC project changes to follow...)
2019-12-08 15:01:59 +00:00
Robin Gareus
7253f304e2
Add support for LV2 state:freePath feature
This fixes a memory-leak issue for Windows builds.
see also https://github.com/drobilla/lilv/issues/14
2019-12-08 15:22:00 +01:00
Robin Gareus
dca3f7dd97
NO-OP: whitespace 2019-12-08 15:20:53 +01:00
Paul Davis
dec355e83d fix behavior when pressing l to loop (not in loop-is-mode) and the required stop-during locate cancels looping 2019-12-07 10:30:38 -07:00
Paul Davis
238cc8ed5f functional double buffering when using DiskReader::overwrite_existing_buffers 2019-12-07 10:30:38 -07:00
Paul Davis
1008ac20ff a few parameter changes, and flesh out code to switch rbufs in DiskReader 2019-12-07 10:30:38 -07:00
Paul Davis
8d05f6d4b7 initial conversion to double buffering inside DiskReader
Second buffer is not used (or allocated) yet.
2019-12-07 10:30:38 -07:00
Robin Gareus
386f69ae32
Fix 64bit OSX/MacOS builds 2019-12-07 15:46:20 +01:00
Robin Gareus
642bfc4c9a
Do not allow to embed ogg/vorbis files, require import 2019-12-07 15:38:55 +01:00
Robin Gareus
c7c40f6f3d
Remove #ifdef'ed format-specific error-log messages
With inclusion of Mp3FileSource, this would get tricky.
On MacOS, the SndFileSource's sf_error_str message is never displayed,
anyway, also calling methods all handle failed-constructor.
So error-log is less important.
2019-12-07 15:38:53 +01:00
Robin Gareus
9040fd4670
Flatten nested try/catch clauses
This also consistently throws a failed_constructor() when instantiating
a CoreAudioSource fails, regardless of the actual exception
2019-12-07 15:38:48 +01:00
Robin Gareus
78337c9a7e
Remove unused API, reduce sndfile/coreaudio specialization 2019-12-07 11:32:07 +01:00
Robin Gareus
052f3a6836
Speed up seeking in mp3s 2019-12-06 23:13:20 +01:00
Robin Gareus
9aa887fa65
Fix issues with VBR mp3s, detect duration by decoding 2019-12-06 21:53:03 +01:00
Robin Gareus
0700cb8165
Clear TransportAbort flag after stop
This fixes an issue with unresponsive transport controls after
an abort (e.g. post-export).
2019-12-06 21:28:48 +01:00
Robin Gareus
a664a50ab7
Fix Windows build 2019-12-06 20:22:00 +01:00
Robin Gareus
d73734af78
Mark .mp2 and .mp3 as valid file-extensions 2019-12-06 18:30:53 +01:00
Robin Gareus
d0b6c437ce
Implement mp3 import, using minimp3 2019-12-06 18:18:54 +01:00
Robin Gareus
bef74c267e
Add "seekable" SoundFile info (in prep for mp3 import) 2019-12-06 18:18:18 +01:00
Robin Gareus
227de8c1b0
Flatten nested try/catch clauses
This also consistently throws a failed_constructor() when instantiating
SoundFile fails, regardless of the actual exception
2019-12-06 18:16:10 +01:00
Robin Gareus
6d99e1b162
VKeybd: Set default MIDI port flags 2019-12-05 23:40:29 +01:00
Paul Davis
9eac4936dc remove mistakenly left in session event enum 2019-12-05 13:13:16 -07:00
Paul Davis
8b4e714006 changes to use overwrite-buffers when loop is disabled or loop range changed 2019-12-05 13:13:16 -07:00
Robin Gareus
551702b9e9
Fix for-loop condition (comma has no effect) 2019-12-05 18:23:49 +01:00
Robin Gareus
7d94e1e1f9
Fix well-known control LPF/HPF order. 2019-12-05 16:43:20 +01:00
Robin Gareus
fa6a21f94e
Ardour 6.0 Alpha - Enterprise Edition
Its 5 year mission
To explore strange new sounds
To seek out new bugs and new users
To boldly go where no Ardour session has gone before
2019-12-04 23:07:42 +01:00
Robin Gareus
d8c63568a5
Clear AudioEngine Error at app start 2019-12-04 19:02:16 +01:00
Robin Gareus
1f73668756
New approach for Lua bindings to avoid LuaBridge_API in GUI code
Declare DoubleArray in GUI context so that runtime uses the symbol
from the .exe (not the .dll).

This is mainly for the benefit of MSVC, that does not allow to use
LuaBridge_API in .exe
2019-12-03 17:55:37 +01:00
Robin Gareus
d3ca91a0b4
Libardour part of 1caef18 (Windows Lua bindings) 2019-12-03 02:29:37 +01:00
Robin Gareus
e3544db3aa
Amend previous commit, fluidsynth tables 2019-12-03 00:23:54 +01:00
Robin Gareus
d425f6dcb5
Update to fluidsynth-2.1
see https://github.com/FluidSynth/fluidsynth/releases/tag/v2.1.0

- new, less "ringing" reverb engine
- new, stereophonic chorus engine
- improved integrity checking of SoundFont modulators
...
2019-12-03 00:01:10 +01:00
Robin Gareus
5e1a73a28c
Add Lua typecast from C++ vector to C-Array
This is useful for MIDI bytes amongst other things
2019-12-01 21:32:10 +01:00
Stefan Westerfeld
be1012d64e
Fix thread-safety issue in a-fluidsynth.
This fix ensures that the a-fluidsynth "synth" object is not used in two
threads at the same time during midi event handling (run() in RT thread vs.
load_sf2() in worker thread), which could result in crashes.
2019-11-26 17:09:11 +01:00
Paul Davis
c10df23a0f fix crash when using Region > Loop 2019-11-24 11:33:25 -07:00
Paul Davis
9a8ca01cb0 remove debug output 2019-11-23 15:54:34 -07:00
Paul Davis
f561cc6dc2 remove debug output 2019-11-23 15:54:21 -07:00
Paul Davis
e75182b418 tweak comment text 2019-11-23 15:54:09 -07:00
Paul Davis
205bfb9416 2nd part of fix for autoloop event removal when loop bounds are changed while looping 2019-11-23 15:53:54 -07:00
Paul Davis
bcd47ebffb remove debug message about LOCATE WITHOUT DECLICK. This behavior is normal and legal when looping 2019-11-23 15:52:49 -07:00
Paul Davis
d39f19f559 fix incorrect removal of autoloop event when loop bounds are changed while looping 2019-11-23 15:52:05 -07:00
Paul Davis
dbf06eb2cf fix locate-while-rolling 2019-11-23 15:51:30 -07:00
Paul Davis
8972f69e68 fix startup crash if no loop range is defined 2019-11-23 13:37:00 -07:00
Paul Davis
d04c9b3244 more tweaks to correctly (or more correctly) reload disk reader buffers when loop fade choice changes 2019-11-23 00:09:46 -07:00
Paul Davis
1a2665e25f redesign of declicking and fades around loop boundaries 2019-11-22 23:41:56 -07:00
Robin Gareus
98bcfb1485
Save VST paths after successful scan
Ardour only saves Config when the session is saved.
When changing the VST Path and starting a plugin-scan the newly
discovered plugins would otherwise not be avalable unless
the session is explicitly saved after a scan.
2019-11-22 20:06:43 +01:00
Robin Gareus
c2d44c0f05
Add support for LV2/KX transient-ID option 2019-11-22 20:01:32 +01:00
Robin Gareus
512c27d277
Fix buffer-overflow when vari-speeding
Session::process() can call split-cycle which offset the
buffer pointers. When vari-speeding at speed > 1.0, the
engine also splits the cycle every n_samples, to not exceed
the configured buffersize. This needs to take prior buffer
offsets into account.
2019-11-21 23:37:31 +01:00