Skip to content

Commit

Permalink
Regenerated.
Browse files Browse the repository at this point in the history
  • Loading branch information
sletz committed Dec 16, 2023
1 parent 8106648 commit 1e5938c
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -467,5 +467,5 @@ <h4 class="modal-title" id="keyboardModalLabel">Keyboard Shortcuts</h4>

<!--
MkDocs version : 1.1.2
Build Date UTC : 2023-12-16 08:49:14.425920+00:00
Build Date UTC : 2023-12-16 10:53:37.157413+00:00
-->
9 changes: 8 additions & 1 deletion docs/manual/faq/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,10 @@
<li class="nav-item" data-level="2"><a href="#what-are-the-rules-used-for-partial-application" class="nav-link">What are the rules used for partial application ?</a>
<ul class="nav flex-column">
</ul>
</li>
<li class="nav-item" data-level="2"><a href="#control-rate-versus-audio-rate" class="nav-link">Control rate versus audio rate</a>
<ul class="nav flex-column">
</ul>
</li>
</ul>
</li>
Expand Down Expand Up @@ -518,7 +522,10 @@ <h2 id="surprising-effects-of-vgrouphgroup-on-how-controls-and-parameters-work">
<center><em>naming and grouping</em></center></p>
<h2 id="what-are-the-rules-used-for-partial-application">What are the rules used for partial application ?</h2>
<p>Assuming <code>F</code> is not an abstraction and has <code>n+m</code> inputs and <code>A</code> has <code>n</code> outputs, then we have the rewriting rule <code>F(A) ==&gt; A,bus(m):F (with bus(1) = _ and bus(n+1) = _,bus(n))</code></p>
<p>There is an exception when <code>F</code> is a binary operation like <code>+,-,/,*</code>. In this case, the rewriting rule is <code>/(3) ==&gt; _,3:/</code>. In other words, when we apply only one argument, it is the second one.</p></div>
<p>There is an exception when <code>F</code> is a binary operation like <code>+,-,/,*</code>. In this case, the rewriting rule is <code>/(3) ==&gt; _,3:/</code>. In other words, when we apply only one argument, it is the second one.</p>
<h2 id="control-rate-versus-audio-rate">Control rate versus audio rate</h2>
<p>Question : I have a question about sample rate / control rate issues. I have a Faust code that takes channel pressure messages from my keyboard as input, therefore at control rate, and outputs an expression signal at sample rate. The first part of the code can run at control rate, but I want to force it to run at sample rate (otherwise unwanted behavior will appear). Is there a simple way of forcing my pressure signal to be at sample rate (without making a smooth which may also result in unwanted behavior)</p>
<p>Answer: The <a href="https://faustlibraries.grame.fr/libs/basics/#usage_53">ba.kr2ar</a> function can be used for the purpose.</p></div>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/search/search_index.json

Large diffs are not rendered by default.

Binary file modified docs/sitemap.xml.gz
Binary file not shown.
7 changes: 7 additions & 0 deletions mkdocs/docs/manual/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,3 +232,10 @@ process = synth_ui;
Assuming `F` is not an abstraction and has `n+m` inputs and `A` has `n` outputs, then we have the rewriting rule `F(A) ==> A,bus(m):F (with bus(1) = _ and bus(n+1) = _,bus(n))`

There is an exception when `F` is a binary operation like `+,-,/,*`. In this case, the rewriting rule is `/(3) ==> _,3:/`. In other words, when we apply only one argument, it is the second one.


## Control rate versus audio rate

Question : I have a question about sample rate / control rate issues. I have a Faust code that takes channel pressure messages from my keyboard as input, therefore at control rate, and outputs an expression signal at sample rate. The first part of the code can run at control rate, but I want to force it to run at sample rate (otherwise unwanted behavior will appear). Is there a simple way of forcing my pressure signal to be at sample rate (without making a smooth which may also result in unwanted behavior)

Answer: The [ba.kr2ar]( https://faustlibraries.grame.fr/libs/basics/#usage_53) function can be used for the purpose.

0 comments on commit 1e5938c

Please sign in to comment.