MovieMovies1

FMPATCH_CONV

May 26th, 2016
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. When you open a .opm file in a text editor, you'll see a whole list of patches in this format:
  2.  
  3. @:0 GRANDPNO
  4. LFO: 0 0 0 0 0
  5. CH: 64 5 2 0 0 120 0
  6. M1: 31 11 6 4 2 36 0 1 5 0 0
  7. C1: 25 11 10 4 6 44 0 6 0 0 0
  8. M2: 31 11 6 5 2 38 0 3 1 0 0
  9. C2: 31 9 6 8 2 0 0 1 0 0 0
  10.  
  11. If you want these to be usable with PMD:
  12.  
  13. - First remove all prefixes, and the first two lines:
  14.  
  15. 64 5 2 0 0 120 0
  16. 31 11 6 4 2 36 0 1 5 0 0
  17. 25 11 10 4 6 44 0 6 0 0 0
  18. 31 11 6 5 2 38 0 3 1 0 0
  19. 31 9 6 8 2 0 0 1 0 0 0
  20.  
  21. - Then on what is now the first line, remove everything except for the second and third value, and swap their positions:
  22.  
  23. 2 5
  24. 31 11 6 4 2 36 0 1 5 0 0
  25. 25 11 10 4 6 44 0 6 0 0 0
  26. 31 11 6 5 2 38 0 3 1 0 0
  27. 31 9 6 8 2 0 0 1 0 0 0
  28.  
  29. - Now, to finalize, add the prefix @[num] to the first line, with [num] being the patch value for PMD to read:
  30.  
  31. @0 2 5
  32. 31 11 6 4 2 36 0 1 5 0 0
  33. 25 11 10 4 6 44 0 6 0 0 0
  34. 31 11 6 5 2 38 0 3 1 0 0
  35. 31 9 6 8 2 0 0 1 0 0 0
  36.  
  37. - Optionally, you can add a description of the patch like this:
  38.  
  39. @0 2 5 =piano
  40. 31 11 6 4 2 36 0 1 5 0 0
  41. 25 11 10 4 6 44 0 6 0 0 0
  42. 31 11 6 5 2 38 0 3 1 0 0
  43. 31 9 6 8 2 0 0 1 0 0 0
Advertisement
Add Comment
Please, Sign In to add comment