Rave Slayer

Motion-Reactive Cosplay Sword

The Rave Slayer is an interactive cosplay prop that generates dynamic sound effects based on real sword movements. Using a Micro:bit controller and its built-in accelerometer, the system detects swings and translates them into synthesized audio in real time.

Instead of relying on prerecorded sound files, all audio is generated directly on the microcontroller using waveform synthesis. Different sword movements trigger different sound expressions, creating a responsive audiovisual experience during sword fights or performances.

How it Works

The Micro:bit’s accelerometer continuously measures movement along the X, Y, and Z axes. By repeatedly performing sword swings and analyzing the sensor output through a debugging interface, movement thresholds were calibrated for four different swing directions.

When the sensor values fall within these calibrated ranges, the program triggers a corresponding sound expression.

All sounds are generated using mathematical waveforms (sine waves) rather than audio files. This constraint required designing sound effects directly through parameterized synthesis.

Physical Build

The sword itself was handcrafted using EVA foam, shaped and painted to resemble a cosplay prop.

The internal electronics include:

  • Micro:bit controller
  • Speaker
  • Battery pack and wiring

The controller is attached using Velcro, allowing it to be removed easily for recalibration or further code adjustments.

Project Details

  • Project status: Completed (University Project)
  • Role: Co-developer (Software & Interaction Design)

Technical Scope

  • Micro:bit embedded system
  • JavaScript (MakeCode environment)
  • Accelerometer sensor data processing
  • Procedural sound synthesis
  • Physical prototyping with EVA foam

Project Focus

  • Creative coding, physical computing
  • Interactive props for cosplay or performance
Sound Sword blueprint