Comments (10)
I'm sorry but I think that this is a question to acrcloud, not for me. I've have only programmed an user interface to use acrcolud.
My application doesn't have anything about third parties or anything else related whit this. I'm afraid that you are speaking about the acrcloud's account configuration.
I think you should ask it to acrcloud.
Regards
Ipserc
from zhavam.
thanks for reply l'll do that
from zhavam.
I've tested the acrcloud sdk and its detects the song
https://github.com/acrcloud/acrcloud_sdk_python
python test.py 01.\ Eppur\ Si\ Muove.mp3
{"status":{"msg":"Success","code":0,"version":"1.0"},"metadata":{"music":[{"external_ids":{"isrc":"DEG120600175","upc":"094637711958"},"play_offset_ms":7320,"external_metadata":{"musicstory":{"track":{"id":"3035139"}},"lyricfind":{"lfid":"001-9129821"},"youtube":{"vid":"HYmxuqVlJ_Y"},"deezer":{"album":{"id":300685},"artists":[{"id":2402}],"track":{"id":3112357}},"spotify":{"album":{"id":"1gtJUgOvHNK0Mnhe9LuWBs"},"artists":[{"id":"3DmG65yHQsMms7WAvrZOdt"}],"track":{"id":"0dRUhgeTLMjYs8ZbvTQOaC"}}},"release_date":"2006-09-16","artists":[{"name":"Enigma"}],"title":"Eppur Si Muove","label":"Virgin","duration_ms":221160,"album":{"name":"A Posteriori"},"acrid":"9692008ed76c7f1b859a66ffcda0a00e","result_from":1,"score":100}],"timestamp_utc":"2018-12-17 22:57:43"},"cost_time":0.43600010871887,"result_type":0}
duration_ms=221204
{"status":{"msg":"Success","code":0,"version":"1.0"},"metadata":{"music":[{"external_ids":{"isrc":"DEG120600175","upc":"094637711958"},"play_offset_ms":7320,"external_metadata":{"musicstory":{"track":{"id":"3035139"}},"lyricfind":{"lfid":"001-9129821"},"youtube":{"vid":"HYmxuqVlJ_Y"},"deezer":{"album":{"id":300685},"artists":[{"id":2402}],"track":{"id":3112357}},"spotify":{"album":{"id":"1gtJUgOvHNK0Mnhe9LuWBs"},"artists":[{"id":"3DmG65yHQsMms7WAvrZOdt"}],"track":{"id":"0dRUhgeTLMjYs8ZbvTQOaC"}}},"release_date":"2006-09-16","artists":[{"name":"Enigma"}],"title":"Eppur Si Muove","label":"Virgin","duration_ms":221160,"album":{"name":"A Posteriori"},"acrid":"9692008ed76c7f1b859a66ffcda0a00e","result_from":1,"score":100}],"timestamp_utc":"2018-12-17 22:57:43"},"cost_time":0.52499985694885,"result_type":0}
This test is using the same keys and host etc as the zaham settings, I actually opened up zhazam and the test.py file and copyied the server key, host etc from zhazam
I've checked my audio, and the settings match that of my card and I've even recorded the same song from my internal audio and tested it, I get the same result from recording the song as above
python test.py recorded.mp3
{"status":{"msg":"Success","code":0,"version":"1.0"},"metadata":{"music":[{"external_ids":{"isrc":"DEG120600175","upc":"094637711958"},"play_offset_ms":21320,"external_metadata":{"musicstory":{"track":{"id":"3035139"}},"lyricfind":{"lfid":"001-9129821"},"youtube":{"vid":"HYmxuqVlJ_Y"},"deezer":{"album":{"id":300685},"artists":[{"id":2402}],"track":{"id":3112357}},"spotify":{"album":{"id":"1gtJUgOvHNK0Mnhe9LuWBs"},"artists":[{"id":"3DmG65yHQsMms7WAvrZOdt"}],"track":{"id":"0dRUhgeTLMjYs8ZbvTQOaC"}}},"release_date":"2006-09-16","artists":[{"name":"Enigma"}],"title":"Eppur Si Muove","label":"Virgin","duration_ms":221160,"album":{"name":"A Posteriori"},"acrid":"9692008ed76c7f1b859a66ffcda0a00e","result_from":1,"score":100},{"external_ids":{"isrc":"DEA340700571","upc":"094639169054"},"play_offset_ms":13460,"genres":[{"name":"Pop"}],"release_date":"2007-03-23","artists":[{"name":"Enigma"}],"external_metadata":{"youtube":{"vid":"KSdw8kYxnks"},"deezer":{"album":{"id":13185366},"artists":[{"id":2402}],"track":{"id":125393152}}},"title":"Goodbye Milky Way (Boca Junior Remix)","label":"EMI Music ","duration_ms":310172,"album":{"name":"A Posteriori (Private Lounge Remix)"},"acrid":"e887dbff8d831f661ace33524153b7a5","result_from":1,"score":100}],"timestamp_utc":"2018-12-17 23:22:01"},"cost_time":0.53699994087219,"result_type":0}
This looks like a zhazam bug, nothing to do with acrcloud unless you can prove otherwise, as I have shown I have tested it with the python acrcloud sdk and both recorded and original mp3 both yield the same result ** If I have a problem my my internal audio my recorded mp3 would end up as a failed result, so It can NOT be an audio setting but only a zahzam problem
from zhavam.
I'm sorry but I think that this is a question to acrcloud, not for me. I've have only programmed an user interface to use acrcolud.
I've have only programmed an user interface to use acrcolud.
Do you have a linux machine to test this on , and have you tested it ?
from zhavam.
Come on man, don't get upset...
I think the problem is regarding the recording device module. I don't know if you have more the one recording source in your box, mine has three and I need to select the correct one for getting the music recorded.
If you execute the program from a console, you can get some traces that I can use try to figure out what the problem is.
And of course, I have a Linux box and I have checked the code is still working fine for my installation.
from zhavam.
Sorry Don't take it personally , I apologize reading it back now it comes across a little smart , it wasn't intended that way
Again Sorry, I appreciate your response, now that you have confirmed its working on your side, Ill try to figure out why recording from terminal works yet zhazam doesn't listen to internal audio
my devices are maching that what are in the drop down
aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD1984 Analog [AD1984 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: AD1984 Alt Analog [AD1984 Alt Analog]
Subdevices: 1/1
I've tried both and still nothing , I've recorded the song using terminal and https://aur.archlinux.org/packages/audio-recorder/
recorded methods both work with acrcloud sdk python but zhazam just isn't using my internal audio even though its displaying the devices
Ill try to debug an see what going on
Thanks for your response ,
from zhavam.
from zhavam.
from zhavam.
Just have uploaded the zhavam 1.3 release with the Pulse Audio manager which allows to set up the audio recording through its API. I've tested the code on my HP pavillion g6 and it works fine.
If you would like to test the code, please give me feedback about the result of the tests.
RegardsJust have uploaded the zhavam 1.3 release with the pulse audio manager which allows to set up the audio recording through the Pulse Audio API. I've tested the code on my HP pavillion g6 and it works fine.
If you would like to test the code. please tell me about the result of the tests.
Regards
from zhavam.
Its working now
Title:Sadeness - Part I
Artist:Enigma
Album:Sadeness - Part I
Genre:
Label:Virgin
Release date:2009-03-27
Deezer album id:335426
Deezer track id:3543928
Spotify album id:33UVNuGJNIPbe8IPpFcmHJ
Spotify track id:2xIf30GZM09JmgjiG5ps2b
Youtube video id:4F9DxYhqmKw
Great job thanks .. Its a very handy application, thanks for creating it
from zhavam.
Related Issues (5)
- Song Title Accuracy
- General Corrections HOT 1
- How to Install guide HOT 5
- please clean up the repo HOT 1
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 zhavam.