Forgot to mention I have been using the mica2 which has 512 Kbytes of flash
(not sure if the micaz has a similar feature).
So one possibility is to use the "measurement flash" (crossbow words) to store
the speech samples. Now, if this is the case then the sampling rate will be
limited by the worst case flash writing cycle. If somenone knows this I would
appreciate him/her sharing it.
Finally, you could consider a double buffer approach where you acquire a frame
of samples and then write it down as a block while another buffer is used to
acquire the next frame. Next the buffers exchange roles ... this is also called
a ping-pong buffer (I think).
Acquiring speech data in frames would reduce the cycles used by the ADC and I
believe this will also reduce the cycles used by the processor to write a byte
to flash.
These are some ideas I have been considering but have not have a chance to
really work on it.
Regards,
Gerardo
--- On Mon, 10/27/08, Michael Schippling <[EMAIL PROTECTED]> wrote:
From: Michael Schippling <[EMAIL PROTECTED]>
Subject: Re: [Tinyos-help] voice Recording and Transmitting in micaZ&TinyOS
To: "Mosab I. Messad" <[EMAIL PROTECTED]>, "TINYOS HELP"
<[email protected]>
Date: Monday, October 27, 2008, 2:52 PM
Oh, I see, there are a few messages about microphones
but they are not much help since most of them are questions
rather than answers, and the answers are mostly mine related
to folks not understanding what a microphone does...
Since I haven't done anything with it I can't provide much advice
beyond looking at HFS or trying to free-run the ADC at a reasonable
rate, and then doing a buffering scheme like Oscilloscope. Message
transmission is quite a bit slower than audio bandwidth, and since
you only have a small amount of RAM to work with you can't record
for very long. I'm not sure if you can use the EEPROM "Log"
storage
as it may be too slow. This may be why there are no answers...
sorry
MS
Mosab I. Messad wrote:
> Thanks for replaying Mr.Schippling.
>
> yea I searched every article that includes
> sound/recording/voice/microphone or any related feature.
>
> and I didn’t save any effort, and search place or site that related to
> what I need but found nothing.
>
> just talk no helpful examples :(
>
> hope one used and tested this thing help me.
>
> thanks again
>
> --------------------------------------------------
> From: "Michael Schippling" <[EMAIL PROTECTED]>
> Sent: Monday, October 27, 2008 8:55 PM
> To: "Mosab I. Messad" <[EMAIL PROTECTED]>
> Cc: <[email protected]>
> Subject: Re: [Tinyos-help] voice Recording and Transmitting in
micaZ&TinyOS
>
>> Many have tried, search this list of audio, sound, microphone.
>> The HighFrequencySampling demo app in T1 is probably the place
>> to start.
>>
>> MS
>>
>>
>> Mosab I. Messad wrote:
>>> Slaam Alekoam,
>>> Hello to all, I am working on a project that includes recording
>>> human voice using the micaZ node using the built in microphone
inside
>>> it and after recording, it is buffered it for 4 seconds or get
sent
>>> direct to main mote, to be collecting in a reasonable time file
all
>>> received samples as one file and perfrom voice processing on that
file.
>>> my question is can any body help me and know a tested and used
code
>>> for the voice recording and transmitting to start the voice
recording
>>> from internal microphone process according to an interrupt signal
>>> send from a sensor on the sensors board and after recording it
will
>>> be transmitted wirelessly to the main mote connected to the
computer.
>>> or any similar code that is related to sound recoriding using the
>>> tinyos-1.x with micaZ motes.
>>> I will be very very thankful if any body could help me at least
of
>>> part of this problem because my graduation depends on that.
>>> With My Regrads;
>>> Mosab I. Messad
>>>
>>>
>>>
------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Tinyos-help mailing list
>>> [email protected]
>>>
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>> --
>> Platform: WinXP/Cygwin
>> TinyOS version: 1.x, Boomerang
>> Programmer: MIB510
>> Device(s): Mica2, MicaZ, Tmote
>> Sensor board: homebrew
>>
>>
--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help