// connect to Emy on port 3399
 var emyModelService = EmyModelService.NewInstance("localhost", 3399);
  
 // query Emy database
 var queryResult = await QueryCommandBuilder.Instance.BuildQueryCommand()
                                          .From(queryAudioFile, secondsToAnalyze, startAtSecond)
                                          .UsingServices(modelService, audioService)
                                          .Query();
 					
 // register matches such that they appear in the dashboard					
 emyModelService.RegisterMatches(queryResult.ResultEntries);