Skip to content

Instantly share code, notes, and snippets.

Avatar

BeatUp BeatUpir

View GitHub Profile
@BeatUpir
BeatUpir / SavWav.cs
Last active May 3, 2020 — forked from darktable/SavWav.cs
Unity3D: script to save an AudioClip as a .wav file.
View SavWav.cs
using System;
using System.IO;
using UnityEngine;
using System.Collections.Generic;
using System.Threading;
public class SavWav {
const int HEADER_SIZE = 44;
struct ClipData{