Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
C
crowbx
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacob Vosmaer
crowbx
Commits
48b66f9b
Commit
48b66f9b
authored
Jul 20, 2020
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Disable voice 0"
This reverts commit
60aead4c
.
parent
60aead4c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
voice.c
voice.c
+1
-1
voice.h
voice.h
+1
-1
No files found.
voice.c
View file @
48b66f9b
...
...
@@ -24,7 +24,7 @@ struct {
.
dac
=
{.
channel
=
6
,
.
offset
=
52
,
.
scale
=
8382
}},
};
uint8_t
voice_map
[
NUM_VOICES
]
=
{
1
,
2
,
3
,
4
,
5
,
6
,
7
};
uint8_t
voice_map
[
NUM_VOICES
]
=
{
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
};
struct
gate
*
gate
(
uint8_t
v
)
{
if
(
v
>=
NUM_VOICES
)
{
...
...
voice.h
View file @
48b66f9b
...
...
@@ -5,7 +5,7 @@
enum
{
NUM_SEMITONES
=
12
};
enum
{
NUM_VOICES
=
7
,
MAX_VOICES
=
8
};
enum
{
NUM_VOICES
=
8
,
MAX_VOICES
=
8
};
#define for_each_voice(var) for (uint8_t var = 0; var < NUM_VOICES; var++)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment