Searching \ for '[PIC]: Inquiry about: Sound generation using PIC' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/ios.htm?key=sound
Search entire site for: 'Inquiry about: Sound generation using PIC'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: Inquiry about: Sound generation using PIC'
2000\11\02@101231 by Olin Lathrop

flavicon
face
> >I don't know anything about Matlab, but I think you misunderstand the
data
> >format.  Most WAV files and the way I implemented the sound in the PIC
just
> >store the waveform sampled at a regular interval.  You can think of each
> >number as an instantaneous voltage snapshot.  It is not a frequency and
> >duration.
>
> Thanks a lot for your reply. But may l know do you have any sample
programme
> with you? Is it possible that you send one sample programme to me through
> e-mail, so that l can study it as an example? And do you have the external
> circuitry design that will enable it to produce sound?

Please stop sending me private email unless it is a truly private matter -
which this isn't.  I'm getting tired of swithing the reply back to the list
address manually.

I did try to send the source code for the WAV to PIC conversion program and
the Win32 EXE, but the list server refused it because it was more than 1000
lines.  It must have been counting attachment lines.


*****************************************************************
Olin Lathrop, embedded systems consultant in Devens Massachusetts
(978) 772-3129, spam_OUTolinTakeThisOuTspamcognivis.com, http://www.cognivis.com

--
http://www.piclist.com hint: To leave the PICList
.....piclist-unsubscribe-requestKILLspamspam@spam@mitvma.mit.edu




2000\11\02@124628 by Liew Tze Haw

picon face
>I did try to send the source code for the WAV to PIC conversion program and
>the Win32 EXE, but the list server refused it because it was more than 1000
>lines.  It must have been counting attachment lines.
>
l cannot open the second attachment(wav_hal.exe). It seems to run for a
while in DOS and then vanishes. May l know what is that and how to read and
use it?
Thank you very much.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

--
http://www.piclist.com hint: To leave the PICList
piclist-unsubscribe-requestspamKILLspammitvma.mit.edu




2000\11\02@131047 by Liew Tze Haw

picon face
>I did try to send the source code for the WAV to PIC conversion program and
>the Win32 EXE, but the list server refused it because it was more than 1000
>lines.  It must have been counting attachment lines.
>
l opened the second attachment(wav_hal.exe) using DOS but it says "no infile
in subsystem 'wav_hal_prog'. l don't know how to deal with it.
Can you please help me with this problem?
And for another attachment, which software should l use to run it?
Thank you.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

--
http://www.piclist.com hint: To leave the PICList
.....piclist-unsubscribe-requestKILLspamspam.....mitvma.mit.edu




2000\11\02@143250 by Olin Lathrop

flavicon
face
> l cannot open the second attachment(wav_hal.exe). It seems to run for a
> while in DOS and then vanishes. May l know what is that and how to read
and
> use it?

The command line useage for WAV_HAL was in the header comments of the first
attachment:

{   Program WAV_HAL [options]
*
*   Read a WAV file and create the PIC assembler source file for the sound
*   in the format required by the HAL firmware.
*
*   Command line options are:
*
*     <input file name>
*
*     <output file name>
*
*     -FROM s
*
*       Start the output sound at S seconds from the start of the input
sound.
*
*     -TO s
*
*       End the output sound S seconds from the start of the input sound.
*
*     -RRATE m
*
*       Set the relative source stream playback rate.  Values above 1 cause
the
*       source stream to be played back more quickly (more samples/second)
and
*       values below 1 more slowly.  The default is 1, which causes the
source
*       stream to be played at its intended speed.
}

The program should produce two files, a WAV and .INS.ASPIC.


*****************************************************************
Olin Lathrop, embedded systems consultant in Devens Massachusetts
(978) 772-3129, EraseMEolinspam_OUTspamTakeThisOuTcognivis.com, http://www.cognivis.com

--
http://www.piclist.com hint: To leave the PICList
piclist-unsubscribe-requestspamspam_OUTmitvma.mit.edu




2000\11\02@143255 by Olin Lathrop

flavicon
face
> l opened the second attachment(wav_hal.exe) using DOS but it says "no
infile
> in subsystem 'wav_hal_prog'. l don't know how to deal with it.

As I said, I didn't send the message files which have to be installed.  Your
error messages will therefore all be something like "Message xxx in
subsystem yyy".  This particular message means you didn't give the program
an input file.

If you are in a directory with file X.WAV, you could run

 wav_hal x y

which would produce Y.WAV and Y.ASPIC.


*****************************************************************
Olin Lathrop, embedded systems consultant in Devens Massachusetts
(978) 772-3129, @spam@olinKILLspamspamcognivis.com, http://www.cognivis.com

--
http://www.piclist.com hint: To leave the PICList
KILLspampiclist-unsubscribe-requestKILLspamspammitvma.mit.edu




2000\11\02@235711 by jamesnewton

face picon face
I've posted the files at piclist.com (with Olins kind permission). See:
http://www.piclist.com/../microchip/dsp/wav2dt.htm

---
James Newton (PICList Admin #3)
RemoveMEjamesnewtonTakeThisOuTspampiclist.com 1-619-652-0593
PIC/PICList FAQ: http://www.piclist.com or .org

{Original Message removed}

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...