Question: is it possible to draw 'boxes' IN the spectrogram (using the x and y axis values) #634
-
Context: having some bat sound recordings, analyzed using software which creates x events/features for the set (as being defined as beginning at t0 ending on t1, maxfreq fmax and minfreq fmin), it would be nice if I could create spectrograms using opensoundscape to draw the 'boxes' of these features ON the spectrogram. The goal is to compare and see the analysis of different(!) software packages: say software A finds 15 events of which a human being labeled 8 of them as certain specie calls, the other software package 'sees 20 events. The question (to us) is IF those events (seen as boxes) overlap, or not, and if we could visually use this 'diff' between the two packages to help labeling recordings. In practice: we have some human validated bcCalls recordings which we (may be usable) as input/validation of event/feature detection of Tadarida. Anybody has some insight IF this would already be possible? To be honest I have just slighly looked over documentation but the 'preprocessors' I see there all seem to work on a higher level (as in: combining different audio fragments), while I think my goal is to have a pointer to the actual graph, to be able to tell it: please draw a polygon between these 4 points... Any pointer/info appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, we don't have any currently implemented features for drawing boxes on a spectrogram. However, it's pretty easy to draw boxes on a pyplot figure (over top of a spectrogram) using the frequency and time limits. Here's an example:
|
Beta Was this translation helpful? Give feedback.
-
Supercool, thanks for the code example, will try this! |
Beta Was this translation helpful? Give feedback.
Hi, we don't have any currently implemented features for drawing boxes on a spectrogram. However, it's pretty easy to draw boxes on a pyplot figure (over top of a spectrogram) using the frequency and time limits. Here's an example: