Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Jan 2004

    Sending realtime midi event


    For a J2ME software, it is easy to send MIDI events like "note on", "note off" or "program change" messages with a little piece of code :

    Player p = Manager.createPlayer(Manager.MIDI_DEVICE_LOCATOR);
    mControl = (MIDIControl) p.getControl("javax.microedition.media.control.MIDIControl");
    mControl.shortMidiEvent(MIDIControl.NOTE_ON | can, son, vol);
    mControl.shortMidiEvent(MIDIControl.NOTE_ON | can, son, 0);

    I don't want to play a midi file but I want to send midi events during the execution of my code (like playing a set of notes which are defined with my code)...

    Is a solution exists in Python to do the same things for S60 and particulary for Maemo 5 ?


  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Deva, Romania

    Re: Sending realtime midi event


    I don't know if such a thing can be done with Python for S60 or Maemo, but a Google search might help (this result seems promising). Also, if you're just looking to play tones, see this article.

Similar Threads

  1. Can I play a midi sound on 6030?
    By andybee8x in forum Mobile Java Media (Graphics & Sounds)
    Replies: 10
    Last Post: 2007-05-24, 10:47
  2. Message Sending failed !!!!!
    By ankushbabrekar in forum Symbian
    Replies: 3
    Last Post: 2007-03-23, 05:06
  3. Has anyone successfully used midi in a Symbian OS app?
    By numberOneRookie in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-03-06, 15:25
  4. Switch on event on Nokia 9500
    By acvwieringen in forum Symbian
    Replies: 2
    Last Post: 2005-02-04, 13:44
  5. Short MIDI Event control
    By jedg in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2004-10-04, 09:33

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts