Skip to content

ariessa/Melofy

Repository files navigation

About the App

A Flutter application to generate melody from audio input. It can run on Android version 7.1.2 and above.


Understanding the App

The features of this app are as follows:

● Register

● Log In

● Record Audio

● View the Recorded Audio

● Play the Recorded Audio

● Pause the Recorded Audio

● Delete the Recorded Audio

● Use the Recorded Audio

● Generate Melody

● View the Generated Melody

● Play the Generated Melody

● Pause the Generated Melody

● Favourite the Generated Melody

● Share the Generated Melody

● Close the Generated Melody

● View Generated Melodies

● View Favourited Melodies

● View In-App Tutorials

● Log Out


Prerequisites

Melofy app requires Melofy API to function as intended. This is because the melody generation part is in Melofy API.

  1. Deploy Melofy API locally.

  2. Change hostname in Melofy app when sending POST request.


Building and Releasing the APKs

NOTE: If release builds on Android fail and mentions flutter_ffmpeg, make sure that mavenCentral() is defined as a repository in your build.gradle and it is listed before jcenter().

  1. Clear build cache
flutter clean
  1. Get depenedencies listed in pubspec.yaml
flutter pub get
  1. Build APKs by splitting them per Application Binary Interface (ABI)
flutter build apk --split-per-abi

Testing the App

  1. Find out your device's CPU architecture.

NOTE: Refer to this article to find out your device's CPU architecture.

  1. In Melofy's latest release, expand the Assets section.

  2. Download the specific release APK based on your device's CPU architecture and install it.

  • For ARM, use APK ending with armeabi-v7a.apk
  • For ARM64, use APK ending with arm64-v8a.apk
  • For x86_64, use APK ending with x86_64.apk

Or, you can download the fat APK that can be installed on ARM, ARM64, and x86_64.

  • The Fat APK is the APK ending with fat.apk

WARNING I: There is no apk for x86 Android. This is because Flutter does not currently support building for x86 Android. Refer to this issue on Github.

WARNING II: These builds are intended for testing purposes only. Usage outside of testing may cause unexpected crashes and performance lags.


Database Examples

Firebase Cloud Firestore


Firebase Cloud Storage

About

A Flutter application to generate melody from audio input

Topics

Resources

Stars

Watchers

Forks

Languages