Skip to content

Commit df92db3

Browse files
authored
sequential/sixtrak.cpp: Emulated audio and promoted to working. (#14531)
* sequential/sixtrak.cpp: Emulated audio and promoted to working. New functionality: * Wheel RC circuits. * Autotune circuit. * Audio. Systems promoted to working ---------------------------- Sequential Circuits Six-Trak (Model 610) Rev B/C * sixtrak: breaking long input_port lines.
1 parent 771143e commit df92db3

File tree

3 files changed

+599
-61
lines changed

3 files changed

+599
-61
lines changed

src/devices/sound/va_eg.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class va_rc_eg_device : public device_t, public device_sound_interface
4040

4141
// Sets target voltage to (dis)charge towards.
4242
va_rc_eg_device &set_target_v(float v);
43+
float get_target_v() const { return m_v_end; }
4344

4445
// Sets the voltage to the given value, instantly.
4546
va_rc_eg_device &set_instant_v(float v);

src/mame/layout/sequential_sixtrak.lay

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -755,10 +755,10 @@ copyright-holders:m1macrophage
755755

756756
<group name="wheel">
757757
<bounds x="0" y="0" width="30" height="145"/>
758-
<element ref="wheel_background" id="~input~">
758+
<element ref="wheel_background" id="~id~">
759759
<bounds x="3" y="0" width="24" height="130"/>
760760
</element>
761-
<element ref="wheel_dent" id="~input~_dent">
761+
<element ref="wheel_dent" id="~id~_dent">
762762
<animate inputtag="~input~" inputmask="0xffff"/>
763763
<bounds state="100" x="3" y="0" width="24" height="10"/>
764764
<bounds state="0" x="3" y="120" width="24" height="10"/>
@@ -888,11 +888,13 @@ copyright-holders:m1macrophage
888888
<element ref="dark_wood"><bounds x="1477" y="350" width="18" height="310"/></element>
889889
<element ref="wood"><bounds x="1495" y="0" width="25" height="660"/></element>
890890

891-
<param name="input" value="pitch_wheel"/>
891+
<param name="id" value="pitch_wheel"/>
892+
<param name="input" value="wheel_0"/>
892893
<param name="label" value="txt_pitch"/>
893894
<group ref="wheel"><bounds x="75" y="164" width="20" height="145"/></group>
894895

895-
<param name="input" value="mod_wheel"/>
896+
<param name="id" value="mod_wheel"/>
897+
<param name="input" value="wheel_1"/>
896898
<param name="label" value="txt_mod"/>
897899
<group ref="wheel"><bounds x="150" y="164" width="20" height="145"/></group>
898900

@@ -1050,8 +1052,8 @@ copyright-holders:m1macrophage
10501052
add_knob(view, "tune_knob", "tune_knob", 2, HORIZONTAL)
10511053
add_knob(view, "master_volume_knob", "master_volume_knob", 1.2, HORIZONTAL)
10521054
1053-
add_slider(view, "pitch_wheel", "pitch_wheel_dent", "pitch_wheel")
1054-
add_slider(view, "mod_wheel", "mod_wheel_dent", "mod_wheel")
1055+
add_slider(view, "pitch_wheel", "pitch_wheel_dent", "wheel_0")
1056+
add_slider(view, "mod_wheel", "mod_wheel_dent", "wheel_1")
10551057
10561058
view.items["warning"]:set_state(0)
10571059
end)

0 commit comments

Comments
 (0)