# With 'Essentia', is this compatible with Processing? Additionally can it get the tempo, key signature and loudness?

**URL:** https://discourse.processing.org/t/with-essentia-is-this-compatible-with-processing-additionally-can-it-get-the-tempo-key-signature-and-loudness/22967
**Category:** Libraries
**Created:** [August 1, 2020, 1:25pm UTC](https://discourse.processing.org/t/with-essentia-is-this-compatible-with-processing-additionally-can-it-get-the-tempo-key-signature-and-loudness/22967 "2020-08-01T13:25:18Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![anon76195010](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@anon76195010](https://discourse.processing.org/u/anon76195010)
#### Post date: [August 1, 2020, 1:25pm UTC](https://discourse.processing.org/t/with-essentia-is-this-compatible-with-processing-additionally-can-it-get-the-tempo-key-signature-and-loudness/22967/1 "2020-08-01T13:25:18Z")

</div>

I was looking at [Essentia](https://essentia.upf.edu) and it said it is compatible with Python and JavaScript but I am not sure if this is compatible with Processing or not? This library deals with audio. Here is the link to its Github repo [https://github.com/MTG/essentia](https://github.com/MTG/essentia)

If it is compatible with Processing, from the audio file, am I able to get its tempo/ beats per minute, key signature or pitch and the loudness of the song?

---

<div class="post-metadata">

### Author: ![qewer3322](https://avatars.discourse-cdn.com/v4/letter/q/e19adc/32.png) [@qewer3322](https://discourse.processing.org/u/qewer3322)
#### Post date: [August 1, 2020, 3:31pm UTC](https://discourse.processing.org/t/with-essentia-is-this-compatible-with-processing-additionally-can-it-get-the-tempo-key-signature-and-loudness/22967/2 "2020-08-01T15:31:54Z")

</div>

It says that it is a C++ library.  
I feel like you should try researching, googling and reading a bit before posting another question about sound libraries 😃

look at minims functions maybe you’ll find what you are looking for:  
[http://code.compartmental.net/minim/](http://code.compartmental.net/minim/)  
[http://code.compartmental.net/minim/beatdetect\_class\_beatdetect.html](http://code.compartmental.net/minim/beatdetect_class_beatdetect.html)  
[http://code.compartmental.net/minim/audiooutput\_method\_settempo.html](http://code.compartmental.net/minim/audiooutput_method_settempo.html)  
[http://code.compartmental.net/minim/audiooutput\_method\_gettempo.html](http://code.compartmental.net/minim/audiooutput_method_gettempo.html)  
[http://code.compartmental.net/minim/audiooutput\_method\_getvolume.html](http://code.compartmental.net/minim/audiooutput_method_getvolume.html)

Edit: looks like getTempo() doesnt really work. I dont know if I tried it wrong tho.

---

<div class="post-metadata">

### Author: ![anon76195010](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@anon76195010](https://discourse.processing.org/u/anon76195010)
#### Post date: [August 2, 2020, 1:03am UTC](https://discourse.processing.org/t/with-essentia-is-this-compatible-with-processing-additionally-can-it-get-the-tempo-key-signature-and-loudness/22967/3 "2020-08-02T01:03:20Z")

</div>

> [@qewer3322](#):
>
> I feel like you should try researching, googling and reading a bit before posting another question about sound libraries 😃

That is literally

what I have been doing and there doesn’t seem to be anything easy to use, either that or support Processing.

> [@qewer3322](#):
>
> look at minims functions maybe you’ll find what you are looking for:  
> [http://code.compartmental.net/minim/](http://code.compartmental.net/minim/)  
> [Minim : : BeatDetect](http://code.compartmental.net/minim/beatdetect_class_beatdetect.html)  
> [Minim : : AudioOutput : : setTempo](http://code.compartmental.net/minim/audiooutput_method_settempo.html)  
> [Minim : : AudioOutput : : getTempo](http://code.compartmental.net/minim/audiooutput_method_gettempo.html)  
> [Minim : : AudioOutput : : getVolume](http://code.compartmental.net/minim/audiooutput_method_getvolume.html)
> 
> Edit: looks like getTempo() doesnt really work. I dont know if I tried it wrong tho.

Yes, using `getTempo()` does not work for me as well. I have been really trying to find out what to use as an alternative but its very hard to find.

By the way I am not interested in setting the tempo, I want to only get the tempo. But anyways thanks for the help.

---

<div class="post-metadata">

### Author: ![qewer3322](https://avatars.discourse-cdn.com/v4/letter/q/e19adc/32.png) [@qewer3322](https://discourse.processing.org/u/qewer3322)
#### Post date: [August 2, 2020, 8:25am UTC](https://discourse.processing.org/t/with-essentia-is-this-compatible-with-processing-additionally-can-it-get-the-tempo-key-signature-and-loudness/22967/4 "2020-08-02T08:25:26Z")

</div>

> [@qewer3322](#):
>
> I feel like you should try researching, googling and reading a bit before posting another question about sound libraries 😃

I said this because it says it is a c++ library on the first sentence of the github repo. And if you go into their site, there is a documentation available and it says getting tempo is one of its features. 😃

---

<div class="post-metadata">

### Author: ![anon76195010](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@anon76195010](https://discourse.processing.org/u/anon76195010)
#### Post date: [August 2, 2020, 9:13am UTC](https://discourse.processing.org/t/with-essentia-is-this-compatible-with-processing-additionally-can-it-get-the-tempo-key-signature-and-loudness/22967/5 "2020-08-02T09:13:44Z")

</div>

> [@qewer3322](#):
>
> I said this because it says it is a c++ library on the first sentence of the github repo. And if you go into their site, there is a documentation available and it says getting tempo is one of its features. 😃

But they do support Python as well that is why I was a bit confused, nothing more 🙂

---

<div class="post-metadata">

### Author: ![qewer3322](https://avatars.discourse-cdn.com/v4/letter/q/e19adc/32.png) [@qewer3322](https://discourse.processing.org/u/qewer3322)
#### Post date: [August 2, 2020, 12:24pm UTC](https://discourse.processing.org/t/with-essentia-is-this-compatible-with-processing-additionally-can-it-get-the-tempo-key-signature-and-loudness/22967/6 "2020-08-02T12:24:38Z")

</div>

If they support phyton, you could try it with processing.py. It’ll work maybe? I don’t know much about phyton libraries.

---

<div class="post-metadata">

### Author: ![anon76195010](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@anon76195010](https://discourse.processing.org/u/anon76195010)
#### Post date: [August 2, 2020, 12:26pm UTC](https://discourse.processing.org/t/with-essentia-is-this-compatible-with-processing-additionally-can-it-get-the-tempo-key-signature-and-loudness/22967/7 "2020-08-02T12:26:51Z")

</div>

Thanks anyways mate 🙂
