Building a New Record Audio Activity

You may also like...

8 Responses

  1. Adam says:

    Wow, great to see this Marc. I’ve been using audio recording to replace answering machine detection in MSS 2007.

    I don’t usually save the audio anywhere though, I just use it’s “statistics” (i.e. how long did the person talk before hitting the end silence limit) to determine when to start talking to them and if I think they are an answering machine (most people have shorter greetings than machines of course). This will be handy as we continue to shift over to UCMA 3.

    As usual, thanks for the great work!

    • Marc LaFleur says:

      I’m glad you found it helpful. I too use it purely for Voice Mail detection and delivery (which is why I didn’t bother implementing the prompting features found in the Speech Server version yet). If you run into any issues, please let me know.

  2. sebastien crocquesel says:

    Marc,

    I found a little issue in the code. It appears you detach the recorder twice. One in the Stop() method and another one in the Execute method just after the Loop.
    Sometimes, it makes the action throw an exception when detaching in the Execute method (Recorder property is null).

    Anyway, great and usefull work.

    Also, what about pushing this on github or codeplex ?

  3. Doug says:

    Hello Marc. When I came across this I was extremely relieved. I appreciate that you shared your work but I am having trouble getting this to work. I always get this error when trying to build your sample application as well as an application that I have referenced the activity in:

    Error 1 System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationException: Could not deserialize object. The type ‘AudioRecordingActivity.AudioRecording’ could not be resolved. 5 5

    I’m curious if you have seen this before and know of a way to solve it. Many thanks in advance!

    -Doug

  1. March 14, 2011

    […] a suitable starting point for those looking to simply record some audio. Trust me, starting…Read More Posted: Monday, March 14, 2011 10:22 PM by […]

  2. March 16, 2011

    […] a suitable starting point for those looking to simply record some audio. Trust me, starting…Read More Posted: Mar 14 2011, 10:21 PM by MarcLaFleur | with no […]

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>