# How to make log-Mel spectrogram?

**URL:** <https://discourse.julialang.org/t/how-to-make-log-mel-spectrogram/97927>\
**Category:** General Usage\
**Tags:** question, machine-learning, dsp, audio\
**Created:** [April 26, 2023, 4:08am UTC](https://discourse.julialang.org/t/how-to-make-log-mel-spectrogram/97927 "2023-04-26T04:08:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [April 26, 2023, 7:11am UTC](https://discourse.julialang.org/t/how-to-make-log-mel-spectrogram/97927/2 "2023-04-26T07:11:46Z")

</div>

To make a log-Mel spectrogram from a DSP spectrogram, I believe you need to transform the frequency axis according to the [Mel-scale formula](https://en.wikipedia.org/wiki/Mel_scale) and display the amplitudes in dB.

Linking also this [“related” thread](https://discourse.julialang.org/t/plotting-a-spectrogram-using-dsp-jl/58013).

---

_[View the full topic](https://discourse.julialang.org/t/how-to-make-log-mel-spectrogram/97927)._
