# Save raw \`.wav\` file from \`AudioClassifier\`?

**URL:** <https://discuss.ai.google.dev/t/save-raw-wav-file-from-audioclassifier/29826>\
**Category:** General Discussion\
**Tags:** object-detection, classification\
**Created:** [March 3, 2024, 11:14pm UTC](https://discuss.ai.google.dev/t/save-raw-wav-file-from-audioclassifier/29826 "2024-03-03T23:14:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gamename](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/gamename/32/6848_2.png) [@gamename](https://discuss.ai.google.dev/u/gamename)\
**Post date:** [March 3, 2024, 11:14pm UTC](https://discuss.ai.google.dev/t/save-raw-wav-file-from-audioclassifier/29826/1 "2024-03-03T23:14:10Z")

</div>

Hi,

I have an application called the [“cat doorbell”](https://github.com/cat-doorbell-v2) which lets me know when our cat wants in the house. It works fine, but I need to gather some meow sound snippets for another project.

Looking at my code [here](https://github.com/cat-doorbell-v2/cat-doorbell-v2-rpi-python/blob/9363d6a49d450f341875ad8057d72f2ec4d6ff09/raspberry-pi/doorbell.py#L214), I was wondering if it is possible extract raw audio and save it to a `.wav` file. Can that be done?

I don’t think its possible with these objects, but its worth asking. 🙂

---

<div class="post-metadata">

**Author:** ![Kiran\_Sai\_Ramineni](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/kiran_sai_ramineni/32/8859_2.png) [@Kiran\_Sai\_Ramineni](https://discuss.ai.google.dev/u/Kiran_Sai_Ramineni)\
**Post date:** [March 11, 2024, 8:19am UTC](https://discuss.ai.google.dev/t/save-raw-wav-file-from-audioclassifier/29826/3 "2024-03-11T08:19:44Z")

</div>

> [@gamename](#):
>
> if it is possible extract raw audio and save it to a `.wav` file.

Hi @gamename, Could you please confirm if you want to extract the audio from a video file and need to save it in the .wav file. Thank You.
