Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Parsing" existing audio? #8

Open
marcelklehr opened this issue Jan 8, 2014 · 4 comments
Open

"Parsing" existing audio? #8

marcelklehr opened this issue Jan 8, 2014 · 4 comments

Comments

@marcelklehr
Copy link

Hey, I love your work.
I'm curious to know whether it's possible to load e.g. an audio file and "parse" it in order to pick out the chords that are played? I know it's possible to load an play an mp3 file, but is it possible to analyze it, too?

thanks in advance

@mohayonao
Copy link
Owner

No, a parsing method for an audio file is not exists.
But you can get raw data.

T("audio").load(src, function() {
  console.log(this.buffer); // { buffer, samplerate, channels }
});

@mohayonao
Copy link
Owner

oh.. mistake.

This project page is old, the current version is here.
https://github.com/mohayonao/timbre.js

The previous answer is for the current version.
This version cannot it.

@marcelklehr
Copy link
Author

So, parsing is impossible with both v12 and v13?

Are you planning to implement something like this? (It's probably pretty
hard, and not within the scope of this library, but I thought I'd ask)

@mohayonao
Copy link
Owner

it's impossible with both versions.
there is no schedule for implementing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants