Comments (4)
I think this would be a good addition. I'm not sure how best to go about it. I'm not worried about a breaking change, as we're working on a new interface anyway in #931 and we can just include it as part of that. But, that's a big chunk of work and I wouldn't want to block this on that. What are your thoughts on how you would expect this functionality to be surfaced to you as a user?
from meyda.
In another lifetime I might imagine an interface whereby you supply the ampSectrum or powerSpectrum as inputs but I think it would make more sense to pass a Map()
of parameters:
const params = new Map(
['power' : true]
)
or something comparabale like a straight up JSON object. I've actually been using entirely the OOTB defaults for all Meyda stuff, apart from wiggling the buffer size to get lower minimum frequencies and such, so I'm not too versed in how you actually pass parameters as it stands now.
from meyda.
Cool. I'll consider that for the new interface. If you would like to use these soon (I think that interface won't be ready for at least a few months), one thing you could do is to open a PR duplicating the existing feature extractors, naming them with a powerSpectrum
prefix, like powerSpectrumCentroid
, and have them use the power spectrum rather than the amplitude spectrum. I could release that as a minor version increment, and you'd be able to use it. How would you feel about doing a PR for something like that?
from meyda.
I personally need the PR so I'd be happy to supply it! Give me this week.
from meyda.
Related Issues (20)
- Fluid Corpus Manipulation HOT 3
- DTMF detection HOT 1
- Is mel-spectrum available? HOT 5
- 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.