Coder Social home page Coder Social logo

Comments (8)

SkyTNT avatar SkyTNT commented on June 11, 2024

不太行,midi序列是时间序列,每个轨道只能同时生成,不能先生成一轨再生成另一轨。

from midi-model.

brainchen2020 avatar brainchen2020 commented on June 11, 2024

受DAW midi 编辑器启发,它们可以单独编辑(/录制)每一轨的音符?,我觉得按道理应该有点希望,可能编码方式不一样。

from midi-model.

brainchen2020 avatar brainchen2020 commented on June 11, 2024

现在轨道之间的音符🎵是相对时间嘛?如果转成绝对时间能不能分开?

from midi-model.

brainchen2020 avatar brainchen2020 commented on June 11, 2024

我之前用mido(类似MIDI scores)做过拆分轨道实验(),默认midi消息事件是相对时间,每个note的位置是相对上一个note事件,我之前的做法好像是做占位补偿:
如果一个通道消息不应该出现在这轨道上,就用"空白"消息替换这个通道消息,用来保持后面消息的相对位置不变。

结果好像还行,我感觉还可以通过计算来去掉"空白"消息占位。

from midi-model.

SkyTNT avatar SkyTNT commented on June 11, 2024

不是改什么时间的问题,是改模型的问题,我没时间研究,你自己研究吧

from midi-model.

brainchen2020 avatar brainchen2020 commented on June 11, 2024

了解,我再看看怎么弄。

from midi-model.

SkyTNT avatar SkyTNT commented on June 11, 2024

可以看看#5

from midi-model.

brainchen2020 avatar brainchen2020 commented on June 11, 2024

嗯嗯好哒

from midi-model.

Related Issues (14)

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.