This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

MIDI help

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While perhaps it's not a perfect fit, I'm moving this to the Other Java APIs forum...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!