a sample of how to use the soundrtrack object in bgt to make songs
Hi,
Below I am releasing a sample of what I believe to be an underutilized feature of BGT, it's soundtrack and by extension tone synth objects.
These can be used to make songs that can be used in games and such for music, if written to wav files. Below I have released the song that I have made into tone synth. The song I made is called "daar doer in die bosveld" and will give you an indication of how the soundtrack object works.
#include "soundtrack.bgt"
void main()
{
soundtrack st;
st.add_channel("@4t160GG2FE2.C2.p2EF2Gq48Aq8p1p2p4AA2Fq48Dq8p1p2p4DD2Fq48Eq8p1p2p4GG2Fq48Eq8p1p2p4EF2Gq48Aq8p1p2p4AA2Fq48Dq8p1p2p4C+D2Eq48Cq8p1p2p4o3Go4EDCE2.C2.p2EE2Fq48Dq8p1p2p4o3Go4FEDF2.D2.p2FF2Gq48Eq8p1p2p4EEFGA2.A2.p2AA2A-q48Gq8p1p2p4EE2FD2o3Go4D2ED2C+D2Eq48Cq8p1p2p4p2p2G2.E2FG2.E2.D2.C+2DD2.p2p4F2.D2EF2.D2.F2.G2FE2EEFGA2.A-2AA2.F2AG2.F+2GG2.E2.D2.C+2DD2.G2FE2.D2ECo3Go4EDCE2.C2.p2EE2Fq48Dq8p1p2p4o3Go4FEDF2.D2.p2FF2Gq48Eq
8p1p2p4EEFGA2.A2.p2AA2A-q48Gq8p1p2p4EE2FD2o3Go4D2ED2C+D2Eq48Cq8");
st.write("daardoerindiebosveld.wav");
}
URL: http://forum.audiogames.net/viewtopic.php?pid=156855#p156855
_______________________________________________ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com http://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector