Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding scrobbling? #3

Open
ninep9up opened this issue Aug 22, 2024 · 14 comments
Open

adding scrobbling? #3

ninep9up opened this issue Aug 22, 2024 · 14 comments

Comments

@ninep9up
Copy link

this is super cool
as mush as cool as writing an extension for shazam web punching heard audio into a database in the background
but considering no one is as experienced
could you please add scrobbling?

like you know, i've tried macos on virtualbox
and that shazam was so fluent
i was like no way

then i decided what if android emus are as cool
but no, they can't even approach a real phone running shazam

obv idea of that is to recog tracks you wouldn't normally find tagged
like listening to stations on worldwide radio or stuff
so maybe like
what if you add a listener process on windows sound mixer or stuff and like autopress every N minutes if the sound is consistently high
because like for voice it's not consistently high
and also let spec that N in settings
or check for silence (i mean if you go for histograms analysis, it's nothing big)

no i'm not writing a diploma
this is like a cool thing you did

@ninep9up
Copy link
Author

ok real cool thing would be to detect between-track silence and then just scrobble again after track duration
people think of silence as something hard to detect but it's actually a tenth matter to a second
so whether you jinx for tenth a second between tracks or just switch a radio station
that's like
ideal

man
what am i doing here

@ninep9up
Copy link
Author

whether i'm living in 3000s or not
please try

@ninep9up
Copy link
Author

ok like
autopress hotkey on the silence matter based on the histogram

@ninep9up
Copy link
Author

also, off the autopress if it's detected both silence-unproof in the sample and in the result and perhaps add a proof-histogram listener to automatically start

@ninep9up
Copy link
Author

(don't forget scrobbling)

@ninep9up
Copy link
Author

(if you don't want to)

@ninep9up
Copy link
Author

man this is gauss is it
all this tenths were always gauss

@ninep9up
Copy link
Author

before i went sleeping i scribbled on the paper
"scrobble and press on the change to silence"
so basically you just

artist = x, song = y
gauss < median { recordmap }
api { recordmap } = !silence [x,y]
scrobble (!silence [x,y])

@ninep9up
Copy link
Author

yeah man i was googling they have name for these tenths of seconds
decibels
so basically you check for the amplitude fades

@ninep9up
Copy link
Author

@ninep9up
Copy link
Author

so if you measure second's tenth gonna fall twice in a row in silence
so anything going from 100 to 75 in a tenth is basically it

@ninep9up
Copy link
Author

man this was easy

@ninep9up
Copy link
Author

so like, please implement it ok
you are the best
also to be my level of abstraction you just need to think everything has sense
not bears it
this is called faith
later

@zemoto
Copy link
Owner

zemoto commented Aug 22, 2024

It's a good idea in theory. Just on a quick google I think I would have to integrate with Last.fm to do any kind of scrobbling, as Shazam doesn't have any (publically facing) logic in that area.

The app would listen, occasionally send requests to Shazam if a criteria is met. Then if a song is found send that to Last.fm if their scrobbling criteria is met. Then you would have to go to Last.fm to get that actual scrobbling result data.

Only problem I can see is that it would likely eat up your limited monthly Shazam request quota pretty quickly. On top of the fact that this would be a rather large task, so it may take a while before you hear anything from me in terms of this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants