Parisson / TimeSide

scalable audio processing framework and server written in Python
https://timeside.ircam.fr/docs/
GNU Affero General Public License v3.0
369 stars 59 forks source link

[waveform] waveform.max has values > 1 #177

Closed gnuletik closed 1 year ago

gnuletik commented 4 years ago

When getting the waveform from the API, some max values are superior to 1.

For example, on this item

title: Adriano_Celentano-L'Emozione_Non_Ha_Voce
description: DALI_ID: f4220e6a7f1a4506987ef9a636da4276 WASABI_ID: 5714dec325ac0d8aee3867f4 DEEZER_ID: none WORKING: True
uuid: fb861acb-76d5-4e92-b7a3-4a5a6777124c 

Player URL : https://ircam-web.github.io/timeside-player/#/item/fb861acb-76d5-4e92-b7a3-4a5a6777124c

console.log(waveformApi.max.filter(i => i > 1))
Array(417) [ 1.055403470993042, 1.0218650102615356, 1.0295697450637817, 1.0512614250183105, 1.0078355073928833, 1.0402271747589111, 1.0224230289459229, 1.0091525316238403, 1.0677968263626099, 1.05376136302948, … ]

Is it an expected behavior ?

yomguy commented 1 year ago

Seems to be related to a bug of libav opus decoder, so closing.