Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flow3r
flow3r firmware
Commits
b0fca42f
Commit
b0fca42f
authored
1 year ago
by
moon2
Browse files
Options
Downloads
Patches
Plain Diff
bl00mbox: docs update
parent
8b7ab015
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!93
bl00mbox: docs update
Pipeline
#6388
passed
1 year ago
Stage: check
Stage: build
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/badge/bl00mbox.rst
+9
-2
9 additions, 2 deletions
docs/badge/bl00mbox.rst
python_payload/apps/demo_melodic/__init__.py
+1
-1
1 addition, 1 deletion
python_payload/apps/demo_melodic/__init__.py
python_payload/mypystubs/bl00mbox/_user.pyi
+2
-2
2 additions, 2 deletions
python_payload/mypystubs/bl00mbox/_user.pyi
with
12 additions
and
5 deletions
docs/badge/bl00mbox.rst
+
9
−
2
View file @
b0fca42f
...
...
@@ -190,8 +190,15 @@ and we can get them individually:
[channel mixer] (1 connections)
output in [bud 1] lowpass
As we can see this channel has quite a lot going on. Ideally each application should have
its own channel(s), so in order to get a free one we'll create a new one without argument:
As we can see this channel has quite a lot going on. Each application should have its own
channel(s), so in order to get a free one we'll request a free one from the backend by
skipping the argument:
.. note::
Do not use .Channel(n) in application code, it's for REPL purposes only. Each
application manages their own channel(s), so they might clear out your plugins
or drag down your performance or other kinds of nasty interferences. Don't do it.
.. code-block:: pycon
...
...
This diff is collapsed.
Click to expand it.
python_payload/apps/demo_melodic/__init__.py
+
1
−
1
View file @
b0fca42f
...
...
@@ -74,7 +74,7 @@ def run(ins: InputState) -> None:
def
init
()
->
None
:
global
synths
for
i
in
range
(
1
):
synths
+=
[
blm
.
new
_patch
(
bl00mbox
.
patches
.
tinysynth_fm
)]
synths
+=
[
blm
.
new
(
bl00mbox
.
patches
.
tinysynth_fm
)]
for
synth
in
synths
:
synth
.
decay
(
100
)
...
...
This diff is collapsed.
Click to expand it.
python_payload/mypystubs/bl00mbox/_user.pyi
+
2
−
2
View file @
b0fca42f
...
...
@@ -49,8 +49,8 @@ class Channel:
free
:
bool
def
clear
(
self
)
->
None
:
...
def
new_patch
(
self
,
patch
:
Type
[
T
],
init_var
:
Optional
[
Any
]
=
None
)
->
T
:
...
def
new_bud
(
def
_
new_patch
(
self
,
patch
:
Type
[
T
],
init_var
:
Optional
[
Any
]
=
None
)
->
T
:
...
def
_
new_bud
(
self
,
thing
:
bl00mbox
.
_plugins
.
_Plugin
|
int
,
init_var
:
Optional
[
int
|
float
]
=
None
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment