On the Subject of The Speaker

Bass boosted

The module displays a speaker, 8 ports, 3 sliders and a speaker serial. To solve the module, plug all the plugs into the correct ports. The speaker serial number consists of two letters and then two numbers.

Take the colour of the first port in reading order and use the sequence listed with it in the table below. This sequence will tell what colour plug will be plugged in at each press, but not the port to plug it into.

colourorder
blackblack, blue, white, green, yellow, cyan, magenta, red
blueblue, green, black, cyan, white, red, yellow, magenta
greenmagenta, yellow, red, white, cyan, black, green, blue
cyancyan, red, green, magenta, blue, yellow, black, white
redred, magenta, cyan, yellow, green, white, blue, black
magentagreen, cyan, blue, red, black, magenta, white, yellow
yellowwhite, black, yellow, blue, magenta, green, red, cyan
whiteyellow, white, magenta, black, red, blue, cyan, green

If the speaker serial number digit sum totals to 0 and all the sliders are down, plug the plugs into their matching ports. Otherwise follow the rules below according to the plug colours obtained from the sequence.

Black

  1. Take the colour of the last port in reading order and split it into its RGB components using the table below.
  2. Compare R with the left, G with the middle, and B with the right slider.
  3. If any slider connected to a 0 is up or any slider connected to a 1 is down, Take the first available port in reading order.
  4. Otherwise, take the last available port in reading order.
colourRGBcolourRGBcolourRGBcolourRGB
black000green010red100yellow110
blue001cyan011magenta101white111

Blue

  1. Take the two letters from the speaker serial number.
  2. If the second letter occurs later in the alphabet than the first, use the bottom half, otherwise use the top half.
  3. If the first letter has an odd position in the alphabet, use the left half, otherwise use the right half.
  4. If the second letter has an odd position in the alphabet, use the left of the remaining two ports, otherwise use the right of the remaining two ports.
  5. If this port is already occupied, go in clockwise order until a port is available.

Green

  1. Set A to the index of the green port in reading order.
  2. Set B to the amount of plugs connected, plus 1.
  3. Set C to the sum of the speaker serial number digit sum.
  4. Using the colour of the speaker, calculate the formula from the table below.
  5. Add or subtract 8 until the number is within a range of 1-8 inclusive.
  6. If the port at this position in reading order is already occupied, take 3 steps in reading order, looping around if needed, until a port is available.
colourformulacolourformulacolourformulacolourformula
blackA+B+CgreenA*B+CredA+B+C+4yellowA*B+C+4
blueA+B*CcyanA*B*CmagentaA+B*C+4whiteA*B*C+4

Cyan

  1. Using slider settings as down=0, middle=1 and up=2, take the sum of the slider settings.
  2. Modulo this by the amount of available ports and add 1.
  3. Use the available port at the index in reading order given by this number, ignoring unavailable ports.

Red

  1. Take the distance between the red plug and the plug matching the colour of the speaker, assuming only orthogonal steps, and add 1.
  2. If the port at this position in reading order is already occupied, continue in reading order, looping around if needed, until a port is available.

Magenta

  1. Take the amount of plugs connected and add 1.
  2. If this port is already occupied, go in reverse reading order until a port is available.

Yellow

  1. Take the digital root of the position in the alphabet of the first letter of the speaker serial number. (digital root is the repeated digit sum until one digit remains: 19=>1+9=>10=>1+0=>1)
  2. If the number is 9, use the speaker colour, otherwise use the colour of the port in reading order given by the number.
  3. Use the port with this colour.
  4. If the port with this colour is already occupied, take the next colour in the colour order you are using for the plugs, looping around if needed, until a port with that colour is available.

White

  1. Take the position of the last port you plugged into, or the port matching the speaker colour if this is the first.
  2. If this port is still available, use it. Otherwise continue with the following instructions.
  • If this port comes later than the white port, go in reverse reading order, looping around if needed, until a port is available.
  • If this port comes earlier than the white port, go in reading order, looping around if needed, until a port is available.
  • If this port is the white port, go 5 steps in reading order, looping around if needed, until a port is available.