a guest Feb 18th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $UtilDef=@"
  2. using System;
  3. public static class MidiUtils{
  4.    public static void HighestNote(string notesString){
  5.        Console.WriteLine("highestNote");
  6.    }
  7. }
  8. "@
  9. Add-Type -TypeDefinition $UtilDef
  10. Remove-Variable UtilDef
  11. [MidiUtils]::HighestNote("f4 g4 a#4 c5 d5 d#5 f5 g5 a5 a#5 c6 d6");
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand