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

General documentation terminology: STFT #98

Open
2 of 9 tasks
Oortone opened this issue May 4, 2022 · 0 comments
Open
2 of 9 tasks

General documentation terminology: STFT #98

Oortone opened this issue May 4, 2022 · 0 comments

Comments

@Oortone
Copy link

Oortone commented May 4, 2022

What is the issue about?

  • Bug
  • Feature request
  • Usage question
  • Documentation
  • Contributing / Development

What part(s) of Essentia.js is involved?

  • essentia.js-core (vanilla algorithms)
  • essentia.js-model (machine learning algorithms)
  • essentia.js-plot (plotting utility module)
  • essentia.js-extractor (typical algorithm combinations utility)

Description

Sorry for my documentation spamming but I must also ask this:
While searchng for a general FFT method in Essentia.js (not finding it specifically for *.js) I found the FFT algorithm in the upstream Essentita Algorithm Reference. However I'm puzzled by the terminology. It says: "This algorithm computes the positive complex short-term Fourier transform (STFT) of an array using the FFT algorithm."

But a STFT (Short Term Fourier Transform) will not produce one single vector with FFT-values as presented here but a vector of vectors of FFT:s. Each corresponding to one analysis window. Also you would expect to be able to set hop-length and window-function when calling an STFT.
Here's an example in Python from Librosa.

Why are you calling a regular single FFT STFT in the documentation? Is this related to some specific usage case I'm missing?

Also, I might take the opportunity to ask if there's no FFT (or STFT) in the js-version? Spectrum covers most cases but not if I want to extract phase.

Steps to reproduce / Code snippets / Screenshots

System info

not system related, Essentia.js 0.1.3

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

1 participant