From 4ce130d6941028905976bdb1e5530ad4c63fc6c4 Mon Sep 17 00:00:00 2001 From: Yinan Zhou Date: Wed, 15 May 2024 11:58:07 -0400 Subject: [PATCH] Update explanation for mei conversion --- src/utils/ConvertMei.ts | 36 +++--------------------------------- 1 file changed, 3 insertions(+), 33 deletions(-) diff --git a/src/utils/ConvertMei.ts b/src/utils/ConvertMei.ts index 5a647ef5..cced2cb6 100644 --- a/src/utils/ConvertMei.ts +++ b/src/utils/ConvertMei.ts @@ -2,39 +2,9 @@ import { uuidv4 } from './random'; import * as vkbeautify from 'vkbeautify'; import * as Notification from '../utils/Notification'; -// Note: -// The file sent to Verovio has the following structure (ConvertToVerovio()): -// /score -// /section -// /pb -// /section@type="neon-neume-line" (i.e., measure) -// /staff -// /layer -// /sb -// /section@type="neon-neume-line" (i.e., measure) -// /staff -// /layer -// -// Verovio will read the resulting file into the following structure (inside Verovio): -// /score -// /system -// /secb -// /section@type="neon-neume-line" (i.e., measure) -// /staff -// /system -// /section@type="neon-neume-line" (i.e., measure) -// /staff -// -// The file received needs to be converted back to the following structure (ConvertToNeon()): -// /section -// /staff -// /layer -// /pb -// /sb -// /staff children -// /sb -// /staff children - +// For details about the file conversion, +// refer to this link: +// https://github.com/DDMAL/Neon/wiki/Neon%E2%80%90Verovio-File-Conversion export function zip (array1: Array, array2: Array): Array { const result = [];