Skip to content

Commit

Permalink
Add more demonstration
Browse files Browse the repository at this point in the history
  • Loading branch information
KinWaiCheuk authored Oct 21, 2019
1 parent b44b11b commit db648d1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Scipy 1.2.0

PyTorch 1.1.0

# Instruction
# Instructions
All the required codes are contained inside the jupyter-notebook. The audio processing layer can be integrated as part of the neural network as shown below.


Expand Down Expand Up @@ -41,3 +41,7 @@ class Model(torch.nn.Module):
y = self.linear(torch.relu(torch.flatten(z3,1)))
return torch.sigmoid(y)
```

## Demostration
The spectrogram outputs from nnAudio are nearly identical to the implmentation of librosa. The only difference is CQT, where we normalized the CQT kernel with L1 norm and then CQT output is normalized with the CQT kernel length. I am unable to explain the normalization used by librosa.
![alt text](https://github.com/KinWaiCheuk/nnAudio/blob/master/performance_test/performance_chrom.png)

0 comments on commit db648d1

Please sign in to comment.