general_audio_dart 0.0.2

SDKdartflutter
Platformandroidioswindowslinuxmacosweb

General Audio is library for recording, playing anything sound from any device and support backend without flutter ui because this library is bindings ffi miniaudio

General Audio

General Audio Is library for help you record audio in cross platform

Copyright (c) 2024 GLOBAL CORPORATION - GENERAL DEVELOPER

📚️ Docs

  1. Documentation
  2. Youtube
  3. Telegram Support Group
  4. Contact Developer (check social media or readme profile github)

🔖️ Features

  1. 📱️ Cross Platform support (Device, Edge Severless functions)
  2. 📜️ Standarization Style Code
  3. ⌨️ Cli (Terminal for help you use this library or create project)
  4. 🔥️ Api (If you developer bot / userbot you can use this library without interact cli just add library and use 🚀️)
  5. 🧩️ Customizable Extension (if you want add extension so you can more speed up on development)
  6. ✨️ Pretty Information (user friendly for newbie)

❔️ Fun Fact

This library 100% use on every my create project (App, Server, Bot, Userbot)

📈️ Proggres

  • 10-02-2025 Starting Release Stable With core Features

Resources

  1. MODEL

📥️ Install Library

  1. Dart
dart pub add general_audio
  1. Flutter
flutter pub add general_audio_flutter

🚀️ Quick Start

Example Quickstart script minimal for insight you or make you use this library because very simple

import 'package:general_audio/general_audio.dart';
import 'package:io_universe/io_universe.dart';
void main(List<String> args) async {
  print("Start");
  GeneralAudio generalAudio = GeneralAudio(
    sharedLibraryPath: "../general_audio_flutter/linux/libgeneral_audio.so",
  );
  await generalAudio.ensureInitialized();
  final GeneralAudioRecorder generalAudioRecorder = generalAudio.createRecordOrGetRecord(
    outputRecordFilePath: "new_record.wav",
  );
  await generalAudioRecorder.start();
  print(generalAudioRecorder.isRecord);

  stdin.listen((e) async {
    if (generalAudioRecorder.isRecord) {
      await generalAudioRecorder.stop();
    }
    print(generalAudioRecorder.isRecord);
    exit(0);
  });
}

A Fact

This library is originally from SKKbySSK - coast_audio but because the code style is not easy to read so I tried to simplify it and try to support cross platform compile.

I did not try pull request because it is not possible to set someone

Copyright (c) 2024 GLOBAL CORPORATION - GENERAL DEVELOPER