Commit graph

774 commits

Author SHA1 Message Date
UnknownSuperficialNight
97636d163e Add author credit to AGC implementation 2024-09-28 11:15:46 +12:00
UnknownSuperficialNight
611055c62d Enhance AGC with asymmetric attack/release and safety limits
- Implement asymmetric attack/release
- Introduce MIN_ATTACK_TIME limit to prevent AGC instability
- Clamp attack_time to prevent instability
- Faster decrease, slower increase for smoother sound
- Safeguard against extreme gain fluctuations
2024-09-27 15:27:35 +12:00
UnknownSuperficialNight
6b62544cde Added simple flag to enable the debug temporarily during development 2024-09-27 13:04:48 +12:00
UnknownSuperficialNight
625d0f27b5 Updated comments, refactored logic & added more member functions for simplicity 2024-09-27 10:35:44 +12:00
UnknownSuperficialNight
85bfcbd40c Init commit for automatic_gain_control 2024-09-27 06:41:08 +12:00
github-actions[bot]
58b61f66ff
Doc/Api note that a returning None means the end of the sound 2024-09-24 23:35:06 +02:00
github-actions[bot]
e116660568
docs: add missing + fix docs in wrong place 2024-09-17 00:06:23 +02:00
github-actions[bot]
22d90e71d8
Docs: Added where missing corrected where wrong
Specifically the documentation for
 - UniformSourceIterator was incomplete it did not mention that it can
   change the sample type
2024-09-16 18:52:19 +02:00
github-actions[bot]
70c236c7ac
docs: fixes spatial source & sink description (was wrong & missing) 2024-09-16 12:23:17 +02:00
David Kleingeld
6bfd840de6
Merge pull request #608 from lautarodragan/master
Optimistic update to controls.position in try_seek
2024-09-05 17:58:19 +02:00
taro
7fc5bd05d1 Optimistic update to controls.position in try_seek:
- Add entry in CHANGELOG.md
- `cargo fmt`
2024-09-05 11:46:25 -03:00
taro
2c95f1a00e Optimistic update to controls.position in try_seek 2024-09-05 02:53:47 -03:00
github-actions[bot]
4805661cd1
formatting 2024-08-09 12:04:06 +02:00
github-actions[bot]
7c39451138
refactor, move test dep use into test mod 2024-08-09 11:53:49 +02:00
David Kleingeld
3c18b53a47
Merge pull request #499 from iluvcapra/ramp-linear
Added linear gain filter
2024-08-09 11:50:24 +02:00
Jamie Hardt
c541f35211 Redid changelog 2024-08-05 10:09:19 -07:00
Jamie Hardt
97cf232798 Revert "Updated changelog"
This reverts commit 972147ae57.
2024-08-05 10:08:02 -07:00
Jamie Hardt
972147ae57 Updated changelog 2024-08-05 09:55:44 -07:00
Jamie Hardt
cd52071273 Revert changes to this for now 2024-08-05 09:51:08 -07:00
Jamie Hardt
9351746e0b Fixed comments 2024-08-04 18:10:45 -07:00
Jamie Hardt
52e7d4aaa8 Added a fadeout source 2024-08-04 17:07:50 -07:00
Jamie Hardt
f2f93e6947 Switched-out assert_float_eq for approx
Different macro library for testing float equality
2024-08-04 16:40:39 -07:00
Jamie Hardt
6ba19a649d Rustfmt 2024-08-04 16:30:20 -07:00
Jamie Hardt
8f53addbde Implemented a little fade envelope on the notes. 2024-08-04 16:28:37 -07:00
Jamie Hardt
0e3aaa9cea Moved assert_float_eq to dev-dependencies 2024-08-04 16:15:38 -07:00
Jamie Hardt
98c008d7ea Fixed try_seek() to seek from absolute start
and not the current position.
2024-08-04 14:43:39 -07:00
Jamie Hardt
5e73ffd4aa Removed a typo (I think rustfmt did this!) 2024-08-04 13:57:49 -07:00
Jamie Hardt
5056a88b9f Twiddles 2024-08-04 13:55:53 -07:00
Jamie Hardt
e581653578 Rustfmt 2024-08-04 13:46:54 -07:00
Jamie Hardt
e72de34a93 Implemented linear_ramp_seek tests
Also integratd assert_float_eq
2024-08-04 13:45:35 -07:00
Jamie Hardt
78fffb4ec6 Implementing seek test 2024-08-04 13:33:44 -07:00
Jamie Hardt
5f9c521a8b Revert "Code review stuff..."
This reverts commit d5c9e0d62c.
2024-08-04 13:33:09 -07:00
Jamie Hardt
9f9a1724d4 Added assert_float_eq package. 2024-08-04 13:31:47 -07:00
Jamie Hardt
d5c9e0d62c Code review stuff...
Changed test dummysource to constant value
Implemented try_seek
2024-08-04 12:48:24 -07:00
Jamie Hardt
627fe35b46 Rustfmt 2024-08-03 17:01:02 -07:00
Jamie Hardt
c3acdc338b Rustup 2024-08-03 16:58:58 -07:00
Jamie Hardt
490e3e6737 Rustup 2024-08-03 16:58:29 -07:00
Jamie Hardt
97a15e25c4 Made a formatting change for clippy 2024-08-03 16:56:20 -07:00
Jamie Hardt
65a8745cd6 Removed a console line 2024-08-03 16:54:02 -07:00
Jamie Hardt
52dc4a5f5f Have reworked ramp logic
All tests pass, the "lerp" function doesn't seem to work, I want to look
into this further.
2024-08-03 16:51:24 -07:00
Jamie Hardt
e01ca090dd Merge branch 'master' of https://github.com/RustAudio/rodio into ramp-linear 2024-07-30 18:31:41 -07:00
github-actions[bot]
e3d561298d
Merge branch 'master' of github.com:RustAudio/rodio 2024-07-19 10:23:45 +02:00
github-actions[bot]
64276dabec
update readme 2024-07-19 10:23:39 +02:00
David Kleingeld
e4a7af0a60
Merge pull request #598 from Keinsleif/features/alac_aiff_support
Add ALAC / AIFF Support
2024-07-19 10:20:37 +02:00
Keinsleif
10dd86dd6d Added symphonia feature flag 2024-07-19 08:24:16 +09:00
Jamie Hardt
9d63a9c393 A note to myself 2024-07-14 13:13:15 -07:00
Jamie Hardt
7fe76c7e95 Renamed this field for consistency
with other library structs.
2024-07-14 12:07:38 -07:00
Jamie Hardt
a3f36c50f1 Adding test block to linear_ramp.rs 2024-07-14 11:42:10 -07:00
Jamie Hardt
8864b22e04 Implementing fade-in as a wrapper
...around LinearRamp
2024-07-14 11:41:13 -07:00
Jamie Hardt
9be1df5e55 Removed a thinko and unnecessary cast 2024-07-14 11:08:14 -07:00