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

Can we use Bispectrum function for audio analysis? #639

Open
monk1337 opened this issue Feb 21, 2022 · 4 comments
Open

Can we use Bispectrum function for audio analysis? #639

monk1337 opened this issue Feb 21, 2022 · 4 comments
Labels
low-priority Low-priority issues. question Question about functionality, usage, etc.

Comments

@monk1337
Copy link

Hi, I am trying to implement Bispectrum function for audio analysis and found your repo. But this function takes a light curve object as input, can we make it more general to utilise for other purposes?

How Bispectrum can be use in audio analysis can be found here:
Screenshot 2022-02-21 at 4 02 06 PM
Screenshot 2022-02-21 at 4 02 13 PM

@matteobachetti
Copy link
Member

Hi @monk1337, good point. I drafted the relevant functions here: #640.
If you could help us test it using your own data, it would be great!

@monk1337
Copy link
Author

monk1337 commented Feb 22, 2022

Hi @matteobachetti Thank you for quick reply and help, However I am still confused how to use any of that function, to give an example my data looks like this:

I have audio segments in numpy representation, such as:

Screenshot 2022-02-22 at 2 16 53 PM

For each segment ( Numpy array ) I am calculating the features, such as :

Screenshot 2022-02-22 at 2 17 06 PM

You can run the minimal working example here:

https://colab.research.google.com/drive/1l_sAJqjfukX-Ux4xNCdjMNBiYPuVmxfz?usp=sharing

How should I calculate the Bispectrum Score (BGS) for this numpy array (audio segment )?

@monk1337
Copy link
Author

@matteobachetti any updates?

@matteobachetti
Copy link
Member

@monk1337 the use case seems very different from ours. At the moment, it's difficult for me to understand how to adapt our infrastructure to your use case. I would need some time dedicated to this issue, which I cannot afford at the moment. If you have time to investigate this, free to propose improvements of the code, though

@abigailStev abigailStev added question Question about functionality, usage, etc. low-priority Low-priority issues. labels Mar 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low-priority Low-priority issues. question Question about functionality, usage, etc.
Projects
None yet
Development

No branches or pull requests

3 participants