Skip to content

khadar1020/Musicblocks-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Music Blocks is a Visual Programming Language and collection of manipulative tools for exploring musical and mathematical concepts in an integrative and entertaining way.

“Music is the arithmetic of sounds as optics is the geometry of light.” — Claude Debussy

“Mathematics and music are in a sense the same thing, with a different application.” — Roger Sessions

Music Blocks

Visit the Music Blocks website for a hands-on experience: https://musicblocks.sugarlabs.org.

Or download Music Blocks from the Google Play Store

Additional background on why we combine music and programming can be found here.

Getting Started with Music Blocks Lesson Plan Generator

There are several projects in Music Blocks, but only some of them have lesson plans. Additionally, only some of the concepts have lesson plans. In this project, we aim to create a chatbot that can generate lesson plans and answer your questions about Music Blocks.

Projects in Music Blocks -

alt tag

Setting Project locally

  1. Install a virtual environment of python

    pip install virtualenv
  2. setting up the Python environment

    python3 -m venv .venv
  3. Activate the virtual environment

    on windows

    .\.venv\Scripts\activate

    on macOS and Linux:

    source .venv/bin/activate
  4. Clone the Music Blocks repository to your local machine:

git clone https://github.com/khadar1020/Musicblocks-AI.git
  1. Navigate to the cloned repository:
cd Musicblocks-AI
  1. Install Ollama locally on your PC

    Link to the website - https://ollama.com/.

  2. Install llama3 on your PC using ollama and terminal

ollama pull llama3
  1. Checking whether llama3 is installed or not
ollama run llama3
  1. Also pull nomic-embed-text from ollama
ollama pull nomic-embed-text
  1. Then install all the requirements for the project
pip install -r requirements.txt
  1. Then run this command to create a vector database this will take time
python ingest.py
  1. Then run this final command to run the project locally on your PC
chainlit run model.py -w

License

Music Blocks AI is licensed under the AGPL

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages