Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Java + Midi

  • 16-05-2005 8:56am
    #1
    Registered Users, Registered Users 2 Posts: 3,012 ✭✭✭


    Hey,

    thinking of final year project ideas for next year, was wondering if anyone knew of some good sites, or books, for showing how to read, and record midi inputs from a musical device in Java.


Comments

  • Registered Users, Registered Users 2 Posts: 131 ✭✭theexis


    What platform are you targetting?


  • Registered Users, Registered Users 2 Posts: 3,012 ✭✭✭BizzyC


    Probably windows, don't have any definite plans done for it though, just looking into it at the moment.
    I was thinking of recording the midi inputs of electronic drums. All i'd need from the input is the signal value indicating what drum was hit, and the time on input.


  • Registered Users, Registered Users 2 Posts: 21,264 ✭✭✭✭Hobbes




  • Registered Users, Registered Users 2 Posts: 261 ✭✭HaVoC


    java sound api that link is to a chapter on sound in java game coding but he covers a lot of the sound api + midi. If your developing using java 1.5 i think you'll have to change his code a bit to get it working, think you have to explicitly close sound channels.


  • Registered Users, Registered Users 2 Posts: 131 ✭✭theexis


    How about extending your project to be a full "trigger to MIDI" implementation? i.e. some software that takes a non MIDI input (maybe a feed into the sound card audio port), figures out how "hard" the trigger was, then converts that to MIDI to feed into a sequencer?


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 3,012 ✭✭✭BizzyC


    What do you mean by hard?


  • Registered Users, Registered Users 2 Posts: 131 ✭✭theexis


    I.e how hard someone hit the drum or whatever is acting as the trigger, so basically supporting velocity sensitivity rather than just a basic trigger "yes/no".


  • Registered Users, Registered Users 2 Posts: 4,003 ✭✭✭rsynnott


    Ooh, Java Sound, lovely ;)


  • Registered Users, Registered Users 2 Posts: 3,012 ✭✭✭BizzyC


    theexis wrote:
    I.e how hard someone hit the drum or whatever is acting as the trigger, so basically supporting velocity sensitivity rather than just a basic trigger "yes/no".
    Ah, well this is supported by the newer kits by Yamaha and Roland quite well, so I assume that the midi signal from the drums also contains data on this, so the audio output sounds correct.
    I'm not sure exactly how it's done, but they must give some sort of additional data apart from a trigger to support this.


  • Registered Users, Registered Users 2 Posts: 131 ✭✭theexis


    Right, but you're talking about the MIDI events coming from the drum module, so these are regular note-on/note-off with velocity.

    Since you're looking for a final year project I was thinking you might consider going back one step further and see how you'd actually turn a physical "hit" into an electrical signal, then software to convert that to a MIDI event (i.e. the Trigger to MIDI part) then drive a virtual drum kit via VSTi/DXi or Rewire.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 3,012 ✭✭✭BizzyC


    You mean creating the midi output myself, without the drum module?
    Interesting idea.
    I was thinking more along the lines of recording a person's playing, and generating the sheet music. There'd be a lot of work invloved with getting the correct notation, time patterns etc.


  • Registered Users, Registered Users 2 Posts: 131 ✭✭theexis


    Yes, thats kind of what I was suggesting, but its your project obviously ;o). PM me if you decide to go this route and need pointers.


Advertisement