SynthLib

F# Project - Sound Synthesis

View the Project on GitHub PaulMarisOUMary/ALGOSUP_2022_Project_3_B

Module Chart

Chart

module Chart

Attributes: none

Methods:

Chart


method Chart datas xSize ySize

Example Usage:

let chart = Chart wave 1200 250

Parameters:

data : mandatory The wave you want to display.

Type : list<float>

xSize : mandatory The size of the x-axis of your graph.

Type : Px

ySize : mandatory The size of the y-axis of your graph.

Type : Px

Returns:

Return a line chart directly display on the browser.

ChartBar


method ChartBar (datas: #value list list) (xSize: int) (ySize: int)

Example Usage:

let chart = ChartBar wave 1200 250

Parameters:

datas : mandatory The value of the waves you want to display.

Type : list<float>

xSize : mandatory The size of the x-axis of your graph.

Type : Px

ySize : mandatory The size of the y-axis of your graph.

Type : Px

Returns:

Return a bar chart directly display on the browser.