* Speaker-test improvements
@ 2005-04-13 20:02 James Courtier-Dutton
2005-04-14 13:09 ` Takashi Iwai
0 siblings, 1 reply; 7+ messages in thread
From: James Courtier-Dutton @ 2005-04-13 20:02 UTC (permalink / raw)
To: ALSA development
Hi,
I have got some voice samples saying things like "Front Right" etc. that
I want the speaker-test program to output instead of the loud sine wave
it currently does. The sine wave will stay there as an option as I find
it useful for some things.
The samples are 10 .wav files in 48khz mono S16_LE format.
Where abouts should I put them in the CVS, and where abouts should they
get installed to, so that speaker-test can find them?
Cheers
James
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Speaker-test improvements
2005-04-13 20:02 Speaker-test improvements James Courtier-Dutton
@ 2005-04-14 13:09 ` Takashi Iwai
2005-04-14 13:23 ` Måns Rullgård
2005-04-14 21:16 ` James Courtier-Dutton
0 siblings, 2 replies; 7+ messages in thread
From: Takashi Iwai @ 2005-04-14 13:09 UTC (permalink / raw)
To: James Courtier-Dutton; +Cc: ALSA development
At Wed, 13 Apr 2005 21:02:31 +0100,
James Courtier-Dutton wrote:
>
> Hi,
>
> I have got some voice samples saying things like "Front Right" etc. that
> I want the speaker-test program to output instead of the loud sine wave
> it currently does. The sine wave will stay there as an option as I find
> it useful for some things.
>
> The samples are 10 .wav files in 48khz mono S16_LE format.
> Where abouts should I put them in the CVS, and where abouts should they
> get installed to, so that speaker-test can find them?
That's great. (Is the voice female or male? We might need both to be
PC ;)
The suitable location of such data files would be something like
$(datadir)/sounds/alsa or $(datadir)/sounds/speaker-test.
Takashi
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Speaker-test improvements
2005-04-14 13:09 ` Takashi Iwai
@ 2005-04-14 13:23 ` Måns Rullgård
2005-04-14 14:28 ` Martin Langer
2005-04-14 21:16 ` James Courtier-Dutton
1 sibling, 1 reply; 7+ messages in thread
From: Måns Rullgård @ 2005-04-14 13:23 UTC (permalink / raw)
To: alsa-devel
Takashi Iwai <tiwai@suse.de> writes:
> At Wed, 13 Apr 2005 21:02:31 +0100,
> James Courtier-Dutton wrote:
>>
>> Hi,
>>
>> I have got some voice samples saying things like "Front Right" etc. that
>> I want the speaker-test program to output instead of the loud sine wave
>> it currently does. The sine wave will stay there as an option as I find
>> it useful for some things.
>>
>> The samples are 10 .wav files in 48khz mono S16_LE format.
>> Where abouts should I put them in the CVS, and where abouts should they
>> get installed to, so that speaker-test can find them?
>
> That's great. (Is the voice female or male? We might need both to be
> PC ;)
Not to mention all the languages of the world.
--
Måns Rullgård
mru@inprovide.com
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: Speaker-test improvements
2005-04-14 13:23 ` Måns Rullgård
@ 2005-04-14 14:28 ` Martin Langer
0 siblings, 0 replies; 7+ messages in thread
From: Martin Langer @ 2005-04-14 14:28 UTC (permalink / raw)
To: Måns Rullgård; +Cc: alsa-devel
On Thu, Apr 14, 2005 at 03:23:33PM +0200, Måns Rullgård wrote:
> Takashi Iwai <tiwai@suse.de> writes:
>
> > At Wed, 13 Apr 2005 21:02:31 +0100,
> > James Courtier-Dutton wrote:
> >>
> >> Hi,
> >>
> >> I have got some voice samples saying things like "Front Right" etc. that
> >> I want the speaker-test program to output instead of the loud sine wave
> >> it currently does. The sine wave will stay there as an option as I find
> >> it useful for some things.
> >>
> >> The samples are 10 .wav files in 48khz mono S16_LE format.
> >> Where abouts should I put them in the CVS, and where abouts should they
> >> get installed to, so that speaker-test can find them?
> >
> > That's great. (Is the voice female or male? We might need both to be
> > PC ;)
>
> Not to mention all the languages of the world.
But then a morse code matrix would be more efficient :)
.... Front left
..._ Front right
.._. Back left
..__ Back right
martin
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Speaker-test improvements
2005-04-14 13:09 ` Takashi Iwai
2005-04-14 13:23 ` Måns Rullgård
@ 2005-04-14 21:16 ` James Courtier-Dutton
1 sibling, 0 replies; 7+ messages in thread
From: James Courtier-Dutton @ 2005-04-14 21:16 UTC (permalink / raw)
To: Takashi Iwai; +Cc: ALSA development
Takashi Iwai wrote:
> At Wed, 13 Apr 2005 21:02:31 +0100,
> James Courtier-Dutton wrote:
>
>>Hi,
>>
>>I have got some voice samples saying things like "Front Right" etc. that
>>I want the speaker-test program to output instead of the loud sine wave
>>it currently does. The sine wave will stay there as an option as I find
>>it useful for some things.
>>
>>The samples are 10 .wav files in 48khz mono S16_LE format.
>>Where abouts should I put them in the CVS, and where abouts should they
>>get installed to, so that speaker-test can find them?
>
>
> That's great. (Is the voice female or male? We might need both to be
> PC ;)
>
> The suitable location of such data files would be something like
> $(datadir)/sounds/alsa or $(datadir)/sounds/speaker-test.
>
>
> Takashi
>
>
Thank you. The current samples are here:
http://www.alsa-project.org/~james/speaker-test/samples/
I will hopefully modify the speaker-test program to use them soon.
James
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: Speaker-test improvements
2005-04-14 20:41 Tom Watson
@ 2005-04-15 13:01 ` Takashi Iwai
2005-06-23 10:20 ` Raymond
0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2005-04-15 13:01 UTC (permalink / raw)
To: tsw; +Cc: alsa-devel
At Thu, 14 Apr 2005 13:41:47 -0700 (PDT),
Tom Watson wrote:
>
> Måns Rullgård <mru@inprovide.com> Writes:
>
>
> > Takashi Iwai <tiwai@suse.de> writes:
> >
> >> At Wed, 13 Apr 2005 21:02:31 +0100,
> >> James Courtier-Dutton wrote:
> >>>
> >>> Hi,
> >>>
> >>> I have got some voice samples saying things like "Front Right" etc. that
> >>> I want the speaker-test program to output instead of the loud sine wave
> >>> it currently does. The sine wave will stay there as an option as I find
> >>> it useful for some things.
> >>>
> >>> The samples are 10 .wav files in 48khz mono S16_LE format.
> >>> Where abouts should I put them in the CVS, and where abouts should they
> >>> get installed to, so that speaker-test can find them?
> >>
> >> That's great. (Is the voice female or male? We might need both to be
> >> PC ;)
> >
> >Not to mention all the languages of the world.
> >
> >--
> >Måns Rullgård
> >mru@inprovide.com
>
>
> I made up a sound file similar to this and it was quite helpful. One of the
> files had individual voices (one at a time) to identify the speakers, and being
> with the proper 4-channel specifications for broadcast they were identified as
> "left front", "right front", "left BACK" and "right BACK". In doing so it
> eliminated the abbreviation of "R" being both "rear" and "right" (not very
> clear).
>
> Another test was having all of the channels identified "simultaneously",
> usually in a loop. This allowed me to play with mixer controls which always
> get mixed up and get the correct things in the correct places. When you hook
> up sound cards and amplifiers and other external gear, it helps to have the
> channel identified. Some mixer controls on some cards fold the "back" channels
> into the "front" channels, and then you need to poke around in your mixer
> program ('alsamixer' is but one) to turn on/off "mutes" to get it right.
This sounds like a good idea.
> Having the speaker test "loop" with spoken words was VERY helpful to me.
>
> The only "problem" I see is having the samples at one speed. Sometimes it is
> helpful to have the program send the sounds out at a specific speed to the ALSA
> api, where it does further operations (another re-sampling).
It should be fine when you specify the PCM with "plug" layer, e.g.
% speaker-test -Dplug:surround51 -c6
> Another useful option on a sequential test would be to have the channel
> identified on standard output at the beginning of the spoken words.
>
> I really don't see a problem with the "voice" being male and English. I
> suspect that since it is ONLY A TEST, we don't need to be PC at all.
Don't take my comment with a smiley so serious :)
> Perhaps the sound files for the sounds (mono for each, merged in the program)
> can be put in such a place that they can be altered to suit the user. It may
> be that "LFE" may not be the desired name for the particular output. There may
> be 8 or more channels to identify, and maybe having them labeled "one"... would
> be "better". Given that more than one sound card might be used, and all slaved
> thru plugins, it could go higher. Who knows.
Yes, that would be helpful, too.
Takahsi
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: Speaker-test improvements
2005-06-23 10:20 ` Raymond
@ 2005-06-24 15:16 ` Takashi Iwai
0 siblings, 0 replies; 7+ messages in thread
From: Takashi Iwai @ 2005-06-24 15:16 UTC (permalink / raw)
To: Raymond; +Cc: alsa-devel
At Thu, 23 Jun 2005 18:20:59 +0800,
Raymond wrote:
>
>
> >>>Takashi Iwai <tiwai@suse.de> writes:
> >>>
> >>>
> >>>>At Wed, 13 Apr 2005 21:02:31 +0100,
> >>>>James Courtier-Dutton wrote:
> >>>>
> >>>>>Hi,
> >>>>>
> >>>>>I have got some voice samples saying things like "Front Right" etc. that
> >>>>>I want the speaker-test program to output instead of the loud sine wave
> >>>>>it currently does. The sine wave will stay there as an option as I find
> >>>>>it useful for some things.
> >>>>>
> >>>>>The samples are 10 .wav files in 48khz mono S16_LE format.
> >>>>>Where abouts should I put them in the CVS, and where abouts should they
> >>>>>get installed to, so that speaker-test can find them?
> >>>>
>
> It seem most onboard audio (intel8x0,hda) have ".channels_min = 2".
>
> You may need to merge the mono "Left" and "Right" wav to a stereo
> left_right.wav
>
>
> static snd_pcm_hardware_t snd_intel8x0_stream =
> {
> .channels_min = 2,
> .channels_max = 2,
> }
>
>
> aplay -D hw:1,0 speaker-test/samples/*.wav
> Playing WAVE 'speaker-test/samples/Front_Center.wav' : Signed 16 bit
> Little Endian, Rate 48000 Hz, Mono
> aplay: set_params:887: Channels count non available
>
>
> aplay -Dplughw:1,0 speaker-test/samples/*.wav
> Playing WAVE 'speaker-test/samples/Front_Left.wav' : Signed 16 bit
> Little Endian, Rate 48000 Hz, Mono
> Playing WAVE 'speaker-test/samples/Front_Right.wav' : Signed 16 bit
> Little Endian, Rate 48000 Hz, Mono
Hmm, I don't see the point.
If you have stereo output and output a mono stream, it's always split
to left and right. The mono stream should be used together with -s
option.
Takashi
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-06-24 15:16 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-13 20:02 Speaker-test improvements James Courtier-Dutton
2005-04-14 13:09 ` Takashi Iwai
2005-04-14 13:23 ` Måns Rullgård
2005-04-14 14:28 ` Martin Langer
2005-04-14 21:16 ` James Courtier-Dutton
-- strict thread matches above, loose matches on Subject: below --
2005-04-14 20:41 Tom Watson
2005-04-15 13:01 ` Takashi Iwai
2005-06-23 10:20 ` Raymond
2005-06-24 15:16 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.