<commit_before>import Vexflow from "../vexflow/Vexflow";
import Notes from "../vexflow/Notes";
import Props from "../shared/Props";
import Scale from "../vexflow/Scale";

export default class Montuno extends Props {
    render() {
        const scale = new Scale({ key: "G#m" });
        console.log(scale.get(), scale.note("1/4"), scale.note("5/4"));

        const notes = new Notes().pushAll(
            { keys: "g/4", duration: 4, articulation: "^^" },
            { keys: "d/4", duration: 8, tie: 1 },
            { keys: "g/4" },
            { keys: "f#/4", tie: 1 },
            { keys: "d/5", articulation: ">" },
            { keys: "r" },
            { keys: "d/4" },
            { keys: "r" },
            { keys: "fn/4" },
            { keys: "r" },
            { keys: "d/4" },
            { keys: "r" },
            { keys: "e/4", articulation: "." },
            { keys: "f/4", articulation: "." },
            { keys: "f#/4.", articulation: "." }
        );


        new Vexflow()
            .set({ canvas: this.props.element })
            .set({ key: scale.getKey() })
            .set({ notes })
            .render();
    }
}<commit_msg>change default key<commit_after>import Vexflow from "../vexflow/Vexflow";
import Notes from "../vexflow/Notes";
import Props from "../shared/Props";
import Scale from "../vexflow/Scale";

export default class Montuno extends Props {
    render() {
        const scale = new Scale({ key: "Gm" });
        console.log(scale.get(), scale.note("1/4"), scale.note("5/4"));

        const notes = new Notes().pushAll(
            { keys: "g/4", duration: 4, articulation: "^^" },
            { keys: "d/4", duration: 8, tie: 1 },
            { keys: "g/4" },
            { keys: "f#/4", tie: 1 },
            { keys: "d/5", articulation: ">" },
            { keys: "r" },
            { keys: "d/4" },
            { keys: "r" },
            { keys: "fn/4" },
            { keys: "r" },
            { keys: "d/4" },
            { keys: "r" },
            { keys: "e/4", articulation: "." },
            { keys: "f/4", articulation: "." },
            { keys: "f#/4.", articulation: "." }
        );


        new Vexflow()
            .set({ canvas: this.props.element })
            .set({ key: scale.getKey() })
            .set({ notes })
            .render();
    }
}
{'fraction_non_alphanumeric': 0.20611015490533563, 'fraction_numerical': 0.016351118760757316, 'mean_word_length': 1.5189599133261105, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '86702', 'n_tokens_mistral': 770, 'n_tokens_neox': 738, 'n_words': 182}