61 lines
1.3 KiB
Text
61 lines
1.3 KiB
Text
# Gambas Form File 3.0
|
|
|
|
{ Form Form
|
|
MoveScaled(0,0,72,20)
|
|
Text = ("Wave generator")
|
|
Icon = Picture["audio-headphones.png"]
|
|
Arrangement = Arrange.Vertical
|
|
Spacing = True
|
|
Margin = True
|
|
{ Panel1 HBox
|
|
MoveScaled(2,2,68,4)
|
|
{ Label1 Label
|
|
MoveScaled(0,0,11,4)
|
|
Text = ("Frequency")
|
|
}
|
|
{ sldFrequency Slider
|
|
MoveScaled(14,0,53,4)
|
|
Expand = True
|
|
MaxValue = 1000
|
|
}
|
|
}
|
|
{ Panel2 HBox
|
|
MoveScaled(2,7,68,4)
|
|
{ Label2 Label
|
|
MoveScaled(0,0,11,4)
|
|
Text = ("Volume")
|
|
}
|
|
{ sldVolume Slider
|
|
MoveScaled(14,0,53,4)
|
|
Expand = True
|
|
MaxValue = 1000
|
|
Value = 800
|
|
}
|
|
}
|
|
{ Panel5 Panel
|
|
MoveScaled(31,12,13,1)
|
|
Expand = True
|
|
}
|
|
{ Panel3 HBox
|
|
MoveScaled(2,14,68,4)
|
|
Spacing = True
|
|
{ cmbType ComboBox
|
|
MoveScaled(0,0,27,4)
|
|
ReadOnly = True
|
|
List = [("Sine"), ("Square"), ("Saw"), ("Triangle"), ("Silence"), ("White uniform noise"), ("Pink noise"), ("Sine table"), ("Periodic ticks"), ("White gaussian noise"), ("Red brownian noise"), ("Blue noise"), ("Violet noise")]
|
|
}
|
|
{ Panel4 Panel
|
|
MoveScaled(28,0,3,4)
|
|
Expand = True
|
|
}
|
|
{ lblFrequency Label
|
|
MoveScaled(27,0,13,4)
|
|
Text = ("440 Hz")
|
|
Alignment = Align.Right
|
|
}
|
|
{ btnPlay Button
|
|
MoveScaled(41,0,27,4)
|
|
Text = ("Play / Stop")
|
|
}
|
|
}
|
|
}
|