Commit graph

2189 commits

Author SHA1 Message Date
jjceresa
63d3d3200f rename path field of fluid_mod_t struct to flags 2019-11-05 00:10:49 +01:00
jjceresa
decb51a8b2 Make fluid_mod_copy_linked_mod() ignoring invalid modulator 2019-11-04 22:23:25 +01:00
jjceresa
800eb4a0f7 change path to unsigned short 2019-11-04 22:06:46 +01:00
jjceresa
17a93b9e27 update order of field in table 2019-11-04 19:21:19 +01:00
jjceresa
c30bd2148b update due to new field path in fluid_mod_t 2019-11-03 00:07:56 +01:00
jjceresa
84352947cf fix comment in fluid_mod_check_linked_mod() 2019-11-02 22:47:39 +01:00
jjceresa
3f9afd6efd Cosmetic minor changes
- Rename variables.
- Make no voice modulator displaying by default.
2019-10-31 23:58:04 +01:00
jjceresa
1a71d9f4c8 Merge branch 'master' into linked-modulators 2019-10-23 22:11:30 +02:00
derselbst
881eb9b080 Mention new audio drivers in API docs 2019-10-23 21:16:05 +02:00
derselbst
585396d36e Bump version to 2.1.0 RC1 2019-10-23 21:00:38 +02:00
derselbst
79e5807a14 Mention fluid_sample_set_sound_data() in API docs 2019-10-23 20:53:52 +02:00
jjceresa
ee5294c060 move fluid_profile_ref_var() (#577) 2019-10-23 19:56:22 +02:00
jjceresa
5b7c55ccee move macro fluid_profile_ref_var() 2019-10-23 19:33:14 +02:00
jjceresa
d234f70ab5 Merge branch 'master' into linked-modulators 2019-10-23 18:05:12 +02:00
derselbst
18ad9df21b Bump required libinstpatch version to 1.1.0 2019-10-23 17:28:55 +02:00
jjceresa
0288466f40 Chorus enhancement. (#548)
This adds new LFO modulators:
 - these modulators are computed on the fly, instead of using lfo lookup table. Advantages:
      - Avoiding a lost of 608272 memory bytes when lfo speed is low (0.3Hz).
      - Allows to diminish the lfo speed lower limit to 0.1Hz instead of 0.3Hz.
        A speed of 0.1 is interesting for chorus. Using a lookup table for 0.1Hz
        would require too much memory (1824816 bytes).
      - Make use of first-order all-pass interpolator instead of bandlimited interpolation.
      - Although lfo modulator is computed on the fly, cpu load is lower than using
        lfo lookup table with bandlimited interpolator.

Also adds a stereo unit controlled by WIDTH macro. WIDTH [0..10] value define a stereo separation between left and right.
 - When 0, the output is monophonic.
 - When > 0 , the output is stereophonic.

 WIDTH is currently fixed to maximum value to provide maximum stereo effect.
2019-10-23 16:41:13 +02:00
derselbst
f2b7438511 TravisCI: add ppc64 and arm64 builds 2019-10-23 16:24:07 +02:00
derselbst
171f3396a4 Format fluid_synth_write_*() 2019-10-23 14:33:34 +02:00
derselbst
988ec6d799 Add proper fluid_ret_val_if_fail checks for rendering functions 2019-10-23 14:33:34 +02:00
Carlo Bramini
8aef0930c6 Speedup rendering functions (#573) 2019-10-23 13:33:22 +02:00
derselbst
eef361eb35 Update API doc of fluid_synth_noteon() 2019-10-22 18:12:50 +02:00
Tom M
64cee5537d
Handle deprecation of GTimeVal (#575)
`GTimeVal` has been deprecated in glib 2.62 . While switching to `g_get_monotonic_time()`, I realized that we could simply reuse `fluid_utime()` for that purpose.
2019-10-22 17:39:08 +02:00
derselbst
dfcf5c019f Add a unit test for fluid_synth_write_float 2019-10-22 16:08:41 +02:00
derselbst
5a42e8147f Extend comment in fluid_ct2hz_real() 2019-10-22 14:37:08 +02:00
Tom M
fa7354a336
More efficient implementation of fluid_ct2hz() (#569)
This provides a less branchy and therefore more instruction-cache-friendly version of fluid_ct2hz(), which also significantly reduces the number of floating-point comparisons.
2019-10-22 13:09:42 +02:00
derselbst
41e77afe84 Merge branch '2.0.x' into master 2019-10-22 11:39:42 +02:00
Stefan Westerfeld
50dd443c20 Fix bugs in fluid_sample_set_sound_data with copy enabled
- memset should clear all the memory
- end position should be at the end of sample data

Closes #576

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
2019-10-21 21:03:14 +02:00
derselbst
1f2c301cc3 Build fluidsynth for Android in RelWithDebInfo 2019-10-21 15:16:35 +02:00
derselbst
ca5108d81c Fix "declaration-after-statement" in opensles driver 2019-10-21 14:35:17 +02:00
derselbst
6e45cfc308 Move declaration of fluid_alloc() to fluidsynth_priv.h
Fixes build of opensles, oboe and coreaudio.
2019-10-21 14:27:05 +02:00
derselbst
82c962afb2 Change Android build badge 2019-10-21 14:21:09 +02:00
derselbst
302dc704cd Split Mac and Windows CI build badges 2019-10-21 13:23:44 +02:00
derselbst
606c4d47b6 Turn implicit function declarations into errors 2019-10-21 13:01:50 +02:00
derselbst
34a18d2480 Update OS icons in README 2019-10-21 09:49:34 +02:00
derselbst
f891b6f2c2 Fix Android build status badge in README 2019-10-20 23:12:04 +02:00
Jon Latané
d312def0ce Android CircleCI Build (#574) 2019-10-20 23:09:23 +02:00
Carlo Bramini
6895731df2 Remove GLIB macros for int <=> pointer conversion (#572)
The synthesizer is using stdint types for a long time, perhaps for consistency, it would be worth to get rid of the GLIB macros for integer to pointer conversion and viceversa, and use just a type cast for that purpose.
2019-10-19 18:25:31 +02:00
derselbst
aafc59bde6 Fix Windows Azure Release Build 2019-10-19 18:20:09 +02:00
Tom M
cab46b40c1
Fix incorrect usage of fluid_ct2hz() (#568) 2019-10-18 21:41:43 +02:00
derselbst
3c4861c752 Add a unit test for fluid_ct2hz_real() 2019-10-18 21:03:00 +02:00
derselbst
664e97305a uchar to int 2019-10-16 11:24:07 +02:00
derselbst
474806be9a remove duplicate comments 2019-10-15 18:27:29 +02:00
derselbst
dbc4b7f81d const correctness 2019-10-15 18:09:20 +02:00
derselbst
424b6be97f specify enum type explicitly for function parameters 2019-10-15 18:06:03 +02:00
derselbst
ecc85db32f rename enum fluid_mod_test_linked_identity => fluid_mod_linked_identity_test_mode 2019-10-15 18:03:50 +02:00
derselbst
4a81c24616 reorder fluid_mod_t members to avoid padding 2019-10-15 11:28:16 +02:00
jjceresa
f41b762c56 fix ci warning 2019-10-14 18:48:48 +02:00
jjceresa
e62347fdbe fix ci clang-analyser warning 2019-10-14 16:06:42 +02:00
jjceresa
9fd36fa3fb reduce path field to sufficient size 2019-10-14 12:51:13 +02:00
jjceresa
eabbc78b19 Add enum fluid_path_flags path in fluid_mod_t struct
- Replace path variable in  fluid_mod_check_linked_mod  by path field in
  fluid_mod_t struct.
- When a modulator is invalid, it is returned with bit FLUID_MOD_VALID set
  to 0, instead of amount field forced to 0.
2019-10-13 23:13:40 +02:00