作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
在 JFugue (vr 5.0.9) 中获得两个音符之间的半音的最快方法是什么(如果有)?
例如,我如何获得F4和G5之间的半音数?
最佳答案
我认为 Note 上的 getValue() 方法将为您提供所需的内容。
Note n1 = new Note("F4");
Note n2 = new Note("G5");
int semitoneDelta = n2.getValue() - n1.getValue();
System.out.println(semitoneDelta); // returns 14 in this case
关于java - 2 个音符之间的 JFugue 半音,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59290961/
在 JFugue (vr 5.0.9) 中获得两个音符之间的半音的最快方法是什么(如果有)? 例如,我如何获得F4和G5之间的半音数? 最佳答案 我认为 Note 上的 getValue() 方法将为
我是一名优秀的程序员,十分优秀!