question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

specshow representation

See original GitHub issue

Description

I want to know the exact meaning of what the tonnetz specshow diagram indicates https://librosa.github.io/librosa/generated/librosa.feature.tonnetz.html

Steps/Code to Reproduce

Expected Results

Actual Results

Versions

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lostanlencommented, Jan 11, 2019

Hello @rohan7797, This is explained in the documentation at the link you pointed.

tonnetz : np.ndarray [shape(6, t)]
    Tonal centroid features for each frame.
    Tonnetz dimensions:

            0: Fifth x-axis
            1: Fifth y-axis
            2: Minor x-axis
            3: Minor y-axis
            4: Major x-axis
            5: Major y-axis

If you are not already familiar with tonal centroid features, I recommend you read the paper of Harte et al. 2006 http://www.ofai.at/~martin.gasser/papers/oefai-tr-2006-13.pdf

0reactions
lostanlencommented, Mar 6, 2019

@rohan7797 i don’t understand the question “how does it signify the change in harmonics”. Equation 3 of the paper i shared above describes precisely how these features are computed, and what their positive and negative values indicate. I invite you to reach out to Christopher Harte for further clarifications. In any case, i don’t see this issue as requiring a necessary change to the codebase of librosa, so i propose to close it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

librosa.display.specshow — librosa 0.10.0.dev0 documentation
This requires a just intonation-based variable-Q transform representation. All frequency types are plotted in units of Hz. Any spectrogram parameters ( ...
Read more >
librosa.display.specshow — librosa 0.6.0 documentation
Display a spectrogram/chromagram/cqt/etc. Parameters: data : np.ndarray [shape=(d, n)].
Read more >
tiny border in librosa.display.specshow - matplotlib
I want to draw a spectrogram of a song to be used as feature for image classification with convolutional neural networks. Therefore, the...
Read more >
Librosa demo - Jupyter Notebooks Gallery
Next, we'll extract Chroma features to represent pitch class information. ... set vmin and vmax librosa.display.specshow(C, sr=sr, x_axis='time', ...
Read more >
Guitar Specs, How Much Do They Really Matter?
As a customer service representative I get asked various questions every day like... How much does a certain guitar weigh? Is.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found