{"id":2982,"date":"2017-08-09T14:54:23","date_gmt":"2017-08-09T13:54:23","guid":{"rendered":"http:\/\/olivier.hoarau.org\/?p=2982"},"modified":"2017-08-09T14:54:23","modified_gmt":"2017-08-09T13:54:23","slug":"launchpad-novation-mk2-et-linux","status":"publish","type":"post","link":"https:\/\/olivier.hoarau.org\/?p=2982","title":{"rendered":"Launchpad Novation MK2 et linux"},"content":{"rendered":"<p style=\"text-align: justify;\">Sous la pression de mon artiste de fille j&rsquo;ai achet\u00e9 un launchpad Novation MK2, il est certes fourni avec une version all\u00e9g\u00e9e de la suite logicielle d&rsquo;<a href=\"https:\/\/www.ableton.com\/\">Ableton<\/a>, mais mon objectif est quand m\u00eame de le faire fonctionner sous linux. Au fait un launchpad c&rsquo;est quoi ? C&rsquo;est une sorte de tablette g\u00e9n\u00e9ralement carr\u00e9e avec une matrice de boutons 8&#215;8 pour la MK2.\u00a0 Elle permet d&rsquo;associer un sample \u00e0 chaque bouton, de lancer des commandes pour contr\u00f4ler un mixer par exemple pour un travail de cr\u00e9ation ou de performance live. Des artistes comme Jain en sont friands, d&rsquo;ailleurs sur cette vid\u00e9o on peut la voir s&rsquo;en servir en live dans une version bien plus \u00e9volu\u00e9e que le MK2.<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/yKVPWRS0pbc\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p style=\"text-align: justify;\">Bref revenons \u00e0 Linux, <a href=\"https:\/\/www.giadamusic.com\/\">giada<\/a> et <a href=\"http:\/\/openavproductions.com\/luppp\/\">luppp<\/a> sont sans doute les logiciels qui se rapprochent le plus d&rsquo;Ableton, malheureusement pour l&rsquo;instant je n&rsquo;ai pas r\u00e9ussi \u00e0 les faire prendre en compte le launchpad Novation MK2. Seul le logiciel de DJ <a href=\"http:\/\/www.funix.org\/fr\/linux\/index.php?ref=mao#Mixxxx\">Mixxx<\/a> reconnait parfaitement le launchpad, mais son utilisation n&rsquo;est pas vraiment adapt\u00e9e au final et on lui pr\u00e9f\u00e8rera nettement un outil de console DJ classique.<\/p>\n<p style=\"text-align: justify;\"><a href=\"http:\/\/olivier.hoarau.org\/?attachment_id=2981\" rel=\"attachment wp-att-2981\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2981\" src=\"https:\/\/i0.wp.com\/olivier.hoarau.org\/wp-content\/uploads\/launchpad.jpg?resize=474%2C349\" alt=\"\" width=\"474\" height=\"349\" srcset=\"https:\/\/i0.wp.com\/olivier.hoarau.org\/wp-content\/uploads\/launchpad.jpg?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/olivier.hoarau.org\/wp-content\/uploads\/launchpad.jpg?resize=300%2C221&amp;ssl=1 300w, https:\/\/i0.wp.com\/olivier.hoarau.org\/wp-content\/uploads\/launchpad.jpg?resize=768%2C566&amp;ssl=1 768w, https:\/\/i0.wp.com\/olivier.hoarau.org\/wp-content\/uploads\/launchpad.jpg?w=948&amp;ssl=1 948w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/a>On trouvera des d\u00e9tails sur l&rsquo;installation du launchpad avec Mixxx sur la page <a href=\"http:\/\/www.funix.org\">Funix<\/a> sur l&rsquo;<a href=\"http:\/\/www.funix.org\/fr\/linux\/index.php?ref=ma\">installation des logiciels de Musique Assist\u00e9e par Ordinateur<\/a>.<\/p>\n<p><!--more--><\/p>\n<p style=\"text-align: justify;\">Cette derni\u00e8re page ne traite pas encore de l&rsquo;installation de <strong>giada<\/strong> et de <strong>luppp<\/strong> et encore moins de leur utilisation en attendant que j&rsquo;arrive \u00e0 les faire fonctionner avec le launchpad en attendant voil\u00e0 comment on les installe.<\/p>\n<p style=\"text-align: justify;\">Pour <a href=\"https:\/\/www.giadamusic.com\/\">giada<\/a>, on r\u00e9cup\u00e8rera d&rsquo;abord <a href=\"https:\/\/www.music.mcgill.ca\/~gary\/rtmidi\/\">rtmidi<\/a> qui est une API pour g\u00e9rer des entr\u00e9es\/sorties <strong>MIDI<\/strong> temps r\u00e9el qu&rsquo;on d\u00e9compresse en tapant:<\/p>\n<p><strong>tar xvfz rtmidi-2.1.1.tar.gz<\/strong><\/p>\n<p>cela donne le r\u00e9pertoire<strong> rtmidi-2.1.1<\/strong> dans lequel on tape<\/p>\n<p><strong>.\/configure<\/strong><br \/>\n<strong> make<\/strong><\/p>\n<p>puis en tant que root<\/p>\n<p><strong>make install<\/strong><br \/>\n<strong> ldconfig<\/strong><\/p>\n<p style=\"text-align: justify;\">On installe maintenant <a href=\"http:\/\/www.digip.org\/jansson\/\">Jansson<\/a> qui est une biblioth\u00e8que<strong> C<\/strong> pour manipuler des donn\u00e9es <strong>JSON<\/strong> (qui est une format d&rsquo;\u00e9criture de donn\u00e9es en <strong>JavaScript<\/strong>). On d\u00e9compresse l&rsquo;archive en tapant:<\/p>\n<p><strong>tar xvfz jansson-2.10.tar.gz<\/strong><\/p>\n<p>cela donne le r\u00e9pertoire<strong> jansson-2.10<\/strong> dans lequel on tape<\/p>\n<p>.<strong>\/configure<\/strong><br \/>\n<strong> make<\/strong><\/p>\n<p>puis en tant que root <strong>make install<\/strong><\/p>\n<p>On en vient enfin \u00e0 <a href=\"https:\/\/www.giadamusic.com\/\">giada<\/a> dont on d\u00e9compresse l&rsquo;archive en tapant<\/p>\n<p><strong>tar xvfz giada-0.14.1-src.tar.gz<\/strong><\/p>\n<p>cela donne le r\u00e9pertoire <strong>giada-0.14.1-src<\/strong> dans lequel on tape<\/p>\n<p><strong>.\/configure &#8211;target=linux &#8211;enable-vst<\/strong><br \/>\n<strong> make<\/strong><\/p>\n<p>je suis tomb\u00e9 sur cette erreur<\/p>\n<p><strong>cc1plus: erreur\u00a0: -Werror=misleading-indentation: no option -Wmisleading-indentation<\/strong><\/p>\n<p>on\u00a0 \u00e9dite le <strong>Makefile<\/strong> et on supprime les mentions \u00e0 <strong>-Werror=misleading-indentation<\/strong><\/p>\n<p>on retape <strong>make<\/strong> puis <strong>make install<\/strong> en tant que root.<\/p>\n<p style=\"text-align: justify;\">Pour les plugins <strong>VST<\/strong> reconnus par <strong>giada<\/strong>, rappelons juste qu&rsquo;ils fournissent des fonctions de conversion de donn\u00e9es audio et <strong>MIDI<\/strong> en temps r\u00e9el, on pourra en r\u00e9cup\u00e9rer \u00e0 cette <a href=\"http:\/\/www.gvst.co.uk\/portpage.htm\">adresse<\/a>. On d\u00e9zippe l&rsquo;archive <strong>AllGVSTLinux64Beta.zip<\/strong> sous <strong>\/usr\/local\/share\/vst<\/strong> (par exemple) qu&rsquo;on devra indiquer \u00e0 <strong>giada<\/strong> dans la fen\u00eatre de configuration. Voil\u00e0 ce que \u00e7a donne en lan\u00e7ant <strong>giada<\/strong><\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-singlepic\" src=\"https:\/\/i0.wp.com\/www.funix.org\/fr\/linux\/images\/mao\/launchpad\/giada.jpg?resize=474%2C204\" width=\"474\" height=\"204\" \/><\/p>\n<p><strong>giada<\/strong> maintient <a href=\"https:\/\/www.youtube.com\/channel\/UCAAZJ9SX0RZ9AiAToF6ebjA\">une page youtube<\/a> avec d&rsquo;excellents tutorials, voil\u00e0 une d\u00e9mo.<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/HnwFLpd-gvo\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p style=\"text-align: justify;\">En ce qui concerne <a href=\"http:\/\/openavproductions.com\/luppp\/\">luppp<\/a> il y a \u00e9galement quelques pr\u00e9requis, on installera d&rsquo;abord <a href=\"http:\/\/openavproductions.com\/artyfx\/\">ArtyFX<\/a> qui est un plugin graphique d&rsquo;effets audio divers. Apr\u00e8s avoir install\u00e9 pr\u00e9alablement le package <strong>xterm<\/strong>, on d\u00e9compresse l&rsquo;archive en tapant:<\/p>\n<p><strong>tar xvfz openAV-ArtyFX-release-1.3.tar.gz<\/strong><\/p>\n<p style=\"text-align: justify;\">cela donne le r\u00e9pertoire <strong>openAV-ArtyFX-release-1.3<\/strong> dans lequel on tape:<\/p>\n<p><strong>mkdir build<\/strong><br \/>\n<strong> cd build<\/strong><br \/>\n<strong> cmake ..<\/strong><br \/>\n<strong> make<\/strong><\/p>\n<p>puis en tant que root<\/p>\n<p><strong>make install<\/strong><\/p>\n<p>on installe maintenant <a href=\"http:\/\/drobilla.net\/software\/jalv\">Jalv<\/a> qui est une interface aux plugins d&rsquo;effets audio au standard <strong>LV2<\/strong>. On d\u00e9compresse l&rsquo;archive en tapant :<\/p>\n<p><strong>tar xvfj jalv-1.6.0.tar.bz2<\/strong><\/p>\n<p>cela donne le r\u00e9pertoire<strong> jalv-1.6.0<\/strong> dans lequel on tape:<\/p>\n<p><strong>.\/waf configure\u00a0 -no-qt5<\/strong><br \/>\n<strong>.\/waf<\/strong><\/p>\n<p>j&rsquo;ai droit \u00e0 l&rsquo;erreur suivante<\/p>\n<p><strong>\/usr\/include\/c++\/5.4.0\/bits\/c++0x_warning.h:32:2: erreur\u00a0: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.<\/strong><\/p>\n<p>on \u00e9dite le fichier <strong>build\\c4cache\\_cache.py<\/strong> et on rajoute l&rsquo;option qui va bien tout \u00e0 la fin de la ligne suivante:<\/p>\n<p><strong>CXXFLAGS = [&lsquo;-I\/usr\/local\/linux\/multimedia\/jalv-1.6.0&rsquo;, &lsquo;-DNDEBUG&rsquo;, &lsquo;-fshow-column&rsquo; , &lsquo;-std=c++11&rsquo;]<\/strong><\/p>\n<p>On retape<strong> .\/waf<\/strong> puis en tant que root <strong>.\/waf install<\/strong><\/p>\n<p style=\"text-align: justify;\">On installe maintenant la biblioth\u00e8que graphique <a href=\"http:\/\/non.tuxfamily.org\/wiki\/NTK\">NTK<\/a> (Non Tool Kit) bas\u00e9e sur <strong>Cairo<\/strong>. On la r\u00e9cup\u00e8re en tapant<\/p>\n<p><strong>git clone git:\/\/git.tuxfamily.org\/gitroot\/non\/fltk.git ntk<\/strong><\/p>\n<p>dans le r\u00e9pertoire <strong>ntk<\/strong> on tape successivement<\/p>\n<p><strong>.\/waf configure<\/strong><br \/>\n<strong>.\/waf<\/strong><\/p>\n<p>puis en tant que root<\/p>\n<p><strong>.\/waf install<\/strong><\/p>\n<p>On passe enfin \u00e0 <strong>luppp<\/strong>, on d\u00e9compresse l&rsquo;archive en tapant<\/p>\n<p><strong>tar xvfz openAV-Luppp-release-1.1.1.tar.gz<\/strong><\/p>\n<p>cela donne le r\u00e9pertoire <strong>openAV-Luppp-release-1.1.1<\/strong> dans lequel on tape:<\/p>\n<p><strong>build\/compile.sh<\/strong><\/p>\n<p>on y est presque ! <strong>E<\/strong>n tapant <strong>lv2ls<\/strong> on voit tout \u00e0 la fin nos plugins <strong>LV2<\/strong> rajout\u00e9s par <strong>ArtyFX<\/strong><\/p>\n<p><strong>http:\/\/www.openavproductions.com\/artyfx#bitta<\/strong><br \/>\n<strong> http:\/\/www.openavproductions.com\/artyfx#della<\/strong><br \/>\n<strong> http:\/\/www.openavproductions.com\/artyfx#ducka<\/strong><br \/>\n<strong> http:\/\/www.openavproductions.com\/artyfx#filta<\/strong><br \/>\n<strong> http:\/\/www.openavproductions.com\/artyfx#kuiza<\/strong><br \/>\n<strong> http:\/\/www.openavproductions.com\/artyfx#masha<\/strong><br \/>\n<strong> http:\/\/www.openavproductions.com\/artyfx#panda<\/strong><br \/>\n<strong> http:\/\/www.openavproductions.com\/artyfx#roomy<\/strong><br \/>\n<strong> http:\/\/www.openavproductions.com\/artyfx#satma<\/strong><br \/>\n<strong> http:\/\/www.openavproductions.com\/artyfx#vihda<\/strong><br \/>\n<strong> http:\/\/www.openavproductions.com\/artyfx#whaaa<\/strong><\/p>\n<p>On lance le plugin <strong>roomy<\/strong> en tapant dans un shell<\/p>\n<p><strong>jalv.gtk http:\/\/www.openavproductions.com\/artyfx#roomy<\/strong><\/p>\n<p>voil\u00e0 le r\u00e9sultat<\/p>\n<p><strong>Plugin:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 http:\/\/www.openavproductions.com\/artyfx#roomy<\/strong><br \/>\n<strong> UI:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 http:\/\/www.openavproductions.com\/artyfx#roomy\/gui<\/strong><br \/>\n<strong> JACK Name:\u00a0\u00a0\u00a0 Roomy<\/strong><br \/>\n<strong> Sample rate:\u00a0 48000 Hz<\/strong><br \/>\n<strong> Block length: 1024 frames<\/strong><br \/>\n<strong> MIDI buffers: 32768 bytes<\/strong><br \/>\n<strong> Comm buffers: 524288 bytes<\/strong><br \/>\n<strong> Update rate:\u00a0 25,0 Hz<\/strong><\/p>\n<p><strong>JACK Name:\u00a0\u00a0\u00a0 Roomy<\/strong><br \/>\n<strong> time\u00a0\u00a0\u00a0\u00a0\u00a0 = 0,500000<\/strong><br \/>\n<strong> damping\u00a0\u00a0 = 0,500000<\/strong><br \/>\n<strong> dry_wet\u00a0\u00a0 = 0,500000<\/strong><\/p>\n<p>et on lance alors <strong>luppp<\/strong><\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-singlepic\" src=\"https:\/\/i0.wp.com\/www.funix.org\/fr\/linux\/images\/mao\/launchpad\/luppp.jpg?resize=474%2C311\" width=\"474\" height=\"311\" \/><\/p>\n<p style=\"text-align: justify;\">A noter qu&rsquo;il existe un s\u00e9lecteur de plugin <strong>LV2<\/strong> \u00e0 cette <a href=\"https:\/\/github.com\/brummer10\/jalv_select\">adresse<\/a> qu&rsquo;on installe assez simplement par un <strong>make\/make<\/strong> install. Quant \u00e0 la d\u00e9monstration de luppp, voil\u00e0 ce que \u00e7a peut donner :<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/AcIuKktCaLg\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p style=\"text-align: justify;\">Maintenant il me reste \u00e0 faire fonctionner <a href=\"https:\/\/www.giadamusic.com\/\">giada<\/a> et <a href=\"http:\/\/openavproductions.com\/luppp\/\">luppp<\/a> avec le launchpad Novation MK2, m\u00eame si c&rsquo;est tr\u00e8s peu document\u00e9 sur le net, il semblerait que \u00e7a soit possible. Je ne manquerai pas \u00e0 ce moment d&rsquo;en faire profiter la communaut\u00e9.<\/p>\n<p style=\"text-align: justify;\">J&rsquo;en profite pour signaler que j&rsquo;ai mis \u00e0 jour la <a href=\"http:\/\/funix.org\/fr\/linux\/index.php?ref=mao\">page sur l&rsquo;installation des logiciels de musique assist\u00e9e par ordinateur (MAO)<\/a> avec notamment le passage \u00e0 <strong>Ardour 5.10.0<\/strong> et <strong>Rosegarden 17.04<\/strong>.<\/p>\n<div><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sous la pression de mon artiste de fille j&rsquo;ai achet\u00e9 un launchpad Novation MK2, il est certes fourni avec une version all\u00e9g\u00e9e de la suite logicielle d&rsquo;Ableton, mais mon objectif est quand m\u00eame de le faire fonctionner sous linux. Au fait un launchpad c&rsquo;est quoi ? C&rsquo;est une sorte de tablette g\u00e9n\u00e9ralement carr\u00e9e avec une &hellip; <a href=\"https:\/\/olivier.hoarau.org\/?p=2982\" class=\"more-link\">Continuer la lecture de <span class=\"screen-reader-text\">Launchpad Novation MK2 et linux<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_share_on_mastodon":"0"},"categories":[5,12,10],"tags":[],"class_list":["post-2982","post","type-post","status-publish","format-standard","hentry","category-logiciels-libres","category-vie-de-funix","category-vie-de-mes-sites"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/peOjJ-M6","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=\/wp\/v2\/posts\/2982","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2982"}],"version-history":[{"count":1,"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=\/wp\/v2\/posts\/2982\/revisions"}],"predecessor-version":[{"id":2983,"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=\/wp\/v2\/posts\/2982\/revisions\/2983"}],"wp:attachment":[{"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2982"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2982"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/olivier.hoarau.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}