vincentlou-git / aumix

Audio Unmixing and Music Score Transcription. Developed as my undergraduate final year project.
https://doramemo-x.github.io/aumix
0 stars 0 forks source link

For some sampling rate & nperseg, pcolormesh throws error #26

Closed vincentlou-git closed 3 years ago

vincentlou-git commented 3 years ago

For example, in stft_pure:

n_signals = 4
samp_rate = 44100
freqs = range(10, 10 + 10 * n_signals, 10)
durations = [1] * n_signals
window = "blackmanharris"

# nperseg = 100

Throws an error

TypeError: Dimensions of C (51, 3529) are incompatible with X (51) and/or Y (51); see help(pcolormesh)

even though the dimensions for f, t, Zxx are (3529,) (51,) (51, 3529).

vincentlou-git commented 3 years ago

Related: #27