Veikko Sariola
|
5f4b85b0a4
|
Change the Go API to have two versions: Render(buffer []float32), which always fill the whole buffer, and RenderTime(buffer []float32,int maxtime), which ends either when the buffer is full, or modulated time is reached.
|
2020-10-27 17:26:08 +02:00 |
|
Veikko Sariola
|
f495b0575a
|
Fix bug in song.go: the note was pulled from the song data incorrectly.
|
2020-10-26 12:55:14 +02:00 |
|
Veikko Sariola
|
debeaa181c
|
Fix bug in song.go: len(s.Patterns) should have been len(s.Tracks).
|
2020-10-26 12:55:14 +02:00 |
|
Veikko Sariola
|
470ba28592
|
Change the Render function in bridge.go to return a tuple of: number of samples rendered; bool indicating if rowend was reached; and a possible error.
The callbacks are gone; the row looping is the job of the user which is probably better for everyone.
|
2020-10-26 08:30:43 +02:00 |
|
Veikko Sariola
|
6c90ba2067
|
Implement a song struct to hold all the information of a single song (corresponding one .asm file) and Render function for it.
|
2020-10-24 23:25:23 +03:00 |
|