Dienstag, 18. Januar 2011

How music went on the internet...

To use the previously described algorithm I wrote a small software which creates the fingerprint and sends a request to the respective web service. I will describe the web service in a future blog.
 
There is a user and a password needed to test the software. The test user is 'test' and the password is 'test1234'.
 
The initialization will search for updates, load the configuration, and afterwards initialize the program surface.
 


The user will be asked to log in after the update and the loading of the configuration is done.






You will then see an empty program window with only three menu buttons.


 
The first button opens a dialog which allows the user to load a folder - only mp3 files are supported at this time.



After selecting a folder you will see all files in this folder (and subfolders) in the window.


 
You can unfold and or fold up the track list using the +/- button.
You can open a dialog using the button called 'title information'. This button becomes active when an input is necessary.




In this dialog the user has the opportunity between entering title information and load it by using 'upload' or register the selected title by choosing a hit of the suggestion list. The advantage of selecting a title is that the data do not have to be uploaded again - the disadvantage is that the quality of the suggested song might be worse than the song of the user.

The second button of the program window opens a dialog which allows you to change the settings.




'Upload' gives you the opportunity to change upload settings. The checkbox 'Delete folder from list after upload' automatically deletes all folders, from which all songs have been loaded into the system, from the list. This function is not implemented by now.
The option 'Number of synchronous uploads' indicates the number of simultaneous uploads. It also indicates how many songs are analyzed simultaneously.
I strongly advise against from a value higher than 4 because the analysis will increase the workload of the core of the CPU to 100% and will steadily increase the storage usage because the audio file is fully loaded to the storage as pcm/wav.
This is a good point to tell you that the storage usage of the program is very high so I have to redesign the software design. Tips and comments are highly desired!
 
The source code is available under http://sources.my-musix.com/ .
The starting point is 'MyMusixJava2', the surface and its logic is available under 'MyMusixUploader'.
You will need sources & libraries in the following folders to build the software:
EuphonySymphony
MyMusixCommon
MyMusixI18N
MyMusixJava2
MyMusixLibShared
MyMusixUploader
MyMusixWSClient
 
All files under ...MyMusixJava2/Distributed are executable versions which can be built from the available sources.

  

Keine Kommentare:

Kommentar veröffentlichen