Mail Archives: djgpp/1997/03/18/00:37:49
Michael Bevin (mbevin AT hermes DOT otago DOT ac DOT nz) wrote:
: I was wondering how I could output a single note every two
: seconds (or whatever) to midi using allegro - at the moment for each
: note i want i'm having to create a midi file which isn't very efficient :)
This i s awkward, but you could look at the source code for Allegro and
investigate whether the note-playing functions for the MIDI player could
be made public. This could fail to work, though.
: Also i seem to be having a problem with the grabber in that i've got a
: picture and whenever i import it into a datafile with grabber it adds a
: really annoying dot in a random position???? it's really noticeable in
: this picture since it's mostly black and it's a white dot.... do you
: have any idea why?
Try using the command-line dat utility to add the picture to the datafile
and see if it still occurs. The syntax is:
dat -a (filename.dat) (filename.pcx)
where (filename.dat) is the filename of the datafile and (filename.pcx) is
the filename of the PCX picture file. If you're using an automatic header
file, also put `-h (filename.h)' and perhaps `-p (prefix)' if you want to
prefix each constant.
--
George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford
- Raw text -