Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #16059 > unrolled thread

Exporting "Speak" to an audio file?

Started byBrentt <brenttnewman@gmail.com>
First post2013-10-16 08:44 +0000
Last post2013-10-29 03:04 +0000
Articles 5 — 3 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Exporting "Speak" to an audio file? Brentt <brenttnewman@gmail.com> - 2013-10-16 08:44 +0000
    Re: Exporting "Speak" to an audio file? David Bailey <dave@removedbailey.co.uk> - 2013-10-21 03:01 +0000
    Re: Exporting "Speak" to an audio file? Brentt <brenttnewman@gmail.com> - 2013-10-25 03:47 +0000
      Re: Exporting "Speak" to an audio file? David Bailey <dave@removedbailey.co.uk> - 2013-10-28 04:14 +0000
    Re: Exporting "Speak" to an audio file? Itai Seggev <itais@wolfram.com> - 2013-10-29 03:04 +0000

#16059 — Exporting "Speak" to an audio file?

FromBrentt <brenttnewman@gmail.com>
Date2013-10-16 08:44 +0000
SubjectExporting "Speak" to an audio file?
Message-ID<l3ljlf$jsp$1@smc.vnet.net>
Hello,

Is there any way to export the output of Speak to an audio file? (e.g.  a
.wav file )

I figured this might work but it does not:


Export["~/foo.wav", Speak["bar"]]

Is there any way to get an audio file out of speak?

[toc] | [next] | [standalone]


#16088

FromDavid Bailey <dave@removedbailey.co.uk>
Date2013-10-21 03:01 +0000
Message-ID<l425eo$lbe$1@smc.vnet.net>
In reply to#16059
On 16/10/2013 09:44, Brentt wrote:
> Hello,
>
> Is there any way to export the output of Speak to an audio file? (e.g.  a
> .wav file )
>
> I figured this might work but it does not:
>
>
> Export["~/foo.wav", Speak["bar"]]
>
> Is there any way to get an audio file out of speak?
>
>
If you need this for a one off application, there is a free program 
called Audiacity which can be set up to record whatever sound is going 
to the speakers (but digitally). It would do what you want in a rather 
clumsy way.

It does seem odd to me that Mathematica can output both speech and 
musical sound, but it has no way to convert these into waveforms. This 
reduces their use considerably.

David Bailey
http://www.dbaileyconsultancy.co.uk

[toc] | [prev] | [next] | [standalone]


#16111

FromBrentt <brenttnewman@gmail.com>
Date2013-10-25 03:47 +0000
Message-ID<l4cpk6$gll$1@smc.vnet.net>
In reply to#16059
Thank you. I thought for sure I just was missing the functionality in the
documents, thanks for giving me a definitive answer. It is a strange choice
to omit the functionality.i


On Sun, Oct 20, 2013 at 8:40 PM, David Bailey <dave@removedbailey.co.uk>wrote:

> On 16/10/2013 09:44, Brentt wrote:
> > Hello,
> >
> > Is there any way to export the output of Speak to an audio file? (e.g.  a
> > .wav file )
> >
> > I figured this might work but it does not:
> >
> >
> > Export["~/foo.wav", Speak["bar"]]
> >
> > Is there any way to get an audio file out of speak?
> >
> >
> If you need this for a one off application, there is a free program
> called Audiacity which can be set up to record whatever sound is going
> to the speakers (but digitally). It would do what you want in a rather
> clumsy way.
>
> It does seem odd to me that Mathematica can output both speech and
> musical sound, but it has no way to convert these into waveforms. This
> reduces their use considerably.
>
> David Bailey
> http://www.dbaileyconsultancy.co.uk
>
>

[toc] | [prev] | [next] | [standalone]


#16114

FromDavid Bailey <dave@removedbailey.co.uk>
Date2013-10-28 04:14 +0000
Message-ID<l4koa9$4uu$1@smc.vnet.net>
In reply to#16111
On 25/10/2013 04:47, Brentt wrote:
 > Thank you. I thought for sure I just was missing the functionality in the
 > documents, thanks for giving me a definitive answer. It is a strange 
choice
 > to omit the functionality.
 >

Well of course, it is hard for me to be definitive about missing 
functionality - maybe it is buried somewhere documented or otherwise! It 
might be interesting to send it in as a query to Wolfram support, and 
see what they have to say - who knows, it might even goad them into 
fixing the problem!

David Bailey
http://www.dbaileyconsultancy.co.uk

[toc] | [prev] | [next] | [standalone]


#16122

FromItai Seggev <itais@wolfram.com>
Date2013-10-29 03:04 +0000
Message-ID<l4n8jg$avs$1@smc.vnet.net>
In reply to#16059
On Mon, Oct 28, 2013 at 12:39:08AM -0400, David Bailey wrote:
> On 25/10/2013 04:47, Brentt wrote:
>  > Thank you. I thought for sure I just was missing the functionality in the
>  > documents, thanks for giving me a definitive answer. It is a strange 
> choice
>  > to omit the functionality.
>  >
> 
> Well of course, it is hard for me to be definitive about missing 
> functionality - maybe it is buried somewhere documented or otherwise! It 
> might be interesting to send it in as a query to Wolfram support, and 
> see what they have to say - who knows, it might even goad them into 
> fixing the problem!

I have passed on the suggestion to the relevant developers, for both Speak and
midi sounds.  

I know that in the case of MIDI sounds, the reason this is not so simple is
because Mathematica itself doesn't generate the wave forms--we pass on the
notes to the operating system to generate using whatever hardware/software it
uses.  I imagine for Speak the situation might be similar.  Which isn't to say
we can't or won't improve the situation, just that it is not the 5 minute
project it might appear to be. 

--
Itai Seggev
Mathematica Algorithms R&D
217-398-0700 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web