This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using System; | |
| /// <summary> | |
| /// Class <c>AudioToSpectrumBuffer</c> pre-generates a buffer of spectrum | |
| /// in the manner of AudioSource.GetSpectrum() but without the need of | |
| /// playing the AudioClip. | |
| /// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.IO; | |
| using NAudio.Flac; | |
| using NAudio.Wave; | |
| /// <summary> | |
| /// Class <c>FlacToAudioClip</c> converts a raw array of bytes in FLAC format | |
| /// into a UnityEngine AudioClip. | |
| /// |