Skip to content

Commit

Permalink
Merge pull request #18 from risgk/develop
Browse files Browse the repository at this point in the history
v2.2.3
  • Loading branch information
risgk authored Jul 8, 2023
2 parents e2ab53e + bf4f70d commit 7baefb0
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 21 deletions.
1 change: 0 additions & 1 deletion DigitalSynthVRA8U/DigitalSynthVRA8U.ino
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#define R_LOW_AUDIO_OUT_PIN (3) // Pin D3 (Fixed): R channel, low 8-bit audio output

#define ENABLE_SPECIAL_PROGRAM_CHANGE // Program Change by Control Change (112-119)
// Interpret Program Change 8-15 as 0-7



Expand Down
7 changes: 5 additions & 2 deletions DigitalSynthVRA8U/osc.h
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,9 @@ class Osc {
INLINE static void update_freq_3rd() {
uint8_t fine = low_byte(m_pitch_real[N]);
uint16_t freq_div_2 = (m_freq_temp[N] >> 1);
int8_t freq_offset = high_sbyte(freq_div_2 * g_osc_tune_table[fine >> (8 - OSC_TUNE_TABLE_STEPS_BITS)]);
m_freq_temp[N] += freq_offset;

uint8_t bit = (m_rnd >= 0xF0);
uint8_t mono_offset = 0;
if (N == 2) {
Expand All @@ -667,8 +670,8 @@ class Osc {
}
}
}
int8_t freq_offset = high_sbyte(freq_div_2 * g_osc_tune_table[fine >> (8 - OSC_TUNE_TABLE_STEPS_BITS)]) + bit + mono_offset;
m_freq[N] = m_freq_temp[N] + freq_offset;
m_freq[N] = m_freq_temp[N] + bit + mono_offset;

m_wave_table[N] = m_wave_table_temp[N];
}

Expand Down
2 changes: 1 addition & 1 deletion DigitalSynthVRA8U/serial-in.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class SerialIn {
return UCSR0A & _BV(RXC0);
}

INLINE static int8_t read() {
INLINE static uint8_t read() {
return UDR0;
}
};
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Digital Synth VRA8-U v2.2.2
# Digital Synth VRA8-U v2.2.3

- 2023-05-04 ISGK Instruments
- 2023-07-08 ISGK Instruments
- <https://github.com/risgk/digital-synth-vra8-u>

## Concept

- Monophonic/Paraphonic United Synthesizer for Arduino Uno
- Monophonic/Paraphonic United Synthesizer for Arduino UNO R3
- Monophonic Mode: 1-Voice, 2-Oscillator (with Sub Oscillator)
- Paraphonic Mode: 4-Voice, 1-Oscillator
- Built-in Chorus FX
- Controlled by MIDI: VRA8-U is MIDI Sound Module
- The 8th in the Digital Synth VRA8 series that pushes the limits of the Arduino Uno
- The 8th in the Digital Synth VRA8 series that pushes the limits of the Arduino UNO R3

## Caution about Arduino AVR Boards Version

Expand All @@ -19,6 +19,8 @@

## Change History

- v2.2.3:
- Fix Osc 2 frequency in Monophonic Mode
- v2.2.2:
- Separate Voice Mode Lgt (Legato) into Lgt (Legato) and LP (Legato Portamento)
- Fix Voice Mode value 32 to be Mon (Monophonic) mode
Expand Down Expand Up @@ -63,7 +65,7 @@
- We recommend adding AC coupling capacitors to reduce DC components
- A 10 uF electrolytic capacitor works well
- Files
- `"DigitalSynthVRA8U.ino"` is a sketch for Arduino Uno Rev3 (ATmega328P)
- `"DigitalSynthVRA8U.ino"` is a sketch for Arduino UNO R3 (ATmega328P)
- `"make-sample-wav-file.cc"` is for Debugging on PC
- Requiring GCC (g++) or other
- `"make-sample-wav-file-cc.bat"` makes a sample WAV file (working on Windows)
Expand Down Expand Up @@ -156,11 +158,11 @@ This image was created with Fritzing.

