Commit graph

2404 commits

Author SHA1 Message Date
derselbst
3eca83a887 cmake: enable ladspa by default 2017-11-10 19:00:53 +01:00
Tom M
987aa33486
Merge pull request #263 from FluidSynth/rm-def-mod
support removing default modulators
2017-11-10 16:41:56 +01:00
Marcus Weseloh
1a91e971d4 Always prepare the reverb and chorus sends when LADSPA is active
This change enables users to disable the internal reverb and chorus
and process the mixed down reverb and chorus send signals using
LADSPA plugins.
2017-11-10 15:37:00 +01:00
Fabian Greffrath
9a205c0b8b fix library file names when building with MinGW and CMake
We have applied this patch to the mingw-w64-fluidsynth package [1] in
MSYS2 to recieve the same library file names when building with CMake
as we got when building with Autotools.

[1] https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-fluidsynth
2017-11-10 13:20:14 +01:00
Tom M
df1c9a3e5c
update api doc about destructor functions 2017-11-09 20:40:36 +01:00
derselbst
e0d0acc946 add a demo program for fluid_audio_driver_register() 2017-11-09 19:07:31 +01:00
Tom M
a13cf153d9
Merge pull request #265 from FluidSynth/delete-refactor
refactor destructor functions to return void if possible and make them safe when called with NULL
2017-11-08 15:45:49 +01:00
Marcus Weseloh
3bf219b553 Remove the old and out-of-date LADSPA documentation PDF 2017-11-08 00:11:36 +01:00
Marcus Weseloh
37d44ce847 Fix typos in LADSPA documentation 2017-11-08 00:09:08 +01:00
Marcus Weseloh
2984c0b40a Update LADSPA documentation 2017-11-07 23:49:57 +01:00
Marcus Weseloh
87c37f305d Explicity create left and right host buffers
Makes it possible to create a single host buffer node for the
effect sends.
2017-11-07 23:49:57 +01:00
Marcus Weseloh
4b2414761b Reapply "make struct _fluid_ladspa_fx_t opaque" effects from 5afb1a854b 2017-11-07 23:49:57 +01:00
Marcus Weseloh
9f6ef4e67e Cleanup API and docs
- Rename functions to clarify purpose
- Group functions in header by purpose
- Cleanup doc comments
- Remove unused members from structs
2017-11-07 23:49:57 +01:00
Marcus Weseloh
6508d36bea Remove some macros and cleanup comments 2017-11-07 23:49:57 +01:00
Marcus Weseloh
1ba0450f3a Remove enum for output mode, use a simple flag instead 2017-11-07 23:49:57 +01:00
Marcus Weseloh
be38fa98e3 Cleanup ladspa commands and add more comments
Remove the <effect name>:<port name> syntax for ladspa_link again,
better to have them as two separate arguments. Also remove the
<lib name>:<plugin label> syntax, use separate args where as well.
2017-11-07 23:49:57 +01:00
Marcus Weseloh
61ea5e19db Remove the node concept completely from LADSPA api 2017-11-07 23:49:57 +01:00
Marcus Weseloh
9af97fb02b Add note that LADSPA doesn't need very long command lines anymore 2017-11-07 23:49:57 +01:00
Marcus Weseloh
0b263175d3 Rename "plugin" to "effect" where it's used to mean "plugin instance" 2017-11-07 23:49:57 +01:00
Marcus Weseloh
4212dd04f7 Smaller cleanups for fluid_cmd 2017-11-07 23:49:57 +01:00
Marcus Weseloh
ea3481c57e Control port values are always float 2017-11-07 23:49:57 +01:00
Marcus Weseloh
fa0b210233 Rename function to set effect control port value 2017-11-07 23:49:57 +01:00
Marcus Weseloh
bcf711f51a Rename check for effect port existance 2017-11-07 23:49:57 +01:00
Marcus Weseloh
adcd5a5d53 Cleanup automatic control node creation
Change function signatures and names to better reflect what they do
and when they do it.
2017-11-07 23:49:57 +01:00
Marcus Weseloh
72517b8715 No need for user created control nodes anymore
Control nodes are created automatically when effect is added now.
Also remove the now unused FLUID_LADSPA_FIXED direction.
2017-11-07 23:49:57 +01:00
Marcus Weseloh
e0463843fa Rename ladspa_node to ladspa_buffer
Users don't need to create control nodes anymore
2017-11-07 23:49:57 +01:00
Marcus Weseloh
026bcbcc78 Create control nodes automatically and use better interface to set value
Removes ladspa_control_defaults and ladspa_control in favour of the new
ladspa_set. Nodes for all effect controls are created when the effect
is instantiated.
2017-11-07 23:49:57 +01:00
Marcus Weseloh
ea9c868c86 Make plugin label optional when creating effect 2017-11-07 23:49:57 +01:00
Marcus Weseloh
a4312c65ed Remove explicit direction from ladspa_link and fluid_ladspa_connect 2017-11-07 23:49:57 +01:00
Marcus Weseloh
1684427c33 Rename ladspa_port to ladspa_link 2017-11-07 23:49:57 +01:00
Marcus Weseloh
55cd5040a7 Allow port names in fluid_port to be specified as one argument 2017-11-07 23:49:57 +01:00
Marcus Weseloh
5aecf97097 Rename command ladspa_plugin to ladspa_effect, remove ladspa_mode 2017-11-07 23:49:57 +01:00
Marcus Weseloh
6eb8212723 Add consistent checking for inactive ladspa in fluid commands 2017-11-07 23:49:57 +01:00
Marcus Weseloh
5b4ad47bee Effects (plugin instances) identified by name instead of unique id 2017-11-07 23:49:57 +01:00
Marcus Weseloh
e77e702b16 Add support for run_adding mode of plugins and in-place rendering
In-place rendering is implemented in such a way that there is no
change in behaviour if it is enabled or not. So there's no need
for a user setting.

