CardKB-BrainWaveGenerator-M5StickCPlus

所属分类:音频处理
开发工具:C++
文件大小:0KB
下载次数:0
上传日期:2024-01-05 22:07:03
上 传 者sh-1993
说明:  CardKB脑波发生器M5StickCPlus
(CardKB BrainWaveGenerator M5StickCPlus)

文件列表:
CardKB-BrainWaveGenerator-M5StickCPlus.ino
LICENSE

# CardKB-BrainWaveGenerator-M5StickCPlus A project utilizing the M5StickCPlus and a CardKB keyboard to generate brainwave frequencies. The system allows for the input of two distinct frequencies and a pulse rate to modulate the generated tones, which are then played through a web interface. ## Features - **Input Two Frequencies and Pulse**: Use the CardKB to input two different frequencies and a pulse rate. - **WebSocket Communication**: Real-time communication between the M5StickCPlus and the web client. - **Audio Generation**: Browser-based audio generation using the Web Audio API. ## Hardware Requirements - M5StickCPlus - CardKB - Any Wi-Fi enabled device with a modern web browser for the client-side ## Software Requirements - Arduino IDE for compiling and uploading the code to M5StickCPlus. - Any modern web browser (Chrome, Firefox, etc.) to access the generated web interface. ## Setup and Installation 1. **Assemble the Hardware**: Connect your CardKB to the M5StickCPlus. 2. **Load the Software**: Open the provided Arduino script in the Arduino IDE and upload it to the M5StickCPlus. 3. **Connect to Wi-Fi**: The M5StickCPlus will create a Wi-Fi access point named "Brainwave Generator." Connect to this network from your client device. 4. **Open the Web Interface**: Open a browser on the client device and go to the IP address of the M5StickCPlus, usually `192.168.4.1`. ## Usage 1. **Enter Frequencies and Pulse Rate**: Use the CardKB to input the desired frequencies and pulse rate. 2. **Start the Sound**: Press BtnA on the M5StickCPlus to start the sound generation ## Science-Based Frequency Combinations Here are some frequency combinations based on known brainwave states. These are intended for use with binaural or monaural beat generators to encourage the brain to "tune in" to a specific state. ### 1. Deep Relaxation - **Frequency 1:** 100 Hz - **Frequency 2:** 104 Hz - **Pulse:** 4 Hz (Theta range) - **Explanation:** Aims for Theta range to encourage deep relaxation, meditation, and creativity. ### 2. Focus and Concentration - **Frequency 1:** 200 Hz - **Frequency 2:** 215 Hz - **Pulse:** 15 Hz (Beta range) - **Explanation:** Utilizes Beta range to enhance focus, alertness, and problem-solving. ### 3. Deep Sleep Induction - **Frequency 1:** 150 Hz - **Frequency 2:** 154 Hz - **Pulse:** 4 Hz (Delta range) - **Explanation:** Delta range is used to induce deep sleep or restfulness. ### 4. Meditation and Mindfulness - **Frequency 1:** 200 Hz - **Frequency 2:** 210 Hz - **Pulse:** 10 Hz (Alpha range) - **Explanation:** Alpha range to aid in relaxation, calmness, and meditative states. ### 5. Quick Mental Refresh - **Frequency 1:** 500 Hz - **Frequency 2:** 520 Hz - **Pulse:** 20 Hz (Beta range) - **Explanation:** Beta range for a quick mental refresh during sustained tasks. ### 6. Creativity Boost - **Frequency 1:** 300 Hz - **Frequency 2:** 308 Hz - **Pulse:** 8 Hz (Alpha/Theta border) - **Explanation:** Border of Alpha and Theta for a mix of relaxation and alert awareness conducive to creativity. ### Notes on Usage - **Range Considerations:** Actual frequencies are higher than brainwave frequencies, but the difference (pulse) is in the intended range. - **Volume and Duration:** Use a comfortable volume and start with shorter periods to gauge reaction. - **Consult Professionals:** If seeking therapeutic effects or have health concerns, consult a healthcare professional before use. Use these combinations as tools for relaxation, focus, or creativity, not as medical treatment. Individual results may vary. ## Troubleshooting - Ensure that the M5StickCPlus is charged and correctly connected to the CardKB. - If the web page doesn't control sound, ensure the browser supports the Web Audio API and that you have interacted with the page to allow sound playback (due to browser autoplay policies). - Check the console in the web browser's developer tools for any errors or messages that might indicate issues. ## Contributing Contributions to the Brainwave Generator are welcome. Please fork the repository and submit a pull request with your enhancements or fixes. ## License This project is licensed under the [MIT License](https://github.com/aat440hz/CardKB-BrainWaveGenerator-M5StickCPlus/blob/master/LICENSE). ## Acknowledgements - Thanks to the M5StickCPlus and CardKB communities for support and inspiration. - Project inspired by the potential of brainwave entrainment and sound therapy.

近期下载者

相关文件


收藏者