You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ENH: Add examples module with example function, use pooch, adapt from librosa #33
I don't want to take the namespace data (scikit-image) or datasets (scikit-learn), might need these later
I prefer the librosa.example approach
but I don't see a need to hide it in a sub-package like librosa.util.files right now
I want to include a handful of files in the package, but
Probably we should just go ahead and use pooch and be able to grab entire datasets later
so:
add vocalpy.examples module and import function example from it at top level, to allow something like vocalpy.example('gy6or6-song.cbin') or vocalpy.example('birdsong-rec.xml')`
Thinking more about API, and also ability to cite.
We want to get back things we can work with right away.
But we also want to give people credit.
I think we should have a name with associated metadata, but when you pass in the name, you get back Audio/Spectrogram/Annotations etc immediately
>>> import vocalpy as voc
>>> voc.examples.list()
{
'bells.wav' : 'Zebra finch song from Sound Analysis Pro website ()',
...
}
>>> audio = voc.example('bells.wav')
>>> print(audio)
Audio(data=...)
Activity
NickleDave commentedon Jan 19, 2024
Thinking more about API, and also ability to cite.
We want to get back things we can work with right away.
But we also want to give people credit.
I think we should have a name with associated metadata, but when you pass in the name, you get back Audio/Spectrogram/Annotations etc immediately
NickleDave commentedon Jan 19, 2024
I didn't find built-in examples in warbleR per se but it looks like Marcelo has this package:
https://github.com/maRce10/NatureSounds
https://marce10.github.io/NatureSounds/reference/index.html
I think we should convert these to audio (rdata will help) and then add with citation.
ENH: Add examples, fix #33
ENH: Add examples, fix #33
ENH: Add examples, fix vocalpy#33 (vocalpy#113)