# Loading Raw Audio In Stereo

**URL:** <https://forum.renoise.com/t/loading-raw-audio-in-stereo/25755>\
**Category:** Help, Support & Bugs\
**Created:** [July 24, 2009, 7:43am UTC](https://forum.renoise.com/t/loading-raw-audio-in-stereo/25755 "2009-07-24T07:43:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hryx](https://forum.renoise.com/user_avatar/forum.renoise.com/hryx/32/452_2.png) [@hryx](https://forum.renoise.com/u/hryx)\
**Post date:** [July 24, 2009, 7:43am UTC](https://forum.renoise.com/t/loading-raw-audio-in-stereo/25755/1 "2009-07-24T07:43:53Z")

</div>

It’s nice to have the options we do when loading raw audio files. But there is no option for stereo.

I know this may seem silly, since by definition “raw” has no standard format. But take my current problem as an example. The raw sample I want to load is 48kHz 16bit stereo, and when loading it with the proper options I see this:

![](http://bayimg.com/image/jacacaacn.jpg)

Looking up close, it seems like each sample alternates channels from the previous, so they end up interleaved as LRLRLRLR…

If there’s no way to load this properly in Renoise, can anyone suggest a tool for turning this into a normal wav file? Another option would be to skip every other byte, so that I end up with a sample that is monaural but sounds correct.

---

<div class="post-metadata">

**Author:** ![hryx](https://forum.renoise.com/user_avatar/forum.renoise.com/hryx/32/452_2.png) [@hryx](https://forum.renoise.com/u/hryx)\
**Post date:** [July 24, 2009, 9:08am UTC](https://forum.renoise.com/t/loading-raw-audio-in-stereo/25755/2 "2009-07-24T09:08:13Z")

</div>

O me o my I found a way. I will write it here so others can know too.

I used [FFmpeg](http://ffmpeg.org/) to convert the file using a command like this:

```auto
ffmpeg -f s16le -ac 2 -ar 48000 -i "C:\original.raw" "C:\new.wav"  

```

Explanation of the switches:  
-f s16le means the original format is 16-bit little endian (dunno what the “s” stands for)  
-ac 2 means the number of audio channels in the original is 2, i.e. stereo  
-ar 48000 dictates the original sample rate  
-i simply signals that the next parameter is the path to the input file

Then it can be loaded into Renoise/blah as usual. I hope this helps somebody someday, possibly someone on the moon.

---

<div class="post-metadata">

**Author:** ![dblue](https://forum.renoise.com/user_avatar/forum.renoise.com/dblue/32/153_2.png) [@dblue](https://forum.renoise.com/u/dblue)\
**Post date:** [July 24, 2009, 9:21am UTC](https://forum.renoise.com/t/loading-raw-audio-in-stereo/25755/3 "2009-07-24T09:21:53Z")

</div>

> [@Diptera](#):
>
> (dunno what the “s” stands for)

Probably signed vs unsigned.

---

<div class="post-metadata">

**Author:** ![hryx](https://forum.renoise.com/user_avatar/forum.renoise.com/hryx/32/452_2.png) [@hryx](https://forum.renoise.com/u/hryx)\
**Post date:** [July 24, 2009, 9:40am UTC](https://forum.renoise.com/t/loading-raw-audio-in-stereo/25755/4 "2009-07-24T09:40:46Z")

</div>

Yay, thanks dblue. That should be it.
