v3.1.1multi_dropdown
功能强大且可高度自定义的流式 Flutter 小部件,适用于多种多选场景。
Harmony Forge 是一个将 Flask 和 Flutter 相结合的音乐生成平台。Flask 负责管理后端任务,如音乐生成、用户认证和模型监控,而 Flutter 的 Android 应用则提供直观易用的界面。两者协同工作,使用户能够通过机器学习模型和现代设计原则无缝创作音乐。
v3.1.1功能强大且可高度自定义的流式 Flutter 小部件,适用于多种多选场景。
一个用于解码HTML的小型库。支持所有命名字符引用、十进制字符引用和十六进制字符引用。
一个简单的 Dart 包,用于解码 JSON Web 令牌,并检查其过期时间
Android 和 iOS 上打开各种设置屏幕的最完整的 Flutter 插件包
以下为英文项目原文快照,最新内容请访问 GitHub。
Harmony Forge Logo
Harmony Forge is a music generation platform that combines the power of a Flask server for backend processing, a Flutter app for the Android client interface, and allows users to generate music seamlessly.
The Flask server acts as the backend for the Harmony Forge project. It handles music generation requests, manages user authentication and accounts, provides an admin panel for model management, and ensures a secure environment. Additionally, Harmony Forge leverages LSTM networks for MIDI generation, enabling users to create diverse musical compositions.
Music Generation with LSTM: Utilizes LSTM (Long Short-Term Memory) networks trained on MIDI datasets to generate music based on user preferences and inputs. The LSTM model can capture complex musical patterns and nuances, resulting in diverse and expressive MIDI outputs.
Multiple Instrument Support: Harmony Forge supports multiple instruments for MIDI generation, allowing users to specify instrument tracks and arrangements to create rich and varied musical compositions.
Custom Model Creation: Users have the flexibility to create custom LSTM models tailored to their musical style and preferences. By training the LSTM network on specific MIDI datasets, users can fine-tune the model to generate music that aligns with their artistic vision.
Clone the repository:
git clone https://github.com/jztchl/Harmony-Forge.git
Navigate to the Flask server directory:
cd Harmony-Forge/server
Install dependencies:
pip install -r needs.txt
Set up Configuration variables: Configure the following in the config.py after adding it:
import os
from datetime import timedelta
class Config:
SECRET_KEY = 'your_secret_key_here'
SQLALCHEMY_DATABASE_URI = 'sqlite:///users.db'
JWT_ACCESS_TOKEN_EXPIRES = timedelta(hours=3)
JWT_REFRESH_TOKEN_EXPIRES = timedelta(days=30)
MAIL_SERVER = 'smtp.example.com'
MAIL_PORT = 587
MAIL_USE_TLS = True
MAIL_DEFAULT_SENDER = your_email@example.com
MAIL_USERNAME = your_email@example.com
MAIL_PASSWORD = your_email_password
Run the Flask server:
python flask_app.py
The Flask server will run on http://localhost:5000.
Or you could run the project in the command line:
python control.py
By integrating LSTM networks for MIDI generation, Harmony Forge offers users the ability to create sophisticated and personalized musical pieces with rich instrumentation and customized model training.
The Harmony Forge project includes an Android Flutter app that serves as the client-side interface for users. Here are some key points about the Flutter app:
Install Flutter SDK and set up your development environment: Flutter Installation Guide
Clone the repository:
git clone https://github.com/jztchl/Harmony-Forge.git
Navigate to the Flutter app directory:
cd Harmony-Forge/flutter_app
Install dependencies:
flutter pub get
Configure the urls in api lib/api_endpoints.dart:
const String BASE_URL = 'server url';
note:be in same network running locally
Run the Flutter app:
flutter run
The Flutter app will build and run on your connected Android device or emulator.
Feel free to explore the full potential of Harmony Forge by setting up both the Flask server and Flutter app and experimenting with music generation and user interactions!