F# Project - Sound Synthesis
View the Project on GitHub PaulMarisOUMary/ALGOSUP_2022_Project_3_B
module Wav
Attributes:
none
Methods:
method EncodeWav (path:string) (data:byte[])
Wav.EncodeWav @"../../../../YourWavName.wav" bitarray
path : mandatory
Define the path of your wav file.
Type : string
data : mandatory
The byte data you want to encode.
Type : Byte[]
Write a .wav file at the specified path.
Type : .wav
method DecodeWav (path:string)
Wav.DecodeWav @"../../../../YourWavName.wav"
path : mandatory
Define the path of your wav file.
Type : string
Decode a .wav file at the specified path and return a byte array.
Type : Byte[]
method ToByteArray (data:float list)
Wav.ToByteArray yourwavelist
data : mandatory
The list you want to convert.
Convert a list of float into a byte array.
Type : Byte[]