×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Jan 2004
    Posts
    125

    QTQuick - QML - Javascript - Midi

    Hi,

    I am very interested to make a program (for Symbian^3) using QTQuick and particulary Javascript and QML (but not C++)...

    Is it possible to send real time midi events (like "note on" / "program change") with only Javascript ? Is a Javascript library is included into QtQuick to play with realtime midi (not just playing a midi file) ?

    With J2ME it is possible so with QtQuick ?

    Thanks

  2. #2
    Registered User
    Join Date
    May 2009
    Location
    Rome
    Posts
    268

    Re: QTQuick - QML - Javascript - Midi

    Quote Originally Posted by frasene View Post
    Hi,

    I am very interested to make a program (for Symbian^3) using QTQuick and particulary Javascript and QML (but not C++)...

    Is it possible to send real time midi events (like "note on" / "program change") with only Javascript ? Is a Javascript library is included into QtQuick to play with realtime midi (not just playing a midi file) ?

    With J2ME it is possible so with QtQuick ?

    Thanks
    Having worked strongly for more than ten year on coding midi/audio sequencer software on Win32 ,let me say there is not chance to build realtime midi playing by javascript .. i mean realtime ... you can send single message , if you like , for example click a button in Qml , route the event Qt multimedia layer , and send the message to the midi output will work with some latence , of course you cannot play Chopin midifile
    Keep it simple, stupid
    borg - http://store.ovi.com/content/116105

  3. #3
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: QTQuick - QML - Javascript - Midi

    QML also provide Audio element to play audio file under Multimedia QML Plugin. QML elements are nothing but the wrapper on qt and Symbian. You can also write your own wrapper to do so.
    Use [URL="http://qt.nokia.com/products/qt-quick/"]Qt-Quick[/URL] to make your application UI more attractive.

    [URL="http://store.ovi.com/content/271896"]http://store.ovi.com/content/271896[/URL] | [URL="http://store.ovi.com/content/276199"]http://store.ovi.com/content/276199[/URL] |[URL="http://store.ovi.com/content/276202"] http://store.ovi.com/content/276202[/URL] | [URL="http://store.ovi.com/content/280827"]http://store.ovi.com/content/280827[/URL]

  4. #4
    Regular Contributor
    Join Date
    Jan 2004
    Posts
    125

    Re: QTQuick - QML - Javascript - Midi

    Thanks for your answers and advices...

    My purpose is just to play scales and chords like doing eartraining things...

    So no javascript library to send note on midi event... So I have to write I suppose a library in C++ used in javascript... In C++, does a library exist to control midi synth ?

    Bye

Similar Threads

  1. Screen Capture javascript in QML
    By VVNart in forum [Archived] Qt Quick
    Replies: 1
    Last Post: 2011-05-21, 08:06
  2. Javascript and HTML in QML
    By somnathbanik in forum [Archived] Qt Quick
    Replies: 7
    Last Post: 2011-04-13, 17:23
  3. QtQuick/QML or Native
    By bluechrism in forum [Archived] Qt Quick
    Replies: 1
    Last Post: 2011-02-27, 22:26

Posting Permissions

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