GithubHelp home page GithubHelp logo

mel-spec's People

Contributors

jbrough avatar mrienstra avatar wfjsw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mel-spec's Issues

Error running the browser example

Hi, I'm not really familiar with rust.

When running the browser example I got this error once transcription starts.
image

Looking in mel_spec_pipeline.js I find this.

image

I on rustc version 1.78.0, cargo 1.78.0. MacBook M1 Pro.

When building I had some warnings but nothing dramatic.
Not sure where to start.

Am I doing something wrong? Any help is welcomed. :)

Help with pcm to mel_spectrograms in the non buffered/streamed case

I am trying to use the library to convert 4 second chunks of pcm data (at 16kHz) to mel spectrograms.
The library has some really nice tools for streaming data, what would you recommend when I have the exact number of samples in a Vec?

More simply I am looking for something that looks like this:

let pcm = vec![1.0; 4 * 16000];
let mel = pcm_to_mel(pcm, n_mel, fft_size, hop_size);

I am reasonably new to audio/rust in general and have been struggling to find a library with this functionality.
Everything seems to be fancier/more complex than I need.

Thanks,
Sefton

interested in testing against data generated by librosa's functions

Awesome project.
If I was able to generate data from librosa's python functions(input and output npy files) to compare against, would you be interested in including those as a test case?

I started working on a tool for generating files for this for the library I've been working on after realizing none of the existing python functions for computing an MFCC had anywhere near the same results, and models may be somewhat overfit to the preprocessing step. but I'm less of a mathematician and more of a code monkey, so I'm just guessing.

Also interested in contributors?

mel_spec::mel returns NaNs

#[test]
fn test_mel() {
    let mel = mel(16000.0f64, 1024, 128, true, true);

    println!("{:?}", mel);
}
---- tests::pitch::tests::test_mel stdout ----
[[NaN, NaN, NaN, NaN, NaN, ..., NaN, NaN, NaN, NaN, NaN],
 [NaN, NaN, NaN, NaN, NaN, ..., NaN, NaN, NaN, NaN, NaN],
 [NaN, NaN, NaN, NaN, NaN, ..., NaN, NaN, NaN, NaN, NaN],
 [NaN, NaN, NaN, NaN, NaN, ..., NaN, NaN, NaN, NaN, NaN],
 [NaN, NaN, NaN, NaN, NaN, ..., NaN, NaN, NaN, NaN, NaN],
 ...,
 [NaN, NaN, NaN, NaN, NaN, ..., NaN, NaN, NaN, NaN, NaN],
 [NaN, NaN, NaN, NaN, NaN, ..., NaN, NaN, NaN, NaN, NaN],
 [NaN, NaN, NaN, NaN, NaN, ..., NaN, NaN, NaN, NaN, NaN],
 [NaN, NaN, NaN, NaN, NaN, ..., NaN, NaN, NaN, NaN, NaN],
 [NaN, NaN, NaN, NaN, NaN, ..., NaN, NaN, NaN, NaN, NaN]], shape=[128, 513], strides=[513, 1], layout=Cc (0x5), const ndim=2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.