Comments (6)
This seems cool. What would be a use case?
If you can talk a little more about a use case and your proposed addition to the dejavu api that wouldn't break backwards compatibility, I'd certainly accept a PR.
from dejavu.
A typical usage will be a core developer for example that is using pyradio or developing his own detection system, sometimes and in this days, we rarely have a "real radio" connected or even listen to mp3. right? so we base almost anything we do online , radios, tv etc.
For that reasong this feature will be cool.
The user present a new source, a stream that can be converted with gstreamer, ffmpeg or whatever to raw format mp3 , etc and either create a virtual output device or output to a file (for recording and decoding later).
So basically after that we create a new sink in dejavu or read from a stream, the same way that you did with the microphone.
So, at any given time the user put an url, gst or ffmpeg(avconv) reads it and pass it along to dejavu to create the matching.
This will not affect the fingerprinting, just the Recogn part.
Sorry if i make it more complicated ( many hours without sleep by now :) )
from dejavu.
OK, that sounds great and I would gladly accept your PR. What would you like the API to look like as an example?
from dejavu.
The API can probably be extended with a fingerprint_stream
of sorts, that accepts something with a read
method.
The bigger problem is that most of the fingerprinting code currently assumes it has the whole audio track at hands. This might require quite a bit of reworking of the fingerprinting code.
from dejavu.
Thanks !! Although my initial plan is not fingerprint the streaming music, just recognizing it. So im assuming that is the method read inside recog can loop between T (T being the time we want to listen to) just in the way that microphone is doing it.
I will write a small proposal with source code, at the beggining with a little delay, for example:
connect to Stream, download T seconds , save file , call the recognize function.
from dejavu.
Great. When you get a proposal together, please open a PR.
from dejavu.
Related Issues (20)
- run_tests.py: error: the following arguments are required src HOT 4
- Trying to fingerprint about 200 000 files. After 15000 files INSERT operation is very slow. HOT 1
- Do maximum_filter with cupy instead of scipy
- Failed to solve HOT 1
- Comparing short audio files
- Python Docker image bloated
- A directory of potentially duplicate audio files?
- it works well with python3.6 ~
- Not working for recordings
- Some errors when I use python3.7
- multiple concurrency
- Fingerprinting Audio With Differing Sample Rates HOT 1
- Jscght
- figerprinting file HOT 1
- Any way to generate the result image of the plots? HOT 1
- Does this package supports Python 3 HOT 4
- does this project work well on recognizing human speak? HOT 5
- Problem running the sample project HOT 1
- erors using fingerprint_file HOT 1
- Audio file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dejavu.