• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

MIDI help

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to create a Midi program and i was wondering if their was a good place to get a list of the instruments available and their numbers. Someone help
 
Cowgirl and Author
Posts: 1589
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Howdy,
This is probably not a beginner question, but since I put MIDI stuff in a beginning Java book, I guess I can still answer this here
(Besides, I just think this stuff is a fun way to experiment with Java, even though the API is ridiculously more complicated than it needs to be).
Try this tiny app to print your sound list to the terminal:

You'll see a list like:
186 Castanets
187 Mute Surdo
188 Open Surdo
189 Brush Snare High
190 Brush Snare Low
191 Soft Piano
192 Reflection Piano
Mine goes from 0 to 364... you can usually guarantee at least from 0 to 128.
Anyone know what the heck a "Surdo" is?
Have fun
cheers,
Kathy
 
author
Posts: 154
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://www.mameluco.com/surdo.html
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
While perhaps it's not a perfect fit, I'm moving this to the Other Java APIs forum...
 
She'll be back. I'm just gonna wait here. With this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic