Thanks Scorpius, it worked

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
first of all put this at the beginning of the script:
int fade_switch=0, timer=0, music, mp3pos,vol;
then import the same variables into the haeder.
put this into repeatedly_execute:
if (fade_switch==1) {
timer++;
if (timer<=100) {
SetMusicMasterVolume(100-timer);}
if (timer>100){
if (timer<=150){
SetDigitalMasterVolume(100-(timer-100));
mp3pos=GetMP3PosMillis();}
if (timer==151) {
SetMusicVolume(-2);
PlayMusic(music);
SeekMP3PosMillis(mp3pos);}
if (timer>151){
if (timer<=200){
SetDigitalMasterVolume(50+(timer-150));}
if (timer>200){
if (timer<=300){
SetMusicMasterVolume(0+(timer-200));}
if (timer==310) {
SetMusicVolume(-1);}
if (timer==320) {
SetMusicVolume(0);}
if (timer>320) {
fade_switch=0;
timer=0;}
iPos=GetMP3PosMillis(); // music1 is playing
SetMusicRepeat(0);
PlayMusic(3); // the blank midi
SetMusicRepeat(1);
PlayMusicQueued(2);
SeekMP3PosMillis(iPos);
Quote from: Nikolas on Mon 31/10/2005 12:46:29
You could keep this track in MP3 format and have another "empty" track in WAv form. The second WAV form could be only one bar. This way you wouldn't need to track the MP3 or make it into WAV, thus wasting space and quality
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.059 seconds with 16 queries.