RE: Play wav files from serial input

2005-01-12 Thread Brian
 Why == because we want to have an 8 button keypad in engineers cubes
where when you press a button a .wav (or .mp3) from a corresponding category
is played through the overhead speakers.  Have you ever heard the joke about
all the regular blokes in a bar where they don't actually tell complete
jokes anymore, they just shout out a number like 73 and then everyone
laughs?  We have a number of sound files and clips that have to me (gasp)
manually played back from individual machines by clicking on them.  It would
be more efficient to be able to just press a button and have an appropriate
sound/noise/audio clip come through the overhead speakers.

Thanks for the play tip, I found a reference to that via google and looks
good for playing .wav's.  I imagine there is a similar one for .mp3's, or I
can just require people to convert them...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Freeman
Sent: Wednesday, January 12, 2005 2:44 PM
To: Brian
Cc: 'GNHLUG'
Subject: Play wav files from serial input

Brian writes:
  Setup a linux server with a samba share and directories labelled 1-8.
.wav   files can be put in those dirs and when a simple serial string is
received a   random file is selected from the appropriate directory and
played via the   line-out of the sound card.

Ok, but why.

  Any suggestions for a good command-line capable .wav player?

Try play.

Bill
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


RE: Play wav files from serial input

2005-01-12 Thread Bill Freeman
Brian writes:
  Thanks for the play tip, I found a reference to that via google and looks
  good for playing .wav's.  I imagine there is a similar one for .mp3's, or I
  can just require people to convert them...

By the way, you probably already have play.  It's part of
the sox distribution.  That's been standard in RedHat and derivatives
for a while, and I assume in other distributions as well.  I'm running
Fedora Core 2, and play comes from sox-12.17.4-4.fc2 there.

The sox documentation is extensive, and I believe that it can
deal with a number of formats.  I'm not sure about mp3, however.
Don't those need closed source codecs?  Someone will tell us.

Now if only I could get the shound inputs on the ASUS mother
board to work.  (I'd been happily converting records to digital until
my laptop died last year.)

Bill
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: Play wav files from serial input

2005-01-12 Thread Christopher Schmidt
On Wed, Jan 12, 2005 at 02:47:02PM -0500, Brian wrote:
 Thanks for the play tip, I found a reference to that via google and looks
 good for playing .wav's.  I imagine there is a similar one for .mp3's, or I
 can just require people to convert them...

mpg123 plays mp3s for me. Not sure about what play does, but  
mpg123 is what I use as my actual mp3 player, so I suspect it will do 
the job ;)

-- 
Christopher Schmidt


pgpIBHBrIzNwj.pgp
Description: PGP signature


RE: Play wav files from serial input

2005-01-12 Thread Charles Farinella
On Wed, 2005-01-12 at 15:11, Bill Freeman wrote:

 (I'd been happily converting records to digital until
 my laptop died last year.)

I've been wanting to do that for awhile, but haven't been able to
motivate myself enough to figure out how.  Tips?  Brief rundown?

--charlie

-- 
Charles Farinella 
Appropriate Solutions, Inc. (www.AppropriateSolutions.com)
[EMAIL PROTECTED]
603.924.6079

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: Play wav files from serial input

2005-01-12 Thread Bill Freeman
Jeff Kinz writes:
...
  Any PII from 200-600 MHz will rip a CD at about 1:1 music time to rip
  time ratio. If you have a large (25+ years collection) it will take 
  'forever' to convert it.
 
  On the other hand, any recent vintage  machine w/a 1GHz or better 
  will rip a 1 hour cd in approx 15 minutes. :-)  Faster is faster
  obviously.  

Oh, yee holder of recent music formats.  Ripping a CD is
child's play.  An all digital operation, it doesn't even require a
sound card.  My LPs, 45s, and 78s won't fit in the CD drive, however.

Digitizing from an analog source is generally a realtime only
operation.  You might think that you could save some time by playing
the LPs at 45 and setting the sampling rate a 1.35 times the desired
rate, but then the equalization filter in the phono pre-amp wouldn't
match the pre-emphasis on the record.

Maybe you could convert those 3.75ips tapes at 7.5 ips,
though.

  Set the quality levels in your convert utility as high as you can.  that
  way you won't have to rip any CD's over again. (My Linda Ronstadt albums
  had lot's o' dropouts, dunno why. ) (Linda who?  :-) )

She's the one that did that album with Nelson Riddle, isn't
she?

Bill
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: Play wav files from serial input

