-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Bronco 40 amps, cabinets and effects #21
base: 20-bronco
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,8 +29,19 @@ namespace plug | |
// list of all amplifiers | ||
enum class amps | ||
{ | ||
FENDER_57_DELUXE, | ||
// Bronco 40 amps | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please do not change the existing listing, but append to it's end. |
||
RUMBLE, | ||
FENDER_59_BASSMAN, | ||
BASSMAN_TV, | ||
BASSMAN_300, | ||
KGB_800, | ||
ROCKIN_PEG, | ||
SWR_REDHEAD, | ||
MONSTER, | ||
|
||
// Mustang amps | ||
FENDER_57_DELUXE, | ||
// FENDER_59_BASSMAN, | ||
FENDER_57_CHAMP, | ||
FENDER_65_DELUXE_REVERB, | ||
FENDER_65_PRINCETON, | ||
|
@@ -40,29 +51,29 @@ namespace plug | |
BRITISH_70S, | ||
BRITISH_80S, | ||
AMERICAN_90S, | ||
METAL_2000, | ||
|
||
// Bronco amps | ||
RUMBLE, | ||
BASSMAN_TV, | ||
BASSMAN_300, | ||
KGB_800, | ||
ROCKIN_PEG, | ||
SWR_REDHEAD, | ||
MONSTER | ||
METAL_2000 | ||
}; | ||
|
||
|
||
// list of all effects | ||
enum class effects | ||
{ | ||
// Bronco 40 effects | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as above, please append and do not disable. |
||
EMPTY, | ||
MODERN_BASS_OVERDRIVE, | ||
OVERDRIVE_BASS, | ||
FUZZ_BASS, | ||
GREENBOX, | ||
SIMPLE_COMP, | ||
|
||
// Mustang effects | ||
// EMPTY, | ||
OVERDRIVE, | ||
WAH, | ||
TOUCH_WAH, | ||
FUZZ, | ||
FUZZ_TOUCH_WAH, | ||
SIMPLE_COMP, | ||
// SIMPLE_COMP, | ||
COMPRESSOR, | ||
|
||
SINE_CHORUS, | ||
|
@@ -102,6 +113,7 @@ namespace plug | |
// list of all cabinets | ||
enum class cabinets | ||
{ | ||
/* | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here |
||
OFF, | ||
cab57DLX, | ||
cabBSSMN, | ||
|
@@ -114,7 +126,23 @@ namespace plug | |
cab65TWN, | ||
cab4x12V, | ||
cabSS212, | ||
cabSS112 | ||
cabSS112, | ||
*/ | ||
// Bronco 40 cabinets | ||
OFF, | ||
cab1x10M, | ||
cab2x10M, | ||
cab4x10M, | ||
cab4x10H, | ||
cab4x10V, | ||
cab8x10M, | ||
cab8x10V, | ||
cab1x12M, | ||
cab4x12M, | ||
cab1x15V, | ||
cab1x15M, | ||
cab2x15V, | ||
cab1x18V | ||
}; | ||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ namespace plug | |
: QMainWindow(parent), | ||
ui(std::make_unique<Ui::Amplifier>()), | ||
advanced(std::make_unique<Amp_Advanced>(this)), | ||
amp_num(amps::FENDER_57_DELUXE), | ||
amp_num(amps::FENDER_59_BASSMAN), | ||
gain(0), | ||
volume(0), | ||
treble(0), | ||
|
@@ -183,6 +183,8 @@ namespace plug | |
// set properties | ||
switch (static_cast<amps>(ampValue)) | ||
{ | ||
|
||
/* | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As above. |
||
case amps::FENDER_57_DELUXE: | ||
advanced->change_cabinet(value(cabinets::cab57DLX)); | ||
advanced->change_noise_gate(0); | ||
|
@@ -266,49 +268,56 @@ namespace plug | |
setWindowTitle("Amplifier: Metal 2000"); | ||
setAccessibleName("Amplifier: Metal 2000"); | ||
break; | ||
*/ | ||
|
||
// TODO: Bronco amps | ||
// TODO: Bronco 40 amps | ||
case amps::RUMBLE: | ||
advanced->change_cabinet(value(cabinets::cab65PRN)); | ||
advanced->change_cabinet(value(cabinets::OFF)); | ||
advanced->change_noise_gate(0); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Btw. do we have to figure out this noise gate setting? |
||
setWindowTitle("Amplifier: Fender Rumble"); | ||
setAccessibleName("Amplifier: Fender Rumble"); | ||
break; | ||
case amps::FENDER_59_BASSMAN: | ||
advanced->change_cabinet(value(cabinets::OFF)); | ||
advanced->change_noise_gate(0); | ||
setWindowTitle("Amplifier: Fender '59 Bassman"); | ||
setAccessibleName("Amplifier: Fender '59 Bassman"); | ||
break; | ||
case amps::BASSMAN_TV: | ||
advanced->change_cabinet(value(cabinets::cab65PRN)); | ||
advanced->change_cabinet(value(cabinets::OFF)); | ||
advanced->change_noise_gate(0); | ||
setWindowTitle("Amplifier: Fender Bassman TV"); | ||
setAccessibleName("Amplifier: Fender Bassman TV"); | ||
break; | ||
case amps::BASSMAN_300: | ||
advanced->change_cabinet(value(cabinets::cab65PRN)); | ||
advanced->change_cabinet(value(cabinets::OFF)); | ||
advanced->change_noise_gate(0); | ||
setWindowTitle("Amplifier: Fender Bassman 300"); | ||
setAccessibleName("Amplifier: Fender Bassman 300"); | ||
break; | ||
case amps::KGB_800: | ||
advanced->change_cabinet(value(cabinets::cab65PRN)); | ||
advanced->change_cabinet(value(cabinets::OFF)); | ||
advanced->change_noise_gate(0); | ||
setWindowTitle("Amplifier: Fender KGB 800"); | ||
setAccessibleName("Amplifier: Fender KGB 800"); | ||
setWindowTitle("Amplifier: KGB 800"); | ||
setAccessibleName("Amplifier: KGB 800"); | ||
break; | ||
case amps::ROCKIN_PEG: | ||
advanced->change_cabinet(value(cabinets::cab65PRN)); | ||
advanced->change_cabinet(value(cabinets::OFF)); | ||
advanced->change_noise_gate(0); | ||
setWindowTitle("Amplifier: Fender Rockin' PEG"); | ||
setAccessibleName("Amplifier: Fender Rockin' PEG"); | ||
setWindowTitle("Amplifier: Rockin' PEG"); | ||
setAccessibleName("Amplifier: Rockin' PEG"); | ||
break; | ||
case amps::SWR_REDHEAD: | ||
advanced->change_cabinet(value(cabinets::cab65PRN)); | ||
advanced->change_cabinet(value(cabinets::OFF)); | ||
advanced->change_noise_gate(0); | ||
setWindowTitle("Amplifier: Fender SWR Redhead"); | ||
setAccessibleName("Amplifier: Fender SWR Redhead"); | ||
setWindowTitle("Amplifier: SWR Redhead"); | ||
setAccessibleName("Amplifier: SWR Redhead"); | ||
break; | ||
case amps::MONSTER: | ||
advanced->change_cabinet(value(cabinets::cab65PRN)); | ||
advanced->change_cabinet(value(cabinets::OFF)); | ||
advanced->change_noise_gate(0); | ||
setWindowTitle("Amplifier: Fender Monster"); | ||
setAccessibleName("Amplifier: Fender Monster"); | ||
setWindowTitle("Amplifier: Monster"); | ||
setAccessibleName("Amplifier: Monster"); | ||
break; | ||
default: | ||
break; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,8 @@ | |
<property name="accessibleDescription"> | ||
<string>Allows you to choose amplifier to emulate</string> | ||
</property> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As above. |
||
|
||
<!-- | ||
<property name="maxVisibleItems"> | ||
<number>12</number> | ||
</property> | ||
|
@@ -116,6 +118,51 @@ | |
<string>Metal 2000</string> | ||
</property> | ||
</item> | ||
--> | ||
|
||
<property name="maxVisibleItems"> | ||
<number>8</number> | ||
</property> | ||
<item> | ||
<property name="text"> | ||
<string>Rumble</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>'59 Bassman</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>Bassman TV</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>Bassman 300</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>KGB 800</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>Rockin' Peg</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>SWR Redhead</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>Monster</string> | ||
</property> | ||
</item> | ||
</widget> | ||
</item> | ||
<item> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -275,6 +275,10 @@ namespace plug | |
tr("When you choose an effect you can set precise value of a parameter here")}); | ||
break; | ||
case effects::OVERDRIVE: | ||
case effects::MODERN_BASS_OVERDRIVE: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add a Bronce comment to those so we can determine later. |
||
case effects::OVERDRIVE_BASS: | ||
case effects::FUZZ_BASS: | ||
case effects::GREENBOX: | ||
setTexts(ui.get(), | ||
UIText{ | ||
tr("&Level"), | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,11 +51,40 @@ | |
<string>None</string> | ||
</property> | ||
</item> | ||
|
||
<!-- Bronco 40 effects --> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remark: The .ui files are created by Qt Designer (usually) , so comments wont last long here. Having the comments in the source files is enough. |
||
<item> | ||
<property name="text"> | ||
<string>[1] Modern Bass Overdrive</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>[1] Overdrive</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>[1] Fuzz</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>[1] Greenbox</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>[1] Simple Compressor</string> | ||
</property> | ||
</item> | ||
|
||
<!-- | ||
<item> | ||
<property name="text"> | ||
<string>[1] Overdrive</string> | ||
</property> | ||
</item> | ||
<item> | ||
<property name="text"> | ||
<string>[1] Fixed Wah</string> | ||
|
@@ -86,7 +115,8 @@ | |
<string>[1] Compressor</string> | ||
</property> | ||
</item> | ||
<item> | ||
--> | ||
<item> | ||
<property name="text"> | ||
<string>[2] Sine Chorus</string> | ||
</property> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not comment out code, but add those values below (as with the amps).