0

我有一些混音器的数据,例如:

[
  {
    "sample": "sample1.mp3",
    "time": 0
  },
  {
    "sample": "sample2.mp3",
    "time": 0.3342
  },
  {
    "sample": "sample3.mp3",
    "time": 0.3342,
    // stop after means interrupt play this sample on this time in time scale
    "stop_after": 0.3442
  },
  {
    "sample": "sample4.mp3",
    "time": 1.22443
  },
  {
    "sample": "sample1.mp3",
    "time": 1.223434,
    "stop_after": 1.224244
  }
]

创建单个文件 mp3 的最简单方法是什么?我将在 PHP 上为此编写一个包装器。我只需要了解正确的方法和算法。

4

0 回答 0