To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 1163
1162  |  1164
Subject: 
Re: May I use RCX to play a .wav file?
Newsgroups: 
lugnet.robotics.rcx
Date: 
Fri, 30 Mar 2001 01:37:52 GMT
Viewed: 
1407 times
  
Thanks.
Now I have converted wav file to mono data sampled at 11025Hz (can be changed)
and sample range is 0-255 as below:
144, 150, 154, 156, 160, 159, 154, 149, 143, 134, 128, 120, 110, 103, 97, 93,
91, 93, 96, 102, 110, 120, 127, 138, 149, 156, 163, 168, 171, 171, 166, 160,
153, 140, 128, 120, 107, 97, 88, 82, 81, 82, 87, 93, 102, 113, 125, 135,

How can I convert it to (freq., duration) ?

Zhengrong

Andy Clapham wrote:

This has been asked many times before, and while it seems like it should be
possible in theory, it's not possible in practice.
The reason is that the speaker is connected to one of the special outputs of
the H8 processor which is designed to pulse at regular timed intervals. This
is great for playing tones, but it doesn't allow the fine control necessary
for playing wav files.

"Zhengrong Zang" <mikezang@iname.com> wrote in message
news:3AC30684.2C3A583D@iname.com...
I want to know if I can use RCX to play a .wav file, does anyone help
me?

Br
Zhengrong




Message has 1 Reply:
  R: May I use RCX to play a .wav file?
 
Hi Zhengrong, (...) changed) (...) 93, (...) 160, (...) I wrote a small utility that converts midi files in LegOs or NQC source files and another utility that can convert a "certain" type (i.e. noises) of wav samples in LegOs. I think that playing (...) (24 years ago, 30-Mar-01, to lugnet.robotics.rcx)

Message is in Reply To:
  Re: May I use RCX to play a .wav file?
 
This has been asked many times before, and while it seems like it should be possible in theory, it's not possible in practice. The reason is that the speaker is connected to one of the special outputs of the H8 processor which is designed to pulse (...) (24 years ago, 29-Mar-01, to lugnet.robotics.rcx)

6 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR