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
x
đąī¸ Cross Platform support (Device, Edge Severless functions)x
đī¸ Standarization Style Codex
â¨ī¸ Cli (Terminal for help you use this library or create project)x
đĨī¸ Api (If you developer bot / userbot you can use this library without interact cli just add library and use đī¸)x
đ§Šī¸ Customizable Extension (if you want add extension so you can more speed up on development)x
â¨ī¸ 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