Menu

How to hook in JMF DataSource

Help
2005-10-04
2012-09-22
  • Richard Deadman

    Richard Deadman - 2005-10-04

    I am trying to figure out how to hook a Java Media Framework DataSource (in particular, one from a RTPManager) into Sphinx. Sphinx has a frontend that supports OutputDataStreams, but this doesn't seem compatible with the JMF DataSources and Streams.

    Ideas? Hints?

    Richard

     
    • Willie Walker

      Willie Walker - 2005-10-10

      Hi Richard:

      I think an appropriate thing to do here might be to wrap the JMF DataSource in a edu/cmu/sphinx/frontend/util/StreamDataSource.java, taking care to make sure the endianness, signedness, and sample rate are in line with what Sphinx4 needs (i.e., you may need to do some conversion and/or switch acoustic models).

      Will

       

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.