Add Speakers to a Database

To add a speaker to a speaker database, follow these steps.

To add a speaker

  1. Create a new speaker using the NewSpeaker action. For example:

    curl http://localhost:14000/action=NewSpeaker -F database=news -F identifier=newsreader
  2. Add audio samples for the speaker using the AddSpeakerAudio action. For example:

    curl http://localhost:14000/action=AddSpeakerAudio -F database=news -F identifier=newsreader -F audiodata=@sample1.wav -F audiolabels=sample1
  3. Train Media Server to recognize speakers by running the BuildAllSpeakers action. For example:

    curl http://localhost:14000/action=BuildAllSpeakers -F database=news