Re: Please help: I need to create a midi file using C language
- From: anw@xxxxxxxxxxxxxxxx (Dr A. N. Walker)
- Date: 13 Sep 2005 15:52:25 GMT
In article <1126612744.083949.169690@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
david <aass000999@xxxxxxxx> wrote:
[Midi in C:]
>4.How would you do this?
No idea in detail, but basically it's just an edit job from
any plausible musical notation. You'd need to look up the midi spec
for details, but basically a midi file is mostly a series of bytes
saying "at position foo, play note bar on channel baz with such and
such loudness and to last for so long". That's why sequencers can
present you with an "event list" that you can more-or-less overwrite
to edit the music.
>5.I hear that you could use `truncated fourier series`; but how to
> do this?
Little to do with midi, which is much more like a score than
like [eg] a CD. If you want to generate sounds, then you're in a
different game; but normally you leave that to your player [and a
software synth or keyboard, eg].
>6.Also, how to re-create various musical instruments?
The midi player does that. One of your available events is to
tell the player to switch channel foo to instrument bar. Well, there's
a lot more to it if you intend also to write your own instruments, but
you don't need to for ordinary use.
>7.Please give me some quick guidence on the above issues.
I don't know if it's still around, but "Rosegarden" used to be
a somewhat open project [may even have been GPL'ed] for most of this
stuff. Oh, found it: "http://www.rosegardenmusic.com".
--
Andy Walker, School of MathSci., Univ. of Nott'm, UK.
anw@xxxxxxxxxxxxxxxx
.
- Follow-Ups:
- Re: Please help: I need to create a midi file using C language
- From: Ian Johnston
- Re: Please help: I need to create a midi file using C language
- References:
- Prev by Date: Please help: I need to create a midi file using C language
- Next by Date: Re: Please help: I need to create a midi file using C language
- Previous by thread: Please help: I need to create a midi file using C language
- Next by thread: Re: Please help: I need to create a midi file using C language
- Index(es):
Relevant Pages
|
|