Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustAudio/audrey
/ functions
Functions
23 in github.com/RustAudio/audrey
⨍
Functions
23
◇
Types & classes
12
↓ 5 callers
Function
open
()
tests/read.rs:35
↓ 4 callers
Function
open
Attempts to open an audio `Reader` from the file at the specified `Path`. The format is determined from the path's file extension.
src/read.rs:158
↓ 3 callers
Function
write_to_buffer
A function for writing to the `cpal::Buffer`, whatever the default sample type may be.
examples/sine.rs:44
↓ 2 callers
Method
next
(&mut self)
src/read.rs:421
↓ 2 callers
Function
read_samples
(path: P)
tests/read.rs:56
↓ 1 callers
Method
read_packet
(&mut self)
src/caf_alac.rs:43
↓ 1 callers
Method
samples
Produce an iterator that reads samples from the underlying reader, converts them to the sample type `S` if not already in that format and yields them.
src/read.rs:340
Method
cause
(&self)
src/read.rs:622
Method
channel_count
The number of channels of audio. E.g. For audio stored in stereo this should return `2`. Mono audio will return `1`.
src/read.rs:174
Method
description
A basic description of the audio being read.
src/read.rs:295
Method
extension
Return the most commonly used file extension associated with the `Format`.
src/lib.rs:55
Method
fmt
(&self, f: &mut std::fmt::Formatter)
src/read.rs:660
Method
format
The format from which the audio will be read.
src/read.rs:167
Method
frames
Produce an iterator that yields read frames from the underlying `Reader`. This method currently expects that the frame type `F` has the same number o
src/read.rs:403
Method
from
(err: claxon::Error)
src/read.rs:558
Method
from_extension
Read a `Format` from the given `extension`. This function expects that the `extension` is lowercase ASCII, e.g "wav" or "ogg".
src/lib.rs:40
Function
main
()
examples/sine.rs:10
Method
new
Attempts to read the format of the audio read by the given `reader` and returns the associated `Reader` variant. The format is determined by attempti
src/read.rs:214
Method
new
Creates a new AlacReader Returns Err(..) on IO errors, or if the stream is not CAF. Returns Ok(Some(..)) if the format inside is ALAC, None if its no
src/caf_alac.rs:23
Method
open
Attempts to open an audio `Reader` from the file at the specified `Path`. This function is a convenience wrapper around the `Reader::new` function.
src/read.rs:194
Function
open_and_read_samples
()
tests/read.rs:55
Function
read
()
tests/read.rs:11
Method
sample_rate
The rate in Hertz at which each channel of the stored audio is sampled. E.g. A `sample_rate` of 44_100 indicates that the audio is sampled 44_100 tim
src/read.rs:182