Editing attack/delay for existing MIDI files

  3 posts   Feedicon  
Replies: 2 - Last Post: March 16, 2009 12:17
by: Ravaa
showing 1 - 3 of 3
 
Posted: March 11, 2009 16:00 by Ravaa
Hi, I'm very new to the Jfugue world (and Java in general!), but it looks very promising. I'm looking to edit the volume of a midi file (i.e. change its attack and delay) as it plays but I can't seem to work out how to do it, even though I've looked through the manual.

Any light shed on this matter will be greatly appreciated, thanks : D
 
Posted: March 11, 2009 23:09 by dmkoelle
Whether you can render attack and decay in MIDI (as well as pitch wheels, key pressure, and other features) is dictated by the synthesizer that you're using. Some of the basic synthesizers do not actually handle these MIDI events.

My recommendation is to use the Gervill synthesizer. You may find it here: https://gervill.dev.java.net/

Hope that helps!
-Dave
 
Posted: March 16, 2009 12:17 by Ravaa
Hi, really appreciate the help!

I think you might've misunderstood what I meant however, just to be sure though...basically I have a midi file called Twinkleaccomp.mid, and I've set it up to play through Java via a simple midi player using jfugue (i.e. "playMidiDirectly").

What I'd like to do is to treat that midi file like a pattern and have a similar effect to modifying a note by adding "a127", for example. To be honest I'm not sure how to do this with a pattern (i.e. modify the attack and delay of the pattern overall as opposed to individual notes), but any help with that would be great! Do I use a pattern transformer or something to that effect to do something similar with a midi file? Or do I convert the midi file to a pattern first...?

I hope that all made sense, haha.

Thank you.
Replies: 2 - Last Post: March 16, 2009 12:17
by: Ravaa
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close