MCPcopy Create free account

hub / github.com/Polochon-street/bliss-rs / functions

Functions372 in github.com/Polochon-street/bliss-rs

↓ 1 callersFunctionlevel_lin
Compute mean energy (level_lin) Transcribed from aubio/src/mathutils.c:328-340
src/misc.rs:12
↓ 1 callersFunctionmahalanobis_distance
Returns the Mahalanobis distance between two vectors, also the weighted distance between those two vectors. The weight is made according to the distan
src/playlist.rs:140
↓ 1 callersFunctionnext_power_of_two
Compute next power of two >= a Transcribed from aubio/src/mathutils.c:590-595
src/aubio.rs:1250
↓ 1 callersFunctionnumber_crossings
Essentia algorithm https://github.com/MTG/essentia/blob/master/src/algorithms/temporal/zerocrossingrate.cpp
src/utils.rs:81
↓ 1 callersMethodserialize_config
Default implementation to output the config as a JSON file. Convert the current config to a [String], to be written to a file. The default writes a J
src/library.rs:197
↓ 1 callersMethodset_features_version
Set the desired version for analysis, and write it to the configuration file.
src/library.rs:210
↓ 1 callersMethodset_number_cores
Set the number of desired cores for analysis, and write it to the configuration file.
src/library.rs:203
↓ 1 callersMethodset_threshold
Set threshold parameter
src/aubio.rs:778
↓ 1 callersMethodsong_from_path
Get a LibrarySong from a given file path.
src/library.rs:1409
↓ 1 callersFunctionspectral_centroid
Compute spectral centroid from FFT magnitudes (in bins) This is a direct transcription of aubio's cvec_centroid function from src/spectral/statistics
src/aubio.rs:16
↓ 1 callersFunctionspectral_rolloff
Compute spectral rolloff from FFT magnitudes (in bins) This is a direct transcription of aubio's aubio_specdesc_rolloff function from src/spectral/st
src/aubio.rs:36
↓ 1 callersFunctionvec_autocorr
Compute autocorrelation Transcribed from aubio/src/mathutils.c:655-669
src/aubio.rs:821
↓ 1 callersFunctionvec_mean
Helper functions for PeakPicker Compute mean of a slice
src/aubio.rs:474
↓ 1 callersFunctionvec_median
Compute median of a slice using quickselect Transcribed from aubio/src/mathutils.c:435-484
src/aubio.rs:484
↓ 1 callersFunctionvec_peakpick
Check if position is a peak (greater than neighbors) Transcribed from aubio/src/mathutils.c:511-517
src/aubio.rs:569
↓ 1 callersFunctionvec_push
Push value to end of vector, shifting all elements left Transcribed from aubio/src/mathutils.c:308-314
src/aubio.rs:560
↓ 1 callersFunctionvec_rev
Reverse a slice in place
src/aubio.rs:804
Function_get_song_analyzed
( connection: MutexGuard<Connection>, path: String, )
src/library.rs:3198
Method_song_from_row_closure
( row: &Row, )
src/library.rs:1460
Methodanalyze
* Analyze a song decoded in `sample_array`. This function should NOT * be used manually, unless you want to explore analyzing a sample array you
src/song/mod.rs:386
Methodanalyze_paths
( paths: F, )
src/song/decoder.rs:215
Methodanalyze_paths_with_options
( paths: F, analysis_options: AnalysisOptions, )
src/song/decoder.rs:267
Methodanalyze_with_options
* This function is the same as [Song::analyze], but allows to compute an * analysis using old features_version. Do not use, unless for backwards
src/song/mod.rs:395
Functionassert_send
()
src/lib.rs:216
Functionassert_sync
()
src/lib.rs:222
Methodbase_config
(&self)
examples/library.rs:47
Methodbase_config
(&self)
examples/library_extra_info.rs:48
Methodbase_config_mut
(&mut self)
examples/library.rs:51
Methodbase_config_mut
(&mut self)
examples/library_extra_info.rs:52
Functionbench_bpm_desc
(c: &mut Criterion)
benches/descriptors.rs:60
Functionbench_chroma_desc
(c: &mut Criterion)
benches/descriptors.rs:102
Functionbench_chroma_filter
(c: &mut Criterion)
benches/chroma.rs:52
Functionbench_chroma_stft
(c: &mut Criterion)
benches/chroma.rs:70
Functionbench_compute_stft
(c: &mut Criterion)
benches/utils.rs:19
Functionbench_convolve
(c: &mut Criterion)
benches/utils.rs:10
Functionbench_decode_mono
(c: &mut Criterion)
benches/decoder.rs:8
Functionbench_decode_stereo
(c: &mut Criterion)
benches/decoder.rs:26
Functionbench_estimate_tuning
(c: &mut Criterion)
benches/chroma.rs:18
Functionbench_geometric_mean
(c: &mut Criterion)
benches/utils.rs:44
Functionbench_long_song
(c: &mut Criterion)
benches/decoder.rs:98
Functionbench_loudness_desc
(c: &mut Criterion)
benches/descriptors.rs:81
Functionbench_mp3
(c: &mut Criterion)
benches/decoder.rs:80
Functionbench_normalize_feature_sequence
(c: &mut Criterion)
benches/chroma.rs:60
Functionbench_pip_track
(c: &mut Criterion)
benches/chroma.rs:41
Functionbench_pitch_tuning
(c: &mut Criterion)
benches/chroma.rs:27
Functionbench_reflect_pad
(c: &mut Criterion)
benches/utils.rs:36
Functionbench_resample_mono
(c: &mut Criterion)
benches/decoder.rs:44
Functionbench_resample_multi
(c: &mut Criterion)
benches/decoder.rs:62
Functionbench_spectral_desc
(c: &mut Criterion)
benches/descriptors.rs:19
Functionbench_zcr_desc
(c: &mut Criterion)
benches/descriptors.rs:39
Methodcolumn_result
(value: ValueRef<'_>)
src/library.rs:170
Functioncompare_ffmpeg_to_symphonia_for_all_test_songs
()
src/song/decoder/symphonia.rs:701
Functioncosine_distance
Return the [cosine distance](https://en.wikipedia.org/wiki/Cosine_similarity#Angular_distance_and_similarity) between two vectors.
src/playlist.rs:76
Functioncustom_sort
( _: &[LibrarySong<ExtraInfo>], songs: &[LibrarySong<ExtraInfo>], _distance: &dyn Dist
src/library.rs:2610
Methoddecode
(_: &Path)
src/library.rs:1792
Methoddecode
(path: &Path)
src/song/decoder/ffmpeg.rs:136
Methoddefault
()
src/song/mod.rs:262
Functiondefault_m
()
src/library.rs:283
Methoddeserialize_config
Default implementation to load a config from a JSON file. Reads from a string. If you change the serialization format to use something else than JSON
src/library.rs:233
Methoddo_
Compute spectral frame This is a transcription of aubio_pvoc_do from phasevoc.c (matching the original buffer overflow bug with 512-element buffer)
src/aubio.rs:182
Functionfirst_factor_distance
(a: &Array1<f32>, b: &Array1<f32>)
src/library.rs:2432
Functionfirst_factor_divided_by_30_distance
(a: &Array1<f32>, b: &Array1<f32>)
src/library.rs:2501
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/song/mod.rs:295
Methodfrom
(v: FeaturesVersion)
src/lib.rs:173
Methodfrom
(err: rubato::ResampleError)
src/song/decoder/symphonia.rs:61
Methodfrom_config_path
Load a library from a configuration path. If no configuration path is provided, the path is set using default data folder path.
src/library.rs:687
Methodfrom_path
Load a config from the specified path, using `deserialize_config`. This method can be overriden in the very unlikely case the user wants to do someth
src/library.rs:241
Methodfrom_path
Extract a BlissCue from a given path.
src/cue.rs:110
Methodget_buffer
(decoded: GenericAudioBufferRef)
src/song/decoder/symphonia.rs:194
Methodget_default_data_folder
Because we spent some time using XDG_DATA_HOME instead of XDG_CONFIG_HOME as the default folder, we have to jump through some hoops: - Legacy path ex
src/library.rs:294
Methodget_features_version
Get the number of desired cores for analysis, and write it to the configuration file.
src/library.rs:217
Methodget_legacy_data_folder
()
src/library.rs:320
Methodget_number_cores
Get the number of desired cores for analysis, and write it to the configuration file.
src/library.rs:223
Methodget_timesig
Get time signature from autocorrelation Transcribed from aubio/src/tempo/beattracking.c:317-335
src/aubio.rs:866
Methodget_value
Sum the number of zero-crossings witnessed and divide by the total number of samples.
src/timbral.rs:248
Methodget_value
* Compute score related to tempo. * Right now, basically returns the song's BPM. * * - `song` Song to compute score from */
src/temporal.rs:66
Methodinit
A "substantial portion" of this implementation comes from the `rodio` crate, <https://github.com/RustAudio/rodio/blob/1c2cd2f6d99c005533b7a2b4c19ef417
src/song/decoder/symphonia.rs:117
Methodinto_mono_samples
(source: SymphoniaSource)
src/song/decoder/symphonia.rs:266
Functionmain
()
build.rs:3
Functionmain
* Simple utility to print the result of an Analysis. * * Takes a list of files to analyze an the result of the corresponding Analysis. */
examples/analyze.rs:10
Functionmain
A simple example of what a CLI-app would look. Note that `Library::new` is used only on init, and subsequent commands use `Library::from_path`.
examples/library.rs:93
Functionmain
Analyzes a folder recursively, and make a playlist out of the file * provided by the user. */ How to use: ./playlist [-o file.m3u] [-a analysis.json]
examples/playlist.rs:19
Functionmain
* Simple utility to print distance between two songs according to bliss. * * Takes two file paths, and analyze the corresponding songs, printing *
examples/distance.rs:12
Functionmain
A simple example of what a CLI-app would look. Note that `Library::new` is used only on init, and subsequent commands use `Library::from_path`.
examples/library_extra_info.rs:111
Methodnew
Create a new, basic config. Upon calls of `Config.write()`, it will be written to `config_path`. Any path omitted will instead default to a "clever"
src/library.rs:343
Methodnew
(sample_rate: u32)
src/timbral.rs:123
Methodnew
(sample_rate: u32, n_chroma: u32)
src/chroma.rs:59
Methodnew
Create new spectral descriptor - matches aubio's API
src/aubio.rs:88
Methodnew
(sample_rate: u32)
src/temporal.rs:43
Methodnew
Create a new Analysis object. Usually not needed, unless you have already computed and stored features somewhere, and need to recreate a Song with an
src/song/mod.rs:326
Methodnew
(mss: MediaSourceStream<'static>)
src/song/decoder/symphonia.rs:100
Methodnew
( music_library_path: PathBuf, config_path: Option<PathBuf>, database_path: Option<Pat
examples/library.rs:31
Methodnew
( music_library_path: PathBuf, config_path: Option<PathBuf>, database_path: Option<Pat
examples/library_extra_info.rs:32
Methodnew_from_base
Create a new [Library] object from a minimal configuration setup, writing it to `config_path`.
src/library.rs:739
Methodnext
(&mut self)
src/song/decoder/symphonia.rs:218
Methodpush_to_sample_array
(frame: &ffmpeg_next::frame::Audio, sample_array: &mut Vec<f32>)
src/song/decoder/ffmpeg.rs:112
Functionrepeat_vars
Copied from https://docs.rs/rusqlite/latest/rusqlite/struct.ParamsFromIter.html#realistic-use-case
src/library.rs:1749
Methodresample_frame
( rx: Receiver<Audio>, in_codec_format: Sample, sent_in_channel_layout: SendChannelLay
src/song/decoder/ffmpeg.rs:37
Methodresample_mono_samples
( mut samples: Vec<f32>, sample_rate: u32, )
src/song/decoder/symphonia.rs:306
Methodsize_hint
(&self)
src/song/decoder/symphonia.rs:207
← previousnext →101–200 of 372, ranked by callers