[HN Gopher] Aubio, a C library for analyzing songs ___________________________________________________________________ Aubio, a C library for analyzing songs Author : khoobid_shoma Score : 97 points Date : 2021-09-19 09:14 UTC (2 days ago) (HTM) web link (github.com) (TXT) w3m dump (github.com) | hummo56 wrote: | Funny, I stumbled upon this just today when I was looking for | good realtime beat detection code. | | Does anybody have experience, using some of this code for | realtime detection? | gavinray wrote: | You might try "librosa" for tempo/beat detection: | | https://github.com/librosa/librosa/blob/main/librosa/beat.py | Track beats using time series input >>> y, sr = | librosa.load(librosa.ex('choice'), duration=10) >>> | tempo, beats = librosa.beat.beat_track(y=y, sr=sr) >>> | tempo 135.99917763157896 | | Also see Essentia: | | https://essentia.upf.edu/ | kyrofa wrote: | Not beat detection, but other real-time patterns. See my other | reply here: https://news.ycombinator.com/item?id=28607374 . | sydthrowaway wrote: | OT: Does anyone know the state of the art is music visualization? | jihadjihad wrote: | > MFCC (mel-frequency cepstrum coefficients) | | For anyone else who had never heard of "cepstrum" before, this is | what I found on Wikipedia: | | "The cepstrum is the result of computing the inverse Fourier | transform of the logarithm of the estimated signal spectrum. The | method is a tool for investigating periodic structures in | frequency spectra. The power cepstrum has applications in the | analysis of human speech. | | The term cepstrum was derived by reversing the first four letters | of spectrum. Operations on cepstra are labelled quefrency | analysis (or quefrency alanysis), liftering, or cepstral | analysis." | a-dub wrote: | wikipedia's sections on signal processing and data compression | have jumped to near textbook quality in the past few years. | | the cepstrum is awesome, it comes from the source-filter model | of human speech. by looking at the periodicities in the | frequencies, it attempts to capture the resonance of the filter | that models the vocal tract. | glouwbug wrote: | If anyone is interested, Sonic Visualizer with it's vamp plugins | is pretty state of the art when it comes to analyzing music. The | Chordino NNLS Chroma plugin, for instance, can extract even jazz | chords fairly accurately | gavinray wrote: | I've also heard this about Sonic Visualizer + vamp plugins | | Could anyone familiar with this area recommend more tools like | the original post and these? Would really appreciate it. | glouwbug wrote: | All I can say is that I don't really look for sheet music | anymore, or guitar tabs / chords. When I find interesting | music on youtube I just use youtube-dl and Sonic Visualizer / | NLS-chroma and jam along. It's upped my song writing | abilities and general understanding and feel for music | tremendously | smoldesu wrote: | Total gamechanger. Between this, Bitwig and PipeWire, I | think Linux can really be my full-time studio choice. | chris_st wrote: | Interesting! I just signed up for Chordify [0], which does | extraction of chords from YouTube videos, and then plays them | while you play along to either a grid of chords, or an | animation showing the current chord and the next ones coming | up. Has chord diagrams for Guitar, Ukulele, and Piano. | | Really nice, frequently accurate (it's not perfect :-). | | [0] https://chordify.net/ | pantulis wrote: | There is also the free Yamaha Chord Tracker app (just | checked, it still works on iOS15) | WillHarl wrote: | This is quite useful for sound engineers and those who want to | have side projects that have to do with audios. | rkagerer wrote: | Anyone here used it? How well does it work? | kyrofa wrote: | I've used its python bindings. I've been quite pleased with how | well it works, honestly. I wrote some software for a client | with multiple radio stations. It's a service that listens to | one web stream per station and shoots the client an email/text | if it detects problematic audio (e.g. static, silence, etc.). | Some of the stations are talk and others are music, so it | needed to be robust. Aubio made it really easy to test | different detection algorithms, and its documentation was | tremendously helpful. IRC room was active as well when I had | questions. | ChickeNES wrote: | Yet another library that uses GPL 3 and not LGPL 3. Why? | zebproj wrote: | From the website: | | > Note: aubio is not MIT or BSD licensed. Contact the author if | you need it in your commercial product. | dTal wrote: | No doubt because the author doesn't want it to be used in | proprietary software that doesn't respect the user's freedoms. | At least, not without taking a cut. ___________________________________________________________________ (page generated 2021-09-21 23:01 UTC)