Introduction:
This Flutter project is designed to seamlessly integrate with Beyond software using OSC (Open Sound Control) commands. OSC is a protocol for communication among computers, sound synthesizers, and other multimedia devices. The primary goal of this project is to leverage OSC commands to establish reliable and efficient communication with Beyond software, enhancing the capabilities of the Flutter application.
Key Features:
-
OSC Integration with Beyond Software:
- Utilizes OSC commands to establish a communication link with Beyond software.
- Implements OSC messages to send and receive data between the Flutter application and Beyond software.
-
BLoC Architecture:
- Leverages the BLoC pattern to manage the application's state and business logic.
- Separates OSC integration logic into dedicated BLoCs for modularity and maintainability.
-
Floor for Local Database:
- Integrates Floor for local database management to store OSC-related data and network configurations locally.
-
GetIt for Service Location:
- Implements GetIt to efficiently manage connection repositories, services and dependencies.
- Enhances the application's scalability and maintainability through proper service location.
Tech Stack:
- Dart
- BLoC Architecture
- OSC (Open Sound Control)
- Floor (Local Database)
- GetIt (Service Location)
- KISS Architecture
OSC (Open Sound Control) Working:
OSC is a protocol that enables communication between devices by sending messages in a simple, human-readable format. In the context of this Flutter project:
-
Sending OSC Messages:
- The Flutter application generates OSC messages based on user interactions or predefined events.
- OSC messages typically include an address pattern and zero or more arguments.
- Example: Sending an OSC message to change the color in Beyond software:
/color 255 0 0
(sets color to red).
-
Receiving OSC Messages:
- The Flutter application listens for incoming OSC messages from Beyond software.
- Upon receiving a message, the application processes the OSC data and updates its state accordingly.
- Example: Receiving an OSC message with new coordinates:
/coordinates 100 50
(updates the application's display).
How to Run:
- Clone the repository.
- Ensure you have Flutter and Dart installed.
- Run
flutter pub get
to fetch the project dependencies. - Execute
flutter run
to launch the application on an emulator or connected device.
Screens: