Group members :
WiiOui is a real-time audio effects device. The WiiMote is used to add audio effects to streaming audio in an interactive way.
This project combines audio DSP, Bluetooth, wav file player modification, RTOS, and speaker amplification.
Connecting to the Wiimote was achieved through BlueUSB. It detects the attached bluetooth dongle and starts probing for connections. Once the link has been established with the Wiimote, it locks itself in a loop to read 3-axis data as well as the various buttons. This persists until reset or battery death.
We used positional data to determine the direction of the top face or the front nose of the Wiimote. These were divided into regions to determine states and were otherwise set to default. Below the states are shown. From top left to bottom right: Down, Up, Left, Right. The LEDs build into the mbed are also associated with one state each for clarity purposes.
The starting base was the WavePlayer library. All audio effects were done by intercepting the read-in value from the .wav file, converting to float, and applying audio effects before sending the final value for the sample to the WavePlayer library's normal routine.
Here are the currently implemented effects.
Hold A Turn left to reduce the volume or right to increase it
Hold/swing Wiimote 90 degrees to left, Press B
Adds a time delayed version of the audio stream to itself. The time delay varies sinusoidally with a tunable frequency and amplitude.
Hold/swing Wiimote 90 degrees up, Press B
Adds two time delayed versions of the audio stream to itself. The weights for each stream are tunable and are normalized to one.
Hold/swing Wiimote 90 degrees to right, Press B
Crates a scratchy sound by reducing the quality of the audio stream by converting all 16 bit audio samples into 8 bit samples.
- Bluetooth dongle (add the model)
Audio jack breakout
Here is our work :
1 comment on WiiOui:
Please log in to post comments.