Re: Please help: I need to create a midi file using C language and "truncated fourier series"




"david" <aass000999@xxxxxxxx> wrote in message
news:1126612851.011892.325200@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> 1.I am considering doing a simple midi file generator for my
> 4th year project in B.SC.
> 2.I would do it using c language, but i'm not sure how
> difficult it would be.

There is significant learning curve for any one new to Windows API which
assumes firm grasp of C. If you already have written some WinMain or WndProc
functions to produce some sort of user interface then you should not find it
too difficult.

> 3.Basically, the executable c program would read a text document
> with some "musical pseudocode" representing some `tune`.
> Then convert the "musical pseudocode" into "midi code" that
> could be played in any midi player like `windows media player`.

> 4.How would you do this?
> 5.I hear that you could use `truncated fourier series`; but how to
> do this?
> 6.Also, how to re-create various musical instruments?

You might be able to save lot of effort by referring to program called
kbmidi.c written by Charles Petzold in his book Programming Windows 5th
edition, chapter 22 on sound and music. Petzold shows how to play midi
synthesizer from PC keyboard. But no Fourier series involved. Possibly
because the API functions may already have included that analysis in
libraries.

> 7.Please give me some quick guidence on the above issues.

Note that Petzold's book comes with a CD and code so you can actually see
different instruments play from your PC keyboard. Hope this helps.

> 8.Thanks.
>


--
Respectfully,


Mohan Pawar
MIO Instruments LLC
Please note that Phone # (920) 277-6037 that I used to give before is no
longer in use. In future I will discontinue to mention it. Thanks.



.



Relevant Pages

  • Re: TV commercial with accordion
    ... the goal of a MIDI instrument is to expand the performer's options while reusing their existing investment in playing skills. ... If you want a trumpet solo in your arrangement, a MIDI keyboard is usually pretty bad and even a MIDI wind controller isn't going to be entirely right -- but if you don't have a trumpet player available, these options may beat having to settle for playing it with your reeds. ... accordions are in a worse place to criticize MIDI than most instruments. ...
    (rec.music.makers.squeezebox)
  • Re: Need a MIDI Input function in LabVIEW. I have found all kinds of examples of MIDI out, but not
    ... I have a MIDI keyboard that has a USB interface.  ... Windows will recognize it as a MIDI device.  ...
    (comp.lang.labview)
  • Re: usb midi keyboard found as hardware, not as a device
    ... keyboard you can plug into an usb port of a PC. ... The problem is that on 2 of our 3 PC's, windows immediatly ... applications under 'devices' the midi keyboard ...
    (microsoft.public.windowsxp.music)
  • Re: YAMAHA RS7000 midi bulk receive
    ... reading its stats) that it would be able to receive a midi data ... trasfer from a keyboard. ... so that i can take the rs7k anywhere and plug it up to my ... different keyboards to take anywhere i play. ...
    (rec.music.makers.synth)
  • Re: YAMAHA RS7000 midi bulk receive
    ... trasfer from a keyboard. ... Most keyboards will allow MIDI data transfer via system exclusive. ... The on board MIDI sequencer 'might' be able to record MIDI data dumps from ... able to record sysex. ...
    (rec.music.makers.synth)