# How can I convert voice data to a .wav file?

**URL:** <https://discourse.processing.org/t/how-can-i-convert-voice-data-to-a-wav-file/16893>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [January 6, 2020, 7:14am UTC](https://discourse.processing.org/t/how-can-i-convert-voice-data-to-a-wav-file/16893 "2020-01-06T07:14:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [January 6, 2020, 7:14am UTC](https://discourse.processing.org/t/how-can-i-convert-voice-data-to-a-wav-file/16893/1 "2020-01-06T07:14:13Z")

</div>

how can I convert voice data to a .wav file?

 ![tt](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/e/e581a86788f93d39060bf135f195d00cebb0bc06.jpeg)

Hello. nice to meet you.

I am using Arduino to get the voice value from the microphone to the ADC.  
I send the ADC value to a PC and want save it as a .wav file.  
In other words, how can I convert voice data to a .wav file?

Do you know anyone?  
Help. I need your help.

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [January 7, 2020, 12:12am UTC](https://discourse.processing.org/t/how-can-i-convert-voice-data-to-a-wav-file/16893/2 "2020-01-07T00:12:10Z")

</div>

Reference site address: [https://crystalcube.co.kr/123](https://crystalcube.co.kr/123)

It is said that raw data can be converted to .wav through ‘Goldwave Tool’ program.

Couldn’t it be implemented through ‘processing program’?

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [January 7, 2020, 2:36am UTC](https://discourse.processing.org/t/how-can-i-convert-voice-data-to-a-wav-file/16893/3 "2020-01-07T02:36:26Z")

</div>

A quick G search with keywords: `convert raw adc data to wav` provided the following promising post:

> <https://stackoverflow.com/questions/2059014/converting-raw-audio-data-to-wav-with-scripting>

You can saw some raw data using Processing, or any other software and try running the raw-to-wav converter and see if it works for you. If it does, you could call this file from the PDE using the `exec()` command.

Kf

Kf
