Skip to content

Commit

Permalink
expanded the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
fracpete committed Jun 4, 2024
1 parent c3c1410 commit 307f4d2
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 3 deletions.
Binary file added docs/img/LJ001-0001-mel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/img/LJ001-0001-mfcc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/img/LJ001-0001-stft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
61 changes: 58 additions & 3 deletions docs/visualization.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,61 @@ Requires the [audio-dataset-converter-visualization](https://github.com/waikato-

# Plugins

* `to-mel-spectrogram` - outputs Mel spectrogram images
* `to-mfcc-spectrogram` - outputs Mel-frequency cepstral coefficients images
* `to-stft-spectrogram` - outputs short time fourier transform (STFT) spectrogram images
For the following examples, data from the [LJ Speech Dataset](https://keithito.com/LJ-Speech-Dataset/) was used.


## Mel spectrogram

`to-mel-spectrogram` - outputs Mel spectrogram images

```bash
adc-convert \
-l INFO \
from-data \
-l INFO \
-i "./input/*.wav" \
-t sp \
to-mel-spectrogram \
-l INFO \
-o ./output
```

![Mel spectrogram example plot](img/LJ001-0001-mel.png)


## MFCC spectrogram

`to-mfcc-spectrogram` - outputs Mel-frequency cepstral coefficients images

```bash
adc-convert \
-l INFO \
from-data \
-l INFO \
-i "./input/*.wav" \
-t sp \
to-mfcc-spectrogram \
-l INFO \
-o ./output
```

![MFCC spectrogram example plot](img/LJ001-0001-mfcc.png)


## STFT spectrogram

`to-stft-spectrogram` - outputs short time fourier transform (STFT) spectrogram images

```bash
adc-convert \
-l INFO \
from-data \
-l INFO \
-i "./input/*.wav" \
-t sp \
to-stft-spectrogram \
-l INFO \
-o ./output
```

![STFT spectrogram example plot](img/LJ001-0001-stft.png)

0 comments on commit 307f4d2

Please sign in to comment.