playInGroup method

Future<void> playInGroup(
  1. Map<int, List<Float64List>> data
)

Plays multiple sounds at the same time, this method is for reducing delays in each sounds data must contain 3 length integer list. Each value in list represents {note, pan, number of notes (can be decimal)} For example, if 1 pitched note will be played 10 times in single session with panned to right, data must be {1, 1, 10} Keys in data must contain id of each sound.

Be aware that if number of notes are too large, it may lead to awful sound

Implementation

Future<void> playInGroup(Map<int, List<Float64List>> data) async {
  await _channel.invokeMethod("playInGroup", {"data" : data});
}