npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

vuepress-plugin-chiptune

v1.0.2

Published

A VuePress plugin for Chiptune music generation.

Readme

vuepress-plugin-chiptune

一个用于芯片音乐(Chiptune)的 VuePress 插件。

芯片音乐(英语:Chiptune),也被称为8比特音乐(8-bit music),是一种电子音乐形式,形成于1980年代。它利用老式电脑,视频游戏机和街机等的音乐芯片,或者使用仿真器制作[1]。 芯片音乐一般包括基本波形,如方波,锯齿波或三角波和基本的打击乐器。

这个插件提供了一个交互式组件 <Chiptune />,允许用户在您的 VuePress 网站中创建、修改和下载芯片音乐。

image-20250714030733295

安装

npm install vuepress-plugin-chiptune
# 或者
yarn add vuepress-plugin-chiptune

用法

将插件添加到您的 VuePress 配置中 (.vuepress/config.js):

module.exports = {
  plugins: [
    ['chiptune']
  ]
}

然后,您可以在任何 Markdown 文件中使用该组件:

<Chiptune />

功能

<Chiptune /> 组件提供了一个丰富的用户界面来控制音乐生成过程:

  • 种子 (Seed): 用于程序生成的随机种子。
  • 混沌 (Chaos): 控制旋律和节奏的随机性。
  • 音阶 (Scale): 从多种音阶中选择,如大调、小调、五声音阶等。
  • 风格 (Style): 应用不同的声音预设和风格。
  • BPM: 调整每分钟节拍数。
  • 循环长度 (Loop Length): 设置循环的长度。
  • 乐器轨道 (Instrument Tracks): 启用或禁用主音、贝斯、打击乐和特效。
  • 效果 (Effects): 添加混响、延迟和合唱效果。
  • 钢琴卷帘 (Piano Roll): 可视化生成的音符。
  • 下载 (Download): 将循环导出为 WAV 或 MIDI 文件。