       if LOGGING then console.info "AudioShadowSpeaker.text2speech >> Audio file created and copied: #{fileName}"
       @fileRepository.add fileName
       path = new File("../#{fileName}").getAbsolutePath()
-      jenkinsEmitter.emit 'audio.create', path, fileName
+      emitter.emit 'audio.create', path, fileName
     fail = ->
       console.warn arguments
       process.exitCode 1


LOGGING = false
jenkinsServer.setLoggingEnabled LOGGING

###
Configuration & User Options

    else
      if LOGGING then console.log "JOB ADDED >>Option skipFirst was enabled, so the first job state will be skipped."

  emitter.on 'job.result.update', (result, jobName, buildNumber) ->
    if LOGGING then console.log '-> job.result.update'
    if LOGGING then console.log 'Culprits for this state: ' + result.culprits
    text = switch result
