dad-of-code / BrainSyncAi

A simple php website that generates binaural beats for any purpose using insights from ChatGPT.

Home Page:https://brainsyncai.dadofcode.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DEPRECATED

  • API Connection method needs to be updated along with many other methods. This project is no longer being updated or worked on.

BrainSyncAi

A simple php website that generates binaural beats for any purpose using insights from ChatGPT. The binaural beats generated by BrainSyncAi are intended for relaxation, focus, sleep aid, and similar applications. It's best served over your favorite music or sounds.

How to setup

Requirements

  • PHP 8.1+
  • Curl
  • ChatGPT API Key
  • Database

Setup

  1. Upload to environment
  2. Run composer install
  3. Create a database and add the brainsyncai.sql to the SQL database
  4. Add database details to the env
  5. Add a chatGPT api into the env
  6. Add URL to the env
  7. Rename the env to .env
  8. Launch the website

Note

This uses PHP to create the WAV files and is not efficient. So it does require quite a bit of RAM. I have it overidding the php.ini with 1G of ram. (We can probably come up with a better way to do this.)

Disclaimer

This was just a quick project I came up with and results could differ. I used chatGPT to help write the code as a of chat's capabilities. It performed well in some areas and horribly in others, but overall it was impressive to see what it came up with-Although writing this now, if I did this project again, Chat GPT 4o would probably perform wonders? Maybe. Either way this is now deprecated, but I am leaving this here as a testiment of where we started with ai.

Medical Disclaimer

The binaural beats generated by BrainSyncAi are intended for relaxation, focus, sleep aid, and similar applications. They are not intended to diagnose, treat, cure, or prevent any disease or medical condition.

  1. No Medical Claims BrainSyncAi does not claim to provide medical advice or treatment. The application's purpose is to generate binaural beats, which some research suggests may influence mental states. However, the effects can vary greatly among individuals.

  2. Not a Substitute for Professional Advice The content provided by BrainSyncAi is not intended to replace professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding a medical condition.

  3. User Responsibility Users are responsible for their use of BrainSyncAi. Any decisions made based on the binaural beats provided by BrainSyncAi are solely the user's responsibility. If you have a history of seizures, psychiatric disorders, or other health conditions, consult your healthcare provider before using the app.

  4. Risk of Use The use of BrainSyncAi is at your own risk. The creators, developers, and affiliates of BrainSyncAi shall not be held liable for any direct, indirect, incidental, consequential, or other damages resulting from the use or inability to use the application.

By using BrainSyncAi, you acknowledge and accept the terms of this health disclaimer. If you do not agree with any part of this disclaimer, refrain from using the application.

About

A simple php website that generates binaural beats for any purpose using insights from ChatGPT.

https://brainsyncai.dadofcode.com/

License:MIT License


Languages

Language:PHP 100.0%Language:Hack 0.0%