Built on the basis of a program from Aleksey Martynov.
Works in the Microsoft .NET v.6 environment (just install the Desktop Runtime), runs from the command line (terminal) or from a shortcut.
He listens to music through the microphone and playbacks and determines what the bullshit is through the Shazam service.
The result is displayed on the screen and in the clipboard (in the format of the original program: I used ShazamConsa to discover Cristo Redentor by Donald Byrd).
The text in the clipboard can be parsed by the Data for LastFM program and the resulting track will be scrobbled by the Last.fm service.
Keyboard Commands:
Space - listen on default devices
Shift + Space - listen on all devices taking into account the restrictions specified in the parameters
S - the same, additionally open the page of the track in the browser
Shift + D - listen to all devices by default without taking into account the restrictions set in parameters
Shift + G - listen to all devices without taking into account the restrictions specified in the parameters
CTRL with the commands causes the name of the device on which the track is detected.
Q - complete the work of the program
Command line parameters:
--NoWait - define track and close
/nw - the same
--NoClipboard - do not output the result of the definition to the clipboard
/noclp - то же
--Nomic - do not listen to microphones
/nmc - the same
--Noplb - do not listen to playback devices (speakers, headphones, etc.)
/npb - the same
--lafm - run program Last.fm Data with parameters containing information about the track.
The parameters are sensitive to the register of characters, in their absence, the program will try to determine the track[s] on the default devices and will go into the mode of keyboard commands.
Installation
Download the required archive, expand to any folder and run the ShazaConsa.exe file. Archives with an sc-suffix in the name contain all the files necessary to launch the program, the rest require the installation of the Microsoft .NET 6 environment.
Submitting to Last.fm
After defining the track (if you haven't used the --lafm command) open the program and select an action "Scrobble clipboard".