Package vavi.sound.mfi

Examples of vavi.sound.mfi.MfiEvent


        function.setSamplingBits(bits);
        function.setContinued(continued);
        function.setLength(length);
        function.setAdpcm(adpcm);
        message.setMessage(0x00, function.getMessage());
        return new MfiEvent(message, 0l);
    }
View Full Code Here


        MachineDependMessage message = new MitsubishiMessage();
        Function129 function = new Function129();
        function.setChannel(channel);
        function.setVolume(realAdpcmVolume);
        message.setMessage(0x00, function.getMessage());
        return new MfiEvent(message, 0l);
    }
View Full Code Here

        MachineDependMessage message = new MitsubishiMessage();
        Function130 function = new Function130();
        function.setChannel(channel);
        function.setPanpot(pan);
        message.setMessage(0x00, function.getMessage());
        return new MfiEvent(message, 0l);
    }
View Full Code Here

            return null;
        }
        MfiEvent[] mfiEvents = new MfiEvent[nopLength];
        for (int i = 0; i < nopLength; i++) {
            NopMessage mfiMessage = new NopMessage(255, 0);
            mfiEvents[i] = new MfiEvent(mfiMessage, 0l);    // TODO 0l
            // 255 �� �����ɂ��炵�Ă���
            incrementPreviousTick(mfiTrackNumber, Math.round(255 * scale));
        };

//Debug.println(nopLength + " nops inserted");
View Full Code Here

        // 0x83 �v�� 16kHz, 4bit mono �̎� = 4, 8kHz, 4bit mono �̎��� 2
        function.setMaxParallel(sampleRate * (bits / 2) * channels); // TODO bit �K��
        // 0x8B �v�� 16kHz, 4bit mono �̎� = 4, 8kHz, 4bit mono �̎��� 2
        function.setMaxParallelCue(sampleRate * (bits / 2) * channels); // TODO bit �K��
        message.setMessage(0x00, function.getMessage());
        return new MfiEvent(message, 0l);
    }
View Full Code Here

                mfiMessage.setVelocity(data2 / 2);
if (length >= 255) {
Debug.println(channel + "ch, " + mfiMessage.getNote() + ", " + mfiMessage.getDelta() + ":[" + i + "]:" + (i == onLength - 1 ? length % 255 : 255) + "/" + length);
}
//Debug.println(channel + ", " + mfiMessage.getVoice() + ", " + ((mfiMessage.getMessage()[1] & 0xc0) >> 6));
                mfiEvents[i] = new MfiEvent(mfiMessage, 0l); // TODO 0l
//if (mfiEvents[i] == null) {
// Debug.println("[" + i + "]: " + mfiEvents[i]);
//}

                if (i == 0) {
View Full Code Here

        MetaMessage metaMessage = (MetaMessage) midiEvent.getMessage();

        CopyMessage mfiMessage = new CopyMessage(MidiUtil.getDecodedMessage(metaMessage.getMessage()));

        return new MfiEvent[] {
            new MfiEvent(mfiMessage, midiEvent.getTick())
        };
    }
View Full Code Here

        MetaMessage metaMessage = (MetaMessage) midiEvent.getMessage();

        TitlMessage mfiMessage = new TitlMessage(MidiUtil.getDecodedMessage(metaMessage.getMessage()));

        return new MfiEvent[] {
            new MfiEvent(mfiMessage, midiEvent.getTick())
        };
    }
View Full Code Here

        MetaMessage metaMessage = (MetaMessage) midiEvent.getMessage();

        ProtMessage mfiMessage = new ProtMessage(MidiUtil.getDecodedMessage(metaMessage.getMessage()));

        return new MfiEvent[] {
            new MfiEvent(mfiMessage, midiEvent.getTick())
        };
    }
View Full Code Here

        context.setPreviousTick(track, midiEvent.getTick());
//Debug.println(channel + ": " + StringUtil.toHex2(data1) + ", " + StringUtil.toHex2(changeVoiceMessage.getProgram()) + ", " + changeBankMessage.getBank());

        return new MfiEvent[] {
            new MfiEvent(changeBankMessage, midiEvent.getTick()),
            new MfiEvent(changeVoiceMessage, midiEvent.getTick())
        };
    }
View Full Code Here

TOP

Related Classes of vavi.sound.mfi.MfiEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.