![CC0](http://i.creativecommons.org/p/zero/1.0/88x31.png)

Digital Synth VRA8-U v2.2.2 by ISGK Instruments (Ryo Ishigaki)
Digital Synth VRA8-U v2.2.3 by ISGK Instruments (Ryo Ishigaki)

To the extent possible under law, ISGK Instruments (Ryo Ishigaki)
has waived all copyright and related or neighboring rights
to Digital Synth VRA8-U v2.2.2.
to Digital Synth VRA8-U v2.2.3.

You should have received a copy of the CC0 legalcode along with this
work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
4 changes: 2 additions & 2 deletions VRA8-U-MIDI-Implementation-Chart.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
```
[United Synthesizer] Date: 2023-05-04
Model: Digital Synth VRA8-U MIDI Implementation Chart Version: 2.2.2
[United Synthesizer] Date: 2023-07-08
Model: Digital Synth VRA8-U MIDI Implementation Chart Version: 2.2.3
+-------------------------------+---------------+---------------+----------------------------------+
| Function... | Transmitted | Recognized | Remarks |
+-------------------------------+---------------+---------------+----------------------------------+
Expand Down
4 changes: 2 additions & 2 deletions VRA8-U-Parameter-Guide.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Digital Synth VRA8-U Parameter Guide v2.2.2
# Digital Synth VRA8-U Parameter Guide v2.2.3

- 2023-05-04 ISGK Instruments
- 2023-07-08 ISGK Instruments
- <https://github.com/risgk/digital-synth-vra8-u>

## Control Change Parameters
Expand Down
4 changes: 2 additions & 2 deletions VRA8-U-type-16-Operation-Guide.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Digital Synth VRA8-U type-16 Operation Guide v2.2.2
# Digital Synth VRA8-U type-16 Operation Guide v2.2.3

- 2023-05-04 ISGK Instruments
- 2023-07-08 ISGK Instruments
- <https://github.com/risgk/digital-synth-vra8-u>

## Concept
Expand Down
2 changes: 1 addition & 1 deletion vra8-u-ctrl.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
}
</style>
<script>
const APP_NAME_VERSION = "VRA8-U CTRL v2.2.2";
const APP_NAME_VERSION = "VRA8-U CTRL v2.2.3";

const MIDI_CH = 0; // Basic Channel 1
const NOTE_OFF = 0x80;
Expand Down
2 changes: 1 addition & 1 deletion vra8-u-prog-preset.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_version " : "VRA8-U CTRL v2.2.2",
"_version " : "VRA8-U CTRL v2.2.3",
"_comment " : " CURRENT #8 #9 #10 #11 #12 #13 #14 #15 ",
"OSC_1_WAVE " : [ [0 ], [0 , 0 , 0 , 0 , 0 , 96 , 0 , 0 ] ],
"OSC_1_SHAPE " : [ [0 ], [0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ] ],
Expand Down
2 changes: 1 addition & 1 deletion vra8-u-type-16-ctrl.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
}
</style>
<script>
const APP_NAME_VERSION = "VRA8-U type-16 CTRL v2.2.2";
const APP_NAME_VERSION = "VRA8-U type-16 CTRL v2.2.3";

const MIDI_CH = 0; // Basic Channel 1
const NOTE_OFF = 0x80;
Expand Down
2 changes: 1 addition & 1 deletion vra8-u-type-16-prog-preset.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_version " : "VRA8-U type-16 CTRL v2.2.2",
"_version " : "VRA8-U type-16 CTRL v2.2.3",
"_comment " : " CURRENT #8 #9 #10 #11 #12 #13 #14 #15 ",
"OSC_1_WAVE " : [ [0 ], [0 , 0 , 0 , 0 , 0 , 96 , 0 , 0 ] ],
"OSC_1_SHAPE " : [ [0 ], [0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ] ],
Expand Down

0 comments on commit 7baefb0

Please sign in to comment.