To create a database to contain known audio clips, use the following procedure.
To create a database to contain audio clips
Use the action CreateAudioMatchDatabase
:
database
|
The name of the new database (maximum 254 bytes). |
samplefrequency
|
(Optional) The sample frequency of the audio that this audio clip database can be used with. Specify either 8000 (8kHz telephony) or 16000 (16kHz broadband). The default is 16000 . |
For example:
curl http://localhost:14000 -F action=CreateAudioMatchDatabase
-F database=Music