Added mozart and a project
This commit is contained in:
24
Program.cs
Normal file
24
Program.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
namespace Mozart
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
static async Task Main(string[] args)
|
||||
{
|
||||
SoundHandler soundHandler = new SoundHandler();
|
||||
|
||||
Instrument instrument = Instrument.clarinet;
|
||||
|
||||
for (int i = 0; i < 16; i++)
|
||||
{
|
||||
await soundHandler.PlayAudioAsync(soundHandler.getPath(instrument, SoundType.minuet, i, new Die(6).Throw(2)));
|
||||
}
|
||||
|
||||
for (int i = 0; i < 16; i++)
|
||||
{
|
||||
await soundHandler.PlayAudioAsync(soundHandler.getPath(instrument, SoundType.trio, i, new Die(6).Throw()));
|
||||
}
|
||||
|
||||
Console.WriteLine("Hello, World!");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user