From: fmiser <fmiser@gmail.com>
To: sox-users@lists.sourceforge.net
Subject: Re: sound to sox to .txt to chatscript
Date: Mon, 29 Dec 2014 16:18:17 -0600 [thread overview]
Message-ID: <20141229161817.067eb224@Jasper.condray.lan> (raw)
In-Reply-To: <trinity-cc35bc48-9645-4fbe-98d1-305d68d654da-1419789788389@3capp-mailcom-bs05>
> paul wrote:
>
> The project I am trying to build is a speech to text system.
You want the characters "b" "o" "o" "k" to be generated from the
sound of a voice saying "book"?
> The system as 2 parts: first a sox filter to convert the mic
> input into a binary file with a .txt label.
SoX does not have any voice recognition capability.
> The .txt file is the in put to another beautiful and free
> program called chatscript. Chatscript is designed to let people
> make there own chat bots, I am intending to use its most basic
> property. If the pattern of the input matches the pattern of the
> rule then output is the rules response. Or less abstractly, if
> the input pattern matches the rule for P then it prints the
> letter P.
What I know as a chat bot, and what wikipedia reports as a chat bot
is a "artificial" user on an IRC channel. Somehow I don't think
that is what you are wanting to do. I went to chatscripts website
and found no help as to what it is doing.
> what I need sox to do is....
As Jan implied, SoX can do the _audio_ processing. The rest of the
stuff that isn't manipulating audio files is beyond it's capability.
> A) use the key board space bar to mute and unmute the mic.
> B) to take 32 bit samples of the sound.
> C) to contain no clobber at first so I can generate the files to
> go into the rules to be matched against.
> D) maximize The gain without clipping.
> E) no dither or other noise.
> F) multi thread, to process the tracks in parallel.
> G) divide this into 2 tracks, if possible one the inverse of the
> other.
> H) using the echo function (not echoes) add multipal echoes to
> each track, these echoes should be at the same volume
> as the track and have no decay. It is these echoes superimposed
> on there original track that carry the information about how
> the sound is changing with time.
> I) one track would have delays of 11, 17, 23, 31, 47 millisecond.
> And he other would be 13, 19, 29, 37, 53 millisecond.
> J) these 2 tracks are then converted into a single bindery file
> by using soxes multiplication option.
> K) this is then given the .txt file name.txt
SoX is an "engine" - possibly like how you expect to use
chatscript. It appears to me you need something else to tie it all
together. Python, Perl, even Javascript might work. But managing
the mute/un-mute, file name manipulation, maybe "no clobber" (I'm
not sure what you mean by that. No overwrite? Generate a new name
rather than overwriting an existing?) are the sort of things that
are better handled by general programming.
-- fm
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
next prev parent reply other threads:[~2014-12-29 22:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-28 18:03 sound to sox to .txt to chatscript paul fellows
2014-12-29 22:18 ` fmiser [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-12-30 21:57 paul fellows
2014-12-31 14:25 ` Jan Stary
2015-01-01 18:52 paul fellows
2015-01-01 19:43 ` Jan Stary
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.sourceforge.net/lists/listinfo/sox-users
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141229161817.067eb224@Jasper.condray.lan \
--to=sox-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/sox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).