Exemple #1
0
 public Player(string assetsFolder)
 {
     _operation              = new PdOperation(Path.Combine(assetsFolder, "sonification.pd"));
     _operation.BufferReady += ((sender, args) =>
     {
         if (BufferReady != null)
         {
             BufferReady(this, args);
         }
     });
     _operation.GetNext += ((sender, args) =>
     {
         if (TeamPlayed != null)
         {
             TeamPlayed(this, args);
         }
         NextTeam();
     });
 }
 public Player(string assetsFolder)
 {
     _operation = new PdOperation(Path.Combine(assetsFolder, "sonification.pd"));
     _operation.BufferReady += ((sender, args) =>
     {
         if (BufferReady != null)
         {
             BufferReady(this, args);
         }
     });
     _operation.GetNext += ((sender, args) =>
     {
         if (TeamPlayed != null)
         {
             TeamPlayed(this, args);
         }
         NextTeam();
     });
 }