Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

notula

Latest version: v0.8.2

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: catoarcus
0 Stars
0 Forks
5 Versions
TypeScript Repo language

Scan summary

notula was last scanned on 29 Nov 2026 at version 0.8.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 5 versions, all published on 29 Nov 2026.
  • Findings: No rules fired in version 0.8.2.

Versions

5 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.8.2 LATEST 29 Nov 2026 No rules fired
0.8.1 29 Nov 2026 No rules fired
0.8.0 29 Nov 2026 No rules fired
0.7.0 29 Nov 2026 Not shown
0.0.0-stage 29 Nov 2026 Not shown

No rules fired in 0.8.2

Findings

Findings for v0.8.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.8.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Notula 将短小的乐谱片段渲染为 SVG,可嵌入网页和 Markdown。

本地 Playground · 语法 · 集成 · llms.txt · English

贝多芬《C 小调第八钢琴奏鸣曲〈悲怆〉》,Op. 13,第一乐章 Grave,第 1 至 4 小节。 布赖特科普夫与黑特尔,莱比锡,1862 年,第 121 页

\grandStaff {
  \staff {
    \clef treble \key c \minor \time C
    <ees g c'>4\fp~ <ees g c'>16.[ <g c' g'>32 <g b d'>16. <g c' ees'>32]
    <a! c' ees'>4( <b d'>8) r8 |
    <b! d' f'>4\fp~ <b d' f'>16.[ <b d' f'>32 <b d' g'>16. <b d' aes'>32]
    <b d' aes'>4( <c' ees' g'>8) r8 | \break
    <fis' a'! c''>4\fp~ <fis' a' c''>16.[ <fis' a' c''>32
    <fis' a' d''>16. <fis' a' ees''>32]
    <fis' a' ees''>4\sf( <d' g' d''>16-.) r32
    <fis' a' c''>32[ <fis' a' d''>16. <fis' a' ees''>32] |
    <fis' a'! ees''>4\sf\>( <d' g' d''>8\p\<[-. <g' c'' e''!>8]
    <aes' c'' f''!>8[)-. aes''8\sf]\!~
    aes''32[ g''64( aes'' bes'' aes'' g'' f'']
    ees''!64[ d'' c'' bes']
    \tuplet 9/8 { aes'128[ g' f' ees' d' f' aes' f' d']) } |
  }
  \staff {
    \clef bass \key c \minor \time C
    <c, ees, g, c>4~ <c, ees, g, c>16.[ ees32 d16. c32]
    fis4( g8) r16. aes,!32 |
    aes4~ aes16.[ aes32 g16. f!32] ees4~ ees8 r16. ees32 | \break
    ees'4~ ees'16.[ ees'32 d'16. c'32]
    c'4( b16-.) r32 ees'32[ d'16. c'32] |
    c'4( b8[ <bes c' e'!>8] <aes! c' f'!>8)-. r8 <bes,, bes,>4\sf |
  }
}

快速开始

Notula 发布到 npm 后,在项目中运行以下命令。

npm install notula

也可从仓库打包并在本地安装。

import { renderToString } from 'notula';
import { playScore } from 'notula/audio';

const source = String.raw`\clef treble \time 3/4 c'4 e' g' | c''2. |.`;
const svg = renderToString(source);

// 在浏览器中由点击等用户操作触发播放。
playScore(source, { bpm: 96 });

导入 notula 与渲染 SVG 保持 100% 纯离线零请求。零运行时依赖的 notula/audio 入口在 play() 时默认启用按需采样施坦威大钢琴(sound: 'grand'),仅按当前谱例实际音高与力度从 smpldsnds.github.io 拉取公版采样;若断网、被 CSP 拦截或超过 2.5 秒超时,自动静默回退至内置离线 Felt Piano(弱音毡钢琴) 合成器(带 60 秒失败熔断冷却)。传入 { sound: 'felt' } 可强制纯离线播放,传入 { sampleBaseUrl } 可切自托管或镜像 CDN,传入 { sampleFetcher } / { backend } 可定制传输层或音源后端。集成指南

本地 Playground

在仓库目录中运行以下命令,然后打开终端显示的地址。

npm ci && npm run dev

Playground 默认使用 Grand Piano (smplr)。渲染和编辑乐谱时不会请求音频采样。点击 Play 后,才会按需从 smpldsnds.github.io 下载属于公有领域的施坦威钢琴采样。加载失败或达到 2.5 秒超时后,播放器自动使用内置音源并显示 Offline fallback。可在音源菜单中一键切换至 Built-in Piano (Offline)。

使用 Node.js 22.18 或更新版本时,可在 npm run build:lib 后运行 npm run docs:assets,重新生成预览和页首图标。

Obsidian 播放

Obsidian 插件默认使用 Grand piano (smplr),仅在点击 Play 时按需下载采样。加载失败或达到 2.5 秒超时后自动切换到离线音源。可在 Sound source 中选择 Built-in synth (offline),在单个谱例的工具栏选择 Synth,或在代码块首行添加 % notula: sound=builtin。工具栏的 Export image 菜单提供 Copy PNG、Save PNG (2×) 和 Save SVG。插件指南与联网说明

密集和弦

拉赫玛尼诺夫《升 C 小调前奏曲》,Op. 3 No. 2,Tempo primo 开头四小节。原版为四谱表,此处为双谱表钢琴缩编谱,踏板标记由编者添加。 古特海尔,莫斯科,1893 年版后印本,第 4 至 5 页

\grandStaff {
  \staff {
    \clef treble \key cis \minor \time C
    << {
      r8 <cis'' e'' gis'' cis'''>8\fff[-> <e'' gis'' b'' e'''>->
      <dis'' fisis'' ais'' dis'''>]-> r8 <d'' fis'' bis'' d'''>8-> r8 <bis' dis'' fis'' bis''!>8-> |
      r8 <cis'' e'' gis'' cis'''>8\sffff[-> <e'' gis'' b'' e'''>->
      <dis'' fisis'' ais'' dis'''>]-> r8 <d'' fis'' bis'' d'''>8-> r8 <bis' dis'' fis'' bis''!>8-> | \break
      r8 <cis'' e'' gis'' cis'''>8[-> <gis'' cis''' gis'''>-> <fis'' cis''' fis'''>]->
      r8 <e'' fis'' a'' e'''>8-> r8 <dis'' fis'' a'' dis'''>8-> |
      r8 <e'' gis'' b'' e'''>8[-> <b'' e''' b'''>-> <a'' e''' a'''>]->
      r8 <gis'' ais'' cis''' gis'''>8-> r8 <fisis'' ais'' cis''' fisis'''>8-> |
    } \\ {
      <cis e gis cis'>2-> <a! a'!>4-> <gis gis'>4-> |
      <cis e gis cis'>2-> <a! a'!>4-> <gis gis'>4-> |
      <cis e gis cis'>2-> <c' c''>4-> <b b'>4-> |
      <e gis b e'>2-> <e' e''>4-> <dis' dis''>4-> |
    } >>
  }
  \staff {
    \clef bass \key cis \minor \time C
    << {
      r8 <e gis cis' e'>8[-> <gis b e' gis'>-> <fisis ais dis' fisis'>]->\sustainOff
      r8 <fis bis d' fis'>8-> r8 <dis fis bis! dis'>8-> |
      r8 <e gis cis' e'>8[-> <gis b e' gis'>-> <fisis ais dis' fisis'>]->\sustainOff
      r8 <fis bis d' fis'>8-> r8 <dis fis bis! dis'>8-> | \break
      r8 <e gis cis' e'>8[-> <b cis' gis' b'>-> <a cis' fis' a'>]->\sustainOff
      r8 <fis a e' fis'>8-> r8 <fis a dis' fis'>8-> |
      r8 <gis b e' gis'>8[-> <dis'! e' b' dis''!>-> <cis' e' a' cis''>]->\sustainOff
      r8 <ais cis' gis' ais'>8-> r8 <ais cis' fisis' ais'>8-> |
    } \\ {
      <cis,, e,, gis,, cis,>2->\sustainOn <a,,! a,!>4-> <gis,, gis,>4-> |
      <cis,, e,, gis,, cis,>2->\sustainOn <a,,! a,!>4-> <gis,, gis,>4-> |
      <cis,, e,, gis,, cis,>2->\sustainOn <c, c>4-> <b,, b,>4-> |
      <e,, gis,, b,, e,>2->\sustainOn <e, e>4-> <dis, dis>4-> |
    } >>
  }
}

华彩段

李斯特《降 A 大调爱之梦》第三首,S. 541,第一段华彩。采用跨谱表排版,踏板标记由编者添加。 基斯特纳,莱比锡,1850 年,第 18 页

\grandStaff {
  \staff {
    \clef treble \key aes \major \cadenzaOn
    s2. | r16 s8.
    <fes' aes'>8[ <ees' g'> <aes' des''> <g' bes'>
    <des'' fes''>\< <bes' ees''> <fes'' aes''> <ees'' g''> <aes'' des'''> <g'' bes''>
    \ottava 1 <des''' fes'''> <bes'' ees'''> <fes''' aes'''> <ees''' g'''>\!
    <aes''' des''''> <g''' bes'''>
    <des'''' fes''''>( <bes''' ees''''> <des'''' fes''''> <bes''' ees''''> <aes''' des''''> <g''' bes'''>)
    <fes''' aes'''>( <ees''' g'''> <fes''' aes'''> <ees''' g'''> <des''' fes'''> <bes'' ees'''>)] \ottava 0
    | \break
    <aes'' des'''>8[( <g'' bes''> <aes'' des'''> <g'' bes''> <fes''! aes''> <ees'' g''>)
    <des'' fes''>( <bes' ees''> <des'' fes''> <bes' ees''> <aes' des''> <g' bes'>)]
    <aes' des''>8\<[ <g' bes'> <aes' des''> <g' bes'> <aes' des''> <g' bes'>
    <aes' des''> <g' bes'> <aes' des''> <g' bes'> <aes' des''> <g' bes'>]\!
    <aes' des''>8\>[ <g' bes'> <aes' des''> <g' bes'> <aes' des''> <g' bes'>
    <aes' des''> <g' bes'> <aes' des''> <g' bes'> <aes' des''> <g' bes'>]\!
    r16 r16\fermata d''!4 ||
  }
  \staff {
    \clef bass \key aes \major \cadenzaOn
    ees,8\p[( bes, des g \staffUp bes des'] \staffDown |
    \clef treble fes'8[ ees')] r16 s8.
    fes'8[ ees' aes' g' des'' bes' fes'' ees'' aes'' g'' des''' bes'' fes''' ees'''
    \ottava 1 aes'''( g''' aes''' g''' fes''' ees''') des'''( bes'' des''' bes'' aes'' g'')] \ottava 0
    | \break
    fes''!8[( ees'' fes'' ees'' des'' bes') aes'( g' aes' g' fes' ees')]
    fes'8\sustainOn[ ees' fes' ees' fes' ees' fes' ees' fes' ees' fes' ees'8\sustainOff]
    fes'8\sustainOn[ ees' fes' ees' fes' ees' fes' ees' fes' ees' fes' ees']
    r2.\sustainOff ||
  }
}

架构、规范与净室实现

四层纯函数流水线依次将 DSL 解析为 AST、转换为音乐中间表示(Music IR)、生成排版树(LayoutTree),最后输出 SVG 或挂载到 DOM。Web Audio 从 Music IR 生成播放时间线。排版树以谱线间距 sp 为单位,坐标向上为正,五线谱中线为 y = 0。同一套几何数据既可输出以 <path> 表示音乐字形的独立 SVG,也可通过 createElementNS 直接挂载到 DOM,无需 innerHTML。

记谱参考 Elaine Gould 的 Behind Bars、Ted Ross 的 The Art of Music Engraving and Processing 和 Gardner Read 的 Music Notation。时值间距采用非线性模型,参考 John S. Gourlay(1987)的 Spacing a Line of Music(OSU-CISRC-10/87-TR35)。scripts/ 提供可重复运行的提取脚本,用于生成字形度量和轮廓,数据来自 W3C 音乐记谱社区组的 SMuFL 与 Steinberg 的 Bravura 1.482(SIL OFL 1.1)。SMuFL 1.4 · Bravura 1.482 · 第三方许可声明

Notula 采用 MIT 许可,核心引擎以净室方式独立实现。spec/ 下的 16 份 Markdown 文档记录排版规范和审查要求。测试检查其中的几何不变量,并运行确定性模糊测试及包含原创巴赫风格众赞歌的曲目语料测试。

Notula 面向网页、Markdown 与教学材料,支持从单个行内符号到约 16 小节的自适应谱例。多页桌面出版和分谱提取超出项目范围。

源码采用 MIT 许可;内嵌 Bravura 字形度量与矢量轮廓遵循 SIL OFL 1.1 许可(详见 THIRD_PARTY_NOTICES.md 与 assets/fonts/OFL.txt)。在 0.x 阶段,次版本(0.x.0)可能微调公开 API 默认项或导出面;核心乐谱 DSL 保持向后兼容,如有不兼容变更将在 CHANGELOG.md 中明确说明。

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm notula

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229