Giter VIP home page Giter VIP logo

bagpipe-scores's People

Contributors

ggracieux avatar

bagpipe-scores's Issues

Grace note convertion problem

Expected behavior

During Txt to Lilypond convertion, all notes of a grace note section should be converted into it's Lilypond counterpart only once.

Actual behavior

The first note of a grace note section is converted twice.

Make all user content downloadable

Expected behavior

All user content stored in cnb-editor component should be downloadable

  • User input data (CnbEditorComponent.dataCnb)
  • Lilypond data (CnbEditorComponent.dataLp)
  • PDF file (CnbEditorComponent.dataBase64Pdf)
  • MIDI file (CnbEditorComponent.dataBase64Midi)
  • MP3 file (CnbEditorComponent.dataBase64Mp3)

Actual behavior

No content downloadable

Steps to reproduce the problem

  1. Run cornpart with external API's
  2. Generate PDF and MP3 from the upper right menu
  3. No download

Add syntax highlighting in ace editor

Expected behavior

Syntax highlight for the different musical tokens

Actual behavior

No highlight

Steps to reproduce the problem

Run cornpart

Possible implementation

Test following file with Ace Mode Creator

define(function(require, exports, module) {
"use strict";

var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;

var CnbHighlightRules = function() {
   
    this.$rules = {
        "start" : [
            {token: "ornement", regex: /\(([^()]+)\)/ },
            {token: "tempo", regex: /\[[0-9]*\/[0-9]*\]/ },
            {token: "variable", regex: /\[[^\[\]\=]+=[^\[\]\=]+\]/ },
            {token: "note", regex: /(si|la|sol|fa|mi|re|do|SI|LA)(0|2|4|8|16|32|){0,1}(\.)*/ },
            {token: "liaison", regex: /-/},
            {token: "linebreak", regex: /\|/},
            {token: "repeatBlock", regex: /\R([0-9]){0,}\{/},
            {token: "endBlock", regex: /}/},
            {token: "anacrouse", regex: /@([0-9]){1,3}/},
            {token: "silence", regex: /\=/},
            {token: "altBlock", regex: /\A\{/},
            {token: "info", regex: /\".*\"/},
            {token: "nolet", regex: /N[0-9]*\/[0-9]*\{/}
        ]

    };
};
oop.inherits(CnbHighlightRules, TextHighlightRules);

exports.CnbHighlightRules = CnbHighlightRules;
});

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.