/// Create a silent waveform measured in milliseconds.
///
/// # Examples
/// This creates a `FloatWaveform` containing one second of silent *stereo* audio.
/// ```
/// use babycat::FloatWaveform;
///
/// let waveform = FloatWaveform::from_milliseconds_of_silence(44100, 2, 1000);
/// assert_eq!(
///     format!("{:?}", waveform),
///     "FloatWaveform { frame_rate_hz: 44100, num_channels: 2, num_frames: 44100}"
/// );
/// ```
///
Create a silent waveform measured in milliseconds.
Create a silent waveform measured in milliseconds .
pub fn from_milliseconds_of_silence(
        frame_rate_hz: u32,
        num_channels: u32,
        duration_milliseconds: u64,
    ) -> Self {
        let num_frames = milliseconds_to_frames(frame_rate_hz, duration_milliseconds);
        Self::from_frames_of_silence(frame_rate_hz, num_channels, num_frames)
    }
pub fn from_milliseconds_of_silence ( frame_rate_hz : u32 , num_channels : u32 , duration_milliseconds : u64 , ) -> Self { let num_frames = milliseconds_to_frames ( frame_rate_hz , duration_milliseconds ) ; Self :: from_frames_of_silence ( frame_rate_hz , num_channels , num_frames ) }
Create a silent waveform measured in milliseconds.
Create a silent waveform measured in milliseconds .
frame_rate_hz
u32
num_channels
u32
duration_milliseconds
u64
examples
This creates a `FloatWaveform` containing one second of silent *stereo* audio.
```
use babycat::FloatWaveform.


This creates a ` FloatWaveform ` containing one second of silent * stereo * audio . ` ` ` use babycat :: FloatWaveform .