Menu

#9 LoopAuditioneer fails to show more than 16 loops

v1.0_(example)
closed
nobody
None
1
2021-09-05
2021-09-05
No

While experimenting with some loop tools, I discovered a possible LoopAuditoneer bug. If a sample has more than 16 loops (I know, this is a very unusual and rare situation) loops 17 and greater are not shown correctly.

The attached archive also contains screenshots of LoopAuditioneer showing the issue.

1 Attachments

Discussion

  • Lars Palo

    Lars Palo - 2021-09-05

    Well, it's not directly a bug but poor design in some ways... Libsndfile, that is used for the file I/O handling, can only deal with 16 loops. Internally, LoopAuditioneer can handle more than 16 loops ,but only 16 will (or should) be saved. In the files you've attached there's garbage start/end information for the loops above 16, don't know if it's actually garbage in the file or if it's caused by libsndfile trying to read more loops than it can handle. However, I think that I'll have to implement a limitation in LoopAuditioneers reading/writing of loops from/to the .wav file to avoid the garbage coming in from loop 17+.

     
  • Lars Palo

    Lars Palo - 2021-09-05

    Added check to not try importing more than 16 loops in rev 59.

     
  • Lars Palo

    Lars Palo - 2021-09-05
    • status: open --> closed