Skip to content

Commit 2bcfc06

Browse files
authored
Add support for triplet feel on audio generation (#306)
* Added triplet feel generation for playback (base rules) * Added docs for triplet feel * Added test for triplet feel generation * Updated compiler to fix type check issue
1 parent 65a2358 commit 2bcfc06

File tree

64 files changed

+319
-47
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+319
-47
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
Title: PlayTripletFeel
2+
JsName: playTripletFeel
3+
DataAttribute: data-play-triplet-feel
4+
Category: Core
5+
Description: Gets or sets whether in the triplet feel should be applied during playback.
6+
Since: 0.9.5
7+
ShowInSideBar: false
8+
---
9+
10+
<h2>Description</h2>
11+
<p>
12+
If this setting is enabled alphaTab will consider the triplet feel during playback not only for display above the notation.
13+
</p>
14+
15+
<h2>Types</h2>
16+
17+
<table class="table table-striped table-condensed type-table">
18+
<tbody>
19+
<tr>
20+
<td><code>bool</td>
21+
</tr>
22+
</tbody>
23+
</table>
24+
25+
<h2>Default Value</h2>
26+
27+
<code>true<code>
28+
29+
<h2>Example - C#</h2>
30+
31+
<pre>
32+
<code class="language-csharp line-numbers">
33+
var settings = Settings.Defaults;
34+
settings.PlayTripletFeel = false;
35+
</code>
36+
</pre>
37+
38+
39+
<h2>Example - JavaScript</h2>
40+
41+
<pre>
42+
<code class="language-javascript line-numbers">
43+
var settings = {
44+
playTripletFeel: false
45+
};
46+
var api = new alphaTab.platform.javaScript.AlphaTabApi(document.querySelector('#alphaTab'), settings);
47+
var japi = $('#alphaTab').alphaTab(settings);
48+
</code>
49+
</pre>
50+
51+
<h2>Example - HTML</h2>
52+
53+
<pre>
54+
<code class="language-html line-numbers">
55+
&lt;div id="alphaTab" data-play-triplet-feel="true"&gt;&lt;/div&gt;
56+
</code>
57+
</pre>

Phase/Compiler/CopyNewCompiler.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
taskkill /im:msbuild.exe /f
2-
xcopy D:\Dev\C#\Projects\Phase.netstandard\Phase.MsBuild\bin\Debug\net471\* . /Y
2+
xcopy D:\Dev\CSharp\Phase.netstandard\Phase.MsBuild\bin\Debug\net48\* . /Y
7.82 KB
Binary file not shown.
25 KB
Binary file not shown.
16.8 KB
Binary file not shown.

Phase/Compiler/Microsoft.Build.dll

103 KB
Binary file not shown.
53 KB
Binary file not shown.
456 KB
Binary file not shown.
1.24 KB
Binary file not shown.
-217 KB
Binary file not shown.

0 commit comments

Comments
 (0)