Comments (5)
Yes, you can get the raw mel filter banks by calling the createMelFilterBank
function from meyda/dist/esm/utilities
. I made a quick demo here. Heads up: I suspect that future versions of Meyda might change how we export this, but I haven't decided yet, so keep an eye on the 6.0.0 breaking changes when that comes out.
Let me know if I can help with anything else!
from meyda.
Ok, I see, but I need to add that in the Node client version somehow to make use of it offline? Probably easy for anyone familiar with Node, but I'm not sure how to add that into the extraction flow easily. Thanks anyway.
from meyda.
I can write you a little CLI to output the Mel Filter Bank - but I think we might be understanding the Mel Filter Bank in different ways. From my understanding of the code, the Mel Filter Bank isn't based on the signal, and therefore isn't an extracted feature - it's a list of filter coefficient sets that are used when computing the MFCCs. So in the CLI, they would just stay the same for every chunk of the audio input.
As for the MelScaled Spectrum, I would think that would mean a spectrum where the X-axis is Mels, rather than frequency. That's a different thing to the Mel filter bank. Is that what you're hoping to get?
from meyda.
Ah, yes. Mel Scaled Spectrum is what I mean.
Isn't that generated by a matrix calculation of the amplitudeSpectrum and the mel filter bank?
Seems it might be posiible to generate using Tensorflow, there's:
tf.signal.linear_to_mel_weight_matrix
Don't know if it's in the .js version but the matrix can probably be exported.
But of course, having it as features directly is the best :-)
from meyda.
Yes, I think having it as a feature would be good! I'll convert this issue to represent a feature request.
from meyda.
Related Issues (20)
- Fluid Corpus Manipulation HOT 3
- Power spectrum for spectral descriptors HOT 4
- DTMF detection HOT 1
- Last line in csv HOT 3
- Hop size and weird result in WebAudio HOT 9
- Two features in WebAudio gets values out of range HOT 1
- Extracting MFCCs on Mobile Devices in React Native HOT 7
- How to get features in typescript without casting? HOT 2
- Running meyda in p5js for real time audio streaming HOT 2
- Can we compute a mel-scaled spectrogram? HOT 5
- I want to import a part of music data. HOT 6
- sample page not working HOT 13
- Node 18 support HOT 2
- node v19 support?
- Code template HOT 1
- Please provide this project in react js HOT 5
- Web-version of Meyda (meyda.js & meyda.min.js in /src/dist/web) has a broken dependency problem HOT 5
- Finding formant (f1 and f2) from the audio features HOT 2
- Depreciated Web Audio API method in dist/node distribution lead to unusable analyser HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meyda.