Run adding mode is a LADSPA feature that plugins can support. Using
that mode, they don't replace an output buffer, but add their rendered
audio to it (with a user definable gain). A very necessary feature to
be able to use a LADSPA reverb in place of the internal reverb.
2017-11-07 23:49:57 +01:00
derselbst
2ed47f23b5 Revert "make struct _fluid_ladspa_fx_t opaque" to prepare ladspa merge
It's effects will be replicated after merge.

This reverts commit 5afb1a854b.

# Conflicts:
#	src/bindings/fluid_ladspa.c
2017-11-07 23:49:57 +01:00
Tom M
15464b1453
Merge pull request #267 from carlo-bramini/stdint-fixes
use stdint compliant ints; include stdint.h if possible, else fallback to glib
2017-11-07 21:41:49 +01:00
Tom M
2c5e7ab6e4
Merge pull request #266 from tomcucinotta/autoconnect_alsa_at_runtime
Autoconnect ALSA MIDI inputs also while fluidsynth is running
2017-11-07 21:38:23 +01:00
derselbst
b1d0db7d5c define customized fluid_return_if_fail
unlike glib's g_return_if_fail, dont log to console if condition fails
2017-11-07 21:11:49 +01:00
Tom M
91a63595f4
Merge pull request #261 from VolcanoMobile/player_seek
add seek to player
2017-11-07 11:34:15 +01:00
Tom M
0a4a588d7c
bump version for fluid_player_seek() 2017-11-07 11:33:02 +01:00
loki666
aa8a32951a avoid hanging notes 2017-11-05 20:27:21 +01:00
carlo-bramini
c2eab91ac2 Remove VisualC++ types. 2017-11-05 18:20:51 +01:00
carlo-bramini
137ace8e87 Add also int64_t for completeness. 2017-11-05 17:59:07 +01:00
carlo-bramini
5a2bb5a109 Use GLIB types if stdint.h is not available 2017-11-05 16:08:43 +01:00
derselbst
1b2a098c7c delete_*() refactorings in defsfont 2017-11-05 15:33:28 +01:00
carlo-bramini
90b0352343 Restore chmod 644 to CMakeList.txt 2017-11-04 13:17:40 +01:00
carlo-bramini
cb4f1d389d No need to read-modify-write, just set errors to TRUE 2017-11-04 13:07:18 +01:00
carlo-bramini
4ee44a24a5 Use stdint type names instead of sint8, sint16, etc 2017-11-04 12:53:44 +01:00
Tom M
71a3133d01
Update CONTRIBUTING.md
fix typo
2017-11-04 09:05:17 +01:00