-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from mbsantiago/feature/libsndfile
Enhancement: Expanded Audio Format Support with Soundfile
- Loading branch information
Showing
192 changed files
with
1,329 additions
and
1,470 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
document$.subscribe(({ body }) => { | ||
renderMathInElement(body, { | ||
delimiters: [ | ||
{ left: "$$", right: "$$", display: true }, | ||
{ left: "$", right: "$", display: false }, | ||
{ left: "\\(", right: "\\)", display: false }, | ||
{ left: "\\[", right: "\\]", display: true }, | ||
], | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,13 +120,19 @@ markdown_extensions: | |
toc_depth: 4 | ||
permalink: "#" | ||
separator: "_" | ||
- pymdownx.arithmatex: | ||
generic: true | ||
extra_javascript: | ||
- javascripts/jquery-3.3.1.min.js | ||
- javascripts/jquery.json-viewer.js | ||
- javascripts/json-viewer.js | ||
- optionalConfig.js | ||
- https://unpkg.com/[email protected]/dist/mermaid.min.js | ||
- extra-loader.js | ||
- javascripts/katex.js | ||
- https://unpkg.com/katex@0/dist/katex.min.js | ||
- https://unpkg.com/katex@0/dist/contrib/auto-render.min.js | ||
extra_css: | ||
- stylesheets/jquery.json-viewer.css | ||
- css/mkdocstrings.css | ||
- https://unpkg.com/katex@0/dist/katex.min.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,22 @@ | ||
"""Soundevent functions for handling audio files and arrays.""" | ||
|
||
from .files import is_audio_file | ||
from .filter import filter_audio | ||
from .files import get_audio_files, is_audio_file | ||
from .io import load_audio, load_clip, load_recording | ||
from .media_info import MediaInfo, compute_md5_checksum, get_media_info | ||
from .resample import resample_audio | ||
from .scaling import clamp_amplitude, pcen, scale_amplitude | ||
from .operations import filter, pcen, resample | ||
from .spectrograms import compute_spectrogram | ||
|
||
__all__ = [ | ||
"MediaInfo", | ||
"compute_spectrogram", | ||
"compute_md5_checksum", | ||
"get_media_info", | ||
"get_audio_files", | ||
"load_audio", | ||
"load_clip", | ||
"load_recording", | ||
"is_audio_file", | ||
"resample_audio", | ||
"filter_audio", | ||
"scale_amplitude", | ||
"clamp_amplitude", | ||
"resample", | ||
"filter", | ||
"pcen", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
"""Definition of common attributes for audio objects.""" | ||
|
||
from enum import Enum | ||
|
||
__all__ = [ | ||
"AudioAttrs", | ||
] | ||
|
||
|
||
class AudioAttrs(str, Enum): | ||
samplerate = "samplerate" | ||
|
||
recording_id = "recording_id" | ||
|
||
clip_id = "clip_id" | ||
|
||
path = "path" |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.