GithubHelp home page GithubHelp logo

chongchong-free's Introduction

虫虫钢琴下载器

GitHub starsGitHub stars

❓介绍

虫虫钢琴为你提供优质的免费钢琴谱资源(❌)

虫虫钢琴为你提供低技的术付费钢琴资源(✔)

因为🐛🐛钢琴没有登陆验证,所以这个工具让你能以白嫖🐛🐛钢琴的MIDI力! (前提是能下载(有AI乐谱))

🚀功能

  • 虫虫钢琴下载器是一个免费下载虫钢琴谱的软件,能获取琴谱的链接并解析琴谱的内容,并导出文件。
  • 导出PDF琴谱
  • 导出MIDI文件
  • 导出MP3文件

🚗运行

  1. 运行 npm install
  2. 运行 node chongchong-free.js

⚙参数

  1. -i <琴谱ID> (必要)
  2. -o <输出目录> 默认为output(可选)
  3. -p 输出原始PDF 默认不输出(可选)
  4. -m 输出MP3 默认不输出(可选)
  5. -d 详细输出 默认为关(可选)

✔注意事项

⭐ 如果喜欢的话请帮忙star支持一下!

🐛 有Bug可以开Issue或PR

这里看更新日志

chongchong-free's People

Contributors

codergrowing avatar llkawi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

chongchong-free's Issues

解压文件后没有chongchong-free.js

下载代码解压后,在文件夹里执行了npm installnode chongchong-free.js,发生错误如下

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'C:\Users\Lazurit\Desktop\chongchong-free-master\chong
chong-free.js'
?[90m    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:9
33:15)?[39m
?[90m    at Function.Module._load (node:internal/modules/cjs/loader:778:27)?[39m

?[90m    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/r
un_main:81:12)?[39m
?[90m    at node:internal/main/run_main_module:17:47?[39m {
  code: ?[32m'MODULE_NOT_FOUND'?[39m,
  requireStack: []
}

没用过js,还请指教

可能不支持坐山听风老师的所有作品 Uncaught Error Error: TNaN is not a valid duration.

如题,具体报错如下

Uncaught Error Error: TNaN is not a valid duration.
    at getTickDuration (e:\chongchong-free-master\node_modules\midi-writer-js\build\index.js:355:17)
    at NoteEvent (e:\chongchong-free-master\node_modules\midi-writer-js\build\index.js:794:31)
    at writeMIDI (e:\chongchong-free-master\libCCMZ.js:148:20)
    at writeAndConvert (e:\chongchong-free-master\functions.js:26:17)
    at <anonymous> (e:\chongchong-free-master\libCCMZ.js:56:17)

原因是MidiWriter.NoteEventmDurationundefined
进一步向上溯源

if (tick === thisTick) {
              mDuration = baseMultiplier * lastTempo / currTempo;
              mTick = baseMultiplier * lastTempo / currTempo;
            }

因为在此处if (tick === thisTick) 为假,所以直接跳过了mDuration的赋值
因为我看不懂这段代码为何要这样计算所以也没法改,除了这位老师的作品外又测试了其他几首,复杂一点的作品速度就有问题了
如果作者能补完核心代码的注释那就好了

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.