Menu

Questions regarding vocalkit

Help
2010-06-17
2012-09-22
  • Samuel Kitono

    Samuel Kitono - 2010-06-17

    I have few questions regarding vocalkit as there is still a lack of
    documentation for it.

    1. You have a guide for vocalkit to build from the pocketsphinx library. By doing this i can import pocketsphinx.h or vkcontroller.h or both in 1 source code file right?

    2. Vocalkit is using audio queue. Does it record the audio queue buffer to a on-disk file (save it as an audio file) before decoding it? or does it pass the audio buffer to a physical memory (like malloc object) before decoding process?

    Thanks in advance

     
  • Anonymous

    Anonymous - 2010-06-17

    Hey Arc,
    First off, I'd love any help you could provide with documentation. I wrote
    VocalKit to help people get up and running with pocketsphinx on the iPhone
    because I ran into so many speedbumps. However, this is my free time and it's
    getting more and more scarce. I'd love to get more input from other
    developers, as the interest for iPhone development is quite large, I am
    fielding around 2-5 emails a week for support. I want to get that number down
    to zero =)

    1) Just import vkcontroller.h and you should be all set. If you look at the
    VocalKitTest project you can see how to set it up in XCode very easily.

    2) it passes all the data as it recieves it to ps_process_raw, so pocketsphinx
    then manages that memory (I believe).

    Brian King

     
  • Samuel Kitono

    Samuel Kitono - 2010-06-17

    First off, I'd love any help you could provide with documentation

    yeah I would love to help develop the documentation or the code for it. I am
    actually thinking of expanding the functionality of vocalkit for the sake of
    my thesis as well.

    Just import vkcontroller.h and you should be all set. If you look at the
    VocalKitTest project you can see how to set it up in XCode very easily

    As I said, I would like to extent the functionality of vocalkit so does that
    mean that I have to build the static libraries for pocketsphinx and sphinxbase
    and set up the build path, Im referring to your guide " Modifying VocalKit to
    build from Pocket Sphinx or Flite sources". I assume this is actually
    unnecessary and all i need to do is to just extent that functionality directly
    in your wrapper.

    it passes all the data as it recieves it to ps_process_raw, so pocketsphinx
    then manages that memory (I believe).

    this is certainly what I need. Thanks for clarifying this

     
  • Anonymous

    Anonymous - 2010-06-17

    It depends on where you're adding functionality. VocalKit does very little, so
    the chances are you'll need to set things up so you can build pocketsphinx
    from source. It's not that tricky, the documentation on that page or in the
    readme's should get you going.

     
  • Samuel Kitono

    Samuel Kitono - 2010-06-18

    Well I have looked at your code and you include "pockesphinx.h" at your
    pocketsphinxdecoder file. I assume that I can use all of the API of
    pocketsphinx.h right?
    What I plan to do is to use the function get_word_lattice from pocketsphinx
    which should be possible without buliding the pocketsphinx again right?

     
  • Samuel Kitono

    Samuel Kitono - 2010-06-26

    Hi i have another problem with vocalkit. I have tried to compile it with Xcode
    sdk 4 and tried the simulator. Apparently the simulator (for IOS4) crashed
    after the listen button pressed. How this problem will be solved?

     
  • Andrew Durstewitz

    Arckit,

    Brian and I figured this out about a week or so ago. You'll need to change
    your target architecture from armv6, armv7 to just armv6. It's a problem with
    gcc 4.2 with static assemblies.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.