• 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 ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Sound editing  RSS feed

Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
We are editing a MIDI file and vreating a new file out o it.
I could edit it and save it also.But the tune which I am getting with the edited file is different from the original one.
I could not find out why this is happening..
If anyone can tell me why this is happening and how should I go about it, I will be helpful to him
Thanking in advance,
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How exactly is it different? Different notes? Different note lengths? Is the byte count in the new file accurate? Did you check the edited
file against the other file in a hex editor? You should be able to look at the hex code and know exactly what each and every byte is doing in terms of MIDI code in each file.
Unlike a wave file, every byte in a MIDI is parsable in manner that you can speak about if you understand the MIDI file spec. well enough. Every element of a MIDI file has a behavior in the output that it's controlling (as opposed to just being raw data). Just be patient with it and learn how to read the file.
Technically, you could hum a midi file just by looking at it, like a trained musician can look at music on a staff and hum it....but I would be somewhat scared of anyone who actually could do that!
[ April 20, 2002: Message edited by: Andreas Falley ]
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!