AUDIOLIZER¶
Market audiolization dashboard¶
Here is the midi file for the above plot.
Visit the documenation site to learn how it works!
Requirements¶
- numpy
- pandas
- plotly
- Historic-Crypto (pip)
- pyaudio (conda)
- audiogen (pip)
- psidash
pip install git+git@github.com:predsci/psidash.git
docs dependences (optional)
- mkdocs (pip)
- tabulate (pip)
Running from python¶
git clone https://github.com/asherp/audiolizer \
cd audiolizer \
python audiolizer.py
You should see something like the following output
audiolizer temp data: ./history/
Dash is running on http://0.0.0.0:8051/
* Serving Flask app 'audiolizer' (lazy loading)
* Environment: production
- WARNING: This is a development server. Do not use it in a production deployment.
- Use a production WSGI server instead.
* Debug mode: on
You may hear a startup sound when the application starts. If you don't, that's ok - the dashboard will still play through the browser!
Running from Docker¶
option 1: docker-compose¶
Now run the audiolizer application:
docker-compose up audiolizer
/home/audiolizer
directory.
Open your browser to http://localhost:80
option 2: docker run¶
Running without mounting the repo into container:
docker run -p 8051:8051 -it apembroke/audiolizer
option 3: docker run with temp directories mounted¶
Running with mounted temp directories:
docker run -v /tmp/audio_files:/home/audiolizer/audiolizer/assets -v /tmp/price_data:/home/audiolizer/audiolizer/history -p 8051:8051 -it apembroke/audiolizer