2005-01-12 Thread Jeff Kinz
On Wed, Jan 12, 2005 at 04:16:56PM -0500, Bill Freeman wrote:
 Jeff Kinz writes:
 ...
   Any PII from 200-600 MHz will rip a CD at about 1:1 music time to rip
   time ratio. If you have a large (25+ years collection) it will take 
   'forever' to convert it.
  
   On the other hand, any recent vintage  machine w/a 1GHz or better 
   will rip a 1 hour cd in approx 15 minutes. :-)  Faster is faster
   obviously.  
 
   Oh, yee holder of recent music formats.  Ripping a CD is
 child's play.  An all digital operation, it doesn't even require a
 sound card.  My LPs, 45s, and 78s won't fit in the CD drive, however.

Mine neither.  Of course I bought CD's of every analog item I had, and
stored the original true analog media away in a safe place, knowing
that it actually held all the music, and not just some arbitrary
slices of the music.. :-)

And I've never touched them again.  In fact, In fact I can't even find
the needle for my turntable since the last two times I moved. :-) 

(I think its stored with the rotary phones. ) :)
 
   Digitizing from an analog source is generally a realtime only
 operation.  You might think that you could save some time by playing
 the LPs at 45 and setting the sampling rate a 1.35 times the desired
 rate, but then the equalization filter in the phono pre-amp wouldn't
 match the pre-emphasis on the record.
 
   Maybe you could convert those 3.75ips tapes at 7.5 ips,
 though.
 
   Set the quality levels in your convert utility as high as you can.  that
   way you won't have to rip any CD's over again. (My Linda Ronstadt albums
   had lot's o' dropouts, dunno why. ) (Linda who?  :-) )
 
   She's the one that did that album with Nelson Riddle, isn't she?

Da, and duets with Nelson, Willie :)
 
   Bill
 

-- 
Linux/Open Source:  Your infrastructure belongs to you, free, forever.
Idealism:  Realism applied over a longer time period
http://www.scaled.com/projects/tierone/
http://kinz.org
http://www.fedoratracker.org http://www.fedorafaq.org
http://www.fedoranews.org
Jeff Kinz, Emergent Research, Hudson, MA.
~
~
~
~
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: Play wav files from serial input

2005-01-12 Thread Mark Komarinski
On Wed, Jan 12, 2005 at 04:16:56PM -0500, Bill Freeman wrote:
 Jeff Kinz writes:
 ...
   Any PII from 200-600 MHz will rip a CD at about 1:1 music time to rip
   time ratio. If you have a large (25+ years collection) it will take 
   'forever' to convert it.
  
   On the other hand, any recent vintage  machine w/a 1GHz or better 
   will rip a 1 hour cd in approx 15 minutes. :-)  Faster is faster
   obviously.  
 
   Oh, yee holder of recent music formats.  Ripping a CD is
 child's play.  An all digital operation, it doesn't even require a
 sound card.  My LPs, 45s, and 78s won't fit in the CD drive, however.
 
   Digitizing from an analog source is generally a realtime only
 operation.  You might think that you could save some time by playing
 the LPs at 45 and setting the sampling rate a 1.35 times the desired
 rate, but then the equalization filter in the phono pre-amp wouldn't
 match the pre-emphasis on the record.

What software are you using for click/pop and normalization?  I was using
a combination of gwc and audacity(?), but it didn't seem to catch everything
and I couldn't figure out how to remove a single click.

Had to go back to Windows and use Cool Edit 2000 (now Adobe Audition).

-Mark


signature.asc
Description: Digital signature


Re: Play wav files from serial input

2005-01-12 Thread Bill Freeman
Mark Komarinski writes:
  What software are you using for click/pop and normalization?  I was using
  a combination of gwc and audacity(?), but it didn't seem to catch everything
  and I couldn't figure out how to remove a single click.

I never actually did it.  The sox man page mentions filters.

Bill
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


RE: Play wav files from serial input

2005-01-12 Thread Bill Mullen
On Wed, 2005-01-12 at 15:26, Charles Farinella wrote:
 On Wed, 2005-01-12 at 15:11, Bill Freeman wrote:
 
  (I'd been happily converting records to digital until
  my laptop died last year.)
 
 I've been wanting to do that for awhile, but haven't been able to
 motivate myself enough to figure out how.  Tips?  Brief rundown?

I use Audacity for this; it's versatile, has a nice GUI, and you can
save your recording as a project (for me, that's usually an entire
album, with recording having been paused while I flipped it over) in
Audacity's native format. Whether saved or not, one can then easily
export selections from that project into the individual wav/mp3/ogg
files corresponding to each track, optionally adding mp3id info. It pays
to have reasonable acreage to work with on disk, of course, especially
if you plan on doing multiple editing operations on the entire project.

Note that you'll need to have the appropriate libraries installed to be
able to use the mp3 and ogg formats - liblame  libvorbis, IIRC - and
there's some other lib for mp3id support. Some distributions have made
the lame lib (and its variants) a wee bit more difficult to locate and
install than others ones have ... or so I gather from the folks (the
lamers?) that will even admit to using that sort of thing. *cough* ;)

-- 
Bill Mullen
RLU# 270075

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss