bmcfee / laplacian_segmentation Goto Github PK
View Code? Open in Web Editor NEWgraph laplacian song segmentation
graph laplacian song segmentation
I am working on the music segmentation problem and I have a few questions about your code when I studied it. It would be great if you could give some pointers.
The function label_entropy in segmenter.py returns the entropy of the "labels" but not the hits calculated inside the function. Is this intended? Then, if it was the "hits" that was intended to be used.
Wouldn`t it always return 1.0 after divided by log(k)? Because of the np.unique function only returns the unique value of an array, it is somewhat effectively the same as range(k) in some sense. Then the next for loop in the function will just fill hits with one count for each bin.
Please let me know if I misunderstood anything or missed some steps you
took in the code. Thank you so much!!!
Do i get the structural parts of music like intro, chorus, verse, bridge and outro.
Thanks!
Hi!
I was just trying out some of your code and I noticed listening to y_perc and y_harm that they sounded switched. And indeed, in your current documentation of librosa you have them in the reverse order that they appear on line 131 of segmenter.py. Perhaps they got switched in a newer version of librosa?
Anyway, maybe this doesn't matter anymore, but I figured I'd flag it just in case.
Thanks for the great software!
Sincerely,
Chris Tralie
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.