general_audio 0.0.2
general_audio: ^0.0.2 copied to clipboard
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 #
- Documentation
- Youtube
- Telegram Support Group
- Contact Developer (check social media or readme profile github)
ποΈ Features #
- β π±οΈ Cross Platform support (Device, Edge Severless functions)
- β ποΈ Standarization Style Code
- β β¨οΈ Cli (Terminal for help you use this library or create project)
- β π₯οΈ Api (If you developer bot / userbot you can use this library without interact cli just add library and use ποΈ)
- β π§©οΈ Customizable Extension (if you want add extension so you can more speed up on development)
- β β¨οΈ 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 #
π₯οΈ Install Library #
- Dart
dart pub add general_audio
- 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