new samples - midi

Working on a theme for LMMS? Post progress and get feedback.
can you add midi samples to new lmms version?

my programm ... ator.html
samples ... mples.html

Code: Select all

public class Player {
   private MidiChannel[] channels = null;
    private Synthesizer synth = null;

    public Player() {
        try {
            synth = MidiSystem.getSynthesizer();
            channels = synth.getChannels();
        } catch (MidiUnavailableException ex) {
            Logger.getLogger(Player.class.getName()).log(Level.SEVERE, null, ex);

    public void close() {

    public void playSound(int instrument, int note,int vol) {

        channels[0].noteOn(note, vol);
        try {
            Thread.sleep(50 * 10);
        } catch (InterruptedException ex) {
            Logger.getLogger(Player.class.getName()).log(Level.SEVERE, null, ex);

padaboo wrote:
Wed Jan 09, 2019 9:58 am
can you add "midi samples" to new lmms version?
No, the codebase of LMMS is c++. It is not possible to add JAVA to the program. Also, if you want to participate with code, you need to get your own repository, and you can read all about connecting to the system here:

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 173 on Fri Apr 19, 2019 11:04 am

Users browsing this forum: No registered users and 2 guests