Jump to content
View in the app

A better way to browse. Learn more.

Forum Supreme-Elite

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Si vous êtes musicien et que vous souhaitez mettre en ligne des partitions ou des tablatures, il existe une bibliothèque JavaScript capable de générer du HTML5 + des SVG à insérer dans vos pages.

Cette bibliothèque s'appelle VexFlow et à partir d'un bout de code comme celui-ci

var canvas = $("div.two div.a canvas")[0];var renderer = new Vex.Flow.Renderer(canvas,Vex.Flow.Renderer.Backends.CANVAS); var ctx = renderer.getContext();var stave = new Vex.Flow.Stave(10, 0, 500);stave.addClef("treble").setContext(ctx).draw(); // Create the notesvar notes = [// A quarter-note C.new Vex.Flow.StaveNote({ keys: ["c/4"], duration: "q" })// A quarter-note D.new Vex.Flow.StaveNote({ keys: ["d/4"], duration: "q" })// A quarter-note rest. Note that the key (b/4) specifies the vertical// position of the rest.new Vex.Flow.StaveNote({ keys: ["b/4"], duration: "qr" })// A C-Major chord.new Vex.Flow.StaveNote({ keys: ["c/4", "e/4", "g/4"], duration: "q" })]; // Create a voice in 4/4var voice = new Vex.Flow.Voice({num_beats: 4,beat_value: 4,resolution: Vex.Flow.RESOLUTION}); // Add notes to voicevoice.addTickables(notes); // Format and justify the notes to 500 pixelsvar formatter = new Vex.Flow.Formatter().joinVoices([voice]).format([voice], 500); // Render voicevoice.draw(ctx, stave);

On peut obtenir ceci :

http://korben.info/wp-content/uploads/2014/02/vexflow.jpg

Le tuto est ici et la sandbox pour vous exercer avec le code se trouve ici.

Si vous êtes développeur, toute la doc se trouve ici. Par contre, si vous êtes un simple utilisateur qui souhaite publier ses partitions, vous pouvez utiliser ce service dérivé.

Autrement, si c'est la guitare qui vous branche, vous pouvez en générer avec Vextab qui lit le code Vexflow pour produire des tablatures.

Source

Cet article merveilleux et sans aucun égal intitulé : Générer des partitions en HTML5 + SVG avec cette bibliothèque Javascript ; a été publié sur Korben, le seul site qui t'aime plus fort que tes parents.

http://feeds.feedburner.com/~r/KorbensBlog-UpgradeYourMind/~4/vyYgxgGg2pg

Voir l'article complet

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.