# Audacity exports .raw instead of .pcm

**URL:** <https://community.allstarlink.org/t/audacity-exports-raw-instead-of-pcm/21224>\
**Category:** AllStarLink\
**Created:** [June 24, 2024, 4:28am UTC](https://community.allstarlink.org/t/audacity-exports-raw-instead-of-pcm/21224 "2024-06-24T04:28:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![K6YXH](https://community.allstarlink.org/user_avatar/community.allstarlink.org/k6yxh/32/2252_2.png) [@K6YXH](https://community.allstarlink.org/u/K6YXH)\
**Post date:** [June 24, 2024, 4:28am UTC](https://community.allstarlink.org/t/audacity-exports-raw-instead-of-pcm/21224/1 "2024-06-24T04:28:31Z")

</div>

I found a pdf on how to use Audacity to generate a message file for my AllStarLink node, but it says that when I Export the audio file it should have an extension of **.pcm** , but it has an extension of **.raw**

Here’s the article I followed: [http://www.qsl.net/w/w2ymm//downloads/ALLSTAR/app-rpt-audacity.pdf](http://www.qsl.net/w/w2ymm//downloads/ALLSTAR/app-rpt-audacity.pdf)

Is the “raw” file the one I need?

---

<div class="post-metadata">

**Author:** ![KE2N](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/db5fbb/32.png) [@KE2N](https://community.allstarlink.org/u/KE2N)\
**Post date:** [June 25, 2024, 2:35am UTC](https://community.allstarlink.org/t/audacity-exports-raw-instead-of-pcm/21224/2 "2024-06-25T02:35:21Z")

</div>

raw is what asterisk wants. Here is the setup:

![2024-06-24 22_30_09-Export Audio](https://community.allstarlink.org/uploads/default/original/2X/7/7b062444f04991916d949f32ceb9bdf02150b38e.png)

Asterisk/Allstar expects the file extension to be .ul or .ulaw.

The latest version of Asterisk will put .raw as the extension even if you specify something else.  
You will have to re-name the file to end in .ul before you copy it to Asterisk. It didn’t used to do this. A revision about 6 months ago started forcing the “.raw” extension.

Ken

---

<div class="post-metadata">

**Author:** ![K6YXH](https://community.allstarlink.org/user_avatar/community.allstarlink.org/k6yxh/32/2252_2.png) [@K6YXH](https://community.allstarlink.org/u/K6YXH)\
**Post date:** [June 25, 2024, 9:55pm UTC](https://community.allstarlink.org/t/audacity-exports-raw-instead-of-pcm/21224/3 "2024-06-25T21:55:14Z")

</div>

Ken - I followed your instructions and I have it working! Thank you!

It didn’t work when I had the .ul in the file name, but worked with no extension. 73, Norm K6YXH

---

<div class="post-metadata">

**Author:** ![KE2N](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/db5fbb/32.png) [@KE2N](https://community.allstarlink.org/u/KE2N)\
**Post date:** [June 29, 2024, 8:37pm UTC](https://community.allstarlink.org/t/audacity-exports-raw-instead-of-pcm/21224/4 "2024-06-29T20:37:59Z")

</div>

Glad you got it working.  
When writing Allstar commands and macro’s and scripts, you never put in the extension of the sound file. That’s just the convention for Allstar.

---

<div class="post-metadata">

**Author:** ![system](https://community.allstarlink.org/uploads/default/original/2X/4/42700284e201b031bd667c3f63bbae05a74b3104.png) [@system](https://community.allstarlink.org/u/system)\
**Post date:** [July 2, 2024, 8:38pm UTC](https://community.allstarlink.org/t/audacity-exports-raw-instead-of-pcm/21224/5 "2024-07-02T20:38:06Z")

</div>

Closed on July 2, 2024, 8:38pm UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
