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!