Package ui.tools
Klasse RecordingTool
java.lang.Object
ui.tools.RecordingTool
WhatsSID? is a Shazam like feature. It analyzes tunes to recognize a
currently played tune.
This is the main class to create or Update a WhatsSID database.
This is the program to create the fingerprintings for all tunes of a
collection.
This program has been expanded to be a more general recording tool where
several tunes are recorded in parallel.
- Autor:
- ken
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprivate static final AudioTuneFileFilterprivate IniConfigprivate Booleanprivate Booleanprivate Fileprivate Fileprivate static javax.persistence.EntityManagerFactoryprivate ExecutorServiceprivate Booleanprivate Booleanprivate Integerprivate Fileprivate SidDatabaseprivate booleanprivate static final ThreadLocal<javax.persistence.EntityManager> private static final VideoTuneFileFilterprivate Stringprivate Stringprivate Stringprivate Stringprivate String -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprivate voidcopyRecordingsOfPreviousDirectory(Player player, AudioDriver whatsSidDriver, File file, SidTune tune, String collectionName) private voiddeleteAllFingerprintings(WhatsSidService whatsSidService) private voidstatic voidstatic javax.persistence.EntityManagerprivate StringgetRecordingFilename(String collectionName, File file, SidTune tune, int song) static voidprivate intproceed()private voidprocessDirectory(ExecutorService executor, File dir) private voidprocessFile(File file)
-
Felddetails
-
AUDIO_TUNE_FILE_FILTER
-
VIDEO_TUNE_FILE_FILTER
-
help
-
maxThreads
-
destinationDirectory
-
fingerprinting
-
whatsSidDatabaseDriver
-
whatsSidDatabaseUrl
-
whatsSidDatabaseUsername
-
whatsSidDatabasePassword
-
whatsSidDatabaseDialect
-
createIni
-
deleteAll
-
previousDirectory
-
directory
-
config
-
THREAD_LOCAL_ENTITY_MANAGER
-
entityManagerFactory
private static javax.persistence.EntityManagerFactory entityManagerFactory -
executor
-
previousSidDatabase
-
quit
private volatile boolean quit
-
-
Konstruktordetails
-
RecordingTool
public RecordingTool()
-
-
Methodendetails
-
execute
-
deleteAllFingerprintings
- Löst aus:
IOException
-
proceed
- Löst aus:
IOException
-
processDirectory
- Löst aus:
IOExceptionSidTuneError
-
processFile
- Löst aus:
IOExceptionSidTuneError
-
copyRecordingsOfPreviousDirectory
private void copyRecordingsOfPreviousDirectory(Player player, AudioDriver whatsSidDriver, File file, SidTune tune, String collectionName) throws IOException, SidTuneError - Löst aus:
IOExceptionSidTuneError
-
getRecordingFilename
-
getEntityManager
- Löst aus:
IOException
-
freeEntityManager
public static void freeEntityManager() -
main
-