I have few questions regarding vocalkit as there is still a lack of
documentation for it.
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?
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have few questions regarding vocalkit as there is still a lack of
documentation for it.
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?
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
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
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.
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.
this is certainly what I need. Thanks for clarifying this
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.
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?
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?
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.