NibbleRealm / twang

Library for pure Rust advanced audio synthesis.
https://nibblerealm.com/twang/
Apache License 2.0
131 stars 8 forks source link

Update fon requirement from 0.5 to 0.6 #9

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Updates the requirements on fon to permit the latest version.

Changelog

Sourced from fon's changelog.

[0.6.0] - 2022-01-29

Added

  • Support for no-std!
  • chan::Ch24, a 24-bit integer channel
  • chan::Channel::to_f32()
  • pos module containing types for type-safe channel indexing on Frame
  • Audio::as_u8_slice()
  • Audio::silence() to silence the entire audio buffer
  • AudioSink public type returned from Audio::sink()
  • Audio::with_u8_buffer()
  • Audio::with_audio()
  • From<Audio> for both boxed primitive samples and Vec<Frame>
  • Frame::new()
  • Frame::pan()
  • Frame::gain()
  • SinkTo struct for converting audio while streaming
  • Sink::len()
  • Sink::sink_with()
  • Sink::is_empty()

Changed

  • Renamed Audio::as_slice() to Audio::as_mut_slice(), and Audio::as_slice() now returns an immutable slice
  • Frame is now a struct (rather than a trait), and makes use of const generics
  • Rename Frame::convert() to Frame::to()
  • Merged Stream trait and Resampler struct into a new Stream struct
  • Changed Audio back to being backed by a Box<[Frame]>
  • Sink is now object-safe
  • Sample rates are now represented as NonZeroU32

Removed

  • chan::Ch8 because 8-bit audio is uncommon today and you can use Ch16 for 8-bit audio as well as 12-bit audio.
  • Audio::with_i8_buffer()
  • chan::Channel::to_f64() and chan::Channel::from_f64()
  • Audio::with_frame(); Use Audio::with_frames(hz, vec![_; len]) instead
  • Audio::with_stream(); Use Audio::with_audio() or Audio::sink() instead
  • Audio as IntoIterator; Use Audio::iter() instead.
  • Frame::from_f64()
  • Frame::from_channel()
  • Frame::from_channels()
  • Frame::from_mono()
  • Sink::buffer()
  • Sink::resampler()
  • Sink::flush()
  • Sink::stream()

Fixed

  • Resampler now does proper resampling

... (truncated)

Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Looks like fon is up-to-date now, so this is no longer needed.