9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: vdharani@infernopark.com
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] /dev/audio test file
Date: Wed,  8 Dec 2004 02:49:49 -0600	[thread overview]
Message-ID: <34582.69.115.255.175.1102495789.squirrel@www.infernopark.com> (raw)
In-Reply-To: <34839e35005785f6e5e55e46b8ac3d84@orthanc.cc.titech.ac.jp>

> Hi.  I bought a USB audio.  I think usbd and usbaudio is working
> because cat /dev/audioctl works ;).
>
>     % nashi@valinore usb/usbd
>     % nashi@valinore usb/usbaudio -v 100
>     warning: Can't set play speed
>     % nashi@valinore cat /dev/audioctl
>     speed out 48000 48000 48000
>     mute out 0 0 0 0
>     volume out 100 -11776 7168 512
>     channels out 2 2 2
>     resolution out 16 16 16
>
> Yet, I don't have any good test file to feed to /dev/audio.
> Giving /mnt/cd/a000 didn't produce any sound on usb speakers.
>
>     % cdfs
>     % cat /mnt/cd/a000 > /dev/audio
>
> Could somebody give me a tiny file to feed to /dev/audio so that
> I can make sure that my speakers are configured correctly.
> Or is there a way to convert a??? files to /dev/audio format?
>

one way to try it is to download plan 9 port of mad mp3 player and run it
with an mp3 file. also, with madplay command you can convert an mp3 file
to raw format which can be directly passed to /dev/audio. here is where
you can find mad port: http://plan9.escet.urjc.es/plan9.html

thanks
dharani



  parent reply	other threads:[~2004-12-08  8:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-08  3:07 YAMANASHI Takeshi
2004-12-08  6:07 ` Russ Cox
2004-12-08  8:49 ` vdharani [this message]
2004-12-08  3:46   ` Dan Cross
2004-12-08 13:27   ` Sape Mullender
2004-12-08  6:43 YAMANASHI Takeshi
2004-12-12  8:56 YAMANASHI Takeshi
2004-12-13  2:35 ` Kenji Okamoto
2004-12-13  9:06 ` vdharani
2004-12-13  2:44 YAMANASHI Takeshi
2004-12-13  5:56 YAMANASHI Takeshi

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-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=34582.69.115.255.175.1102495789.squirrel@www.infernopark.com \
    --to=vdharani@infernopark.com \
    --cc=9fans@cse.psu.edu \
    /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.
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 NNTP newsgroup(s).