You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3313,7 +3313,10 @@ Restarts the channel.<br>
3313
3313
Computes the DFT of the sound channel.<br>
3314
3314
What even is that.<br>
3315
3315
3316
-
#### IGModAudioChannel:EncodeToDisk(string fileName, number bassFlags, function callback, bool async = false)
3316
+
#### bool(success), string(errMsg - nil) IGModAudioChannel:EncodeToDisk(string fileName, number bassFlags, function callback, bool async = false)
3317
+
callback - `function(success, errMsg) end`<br>
3318
+
bassFlags - bitflags, see https://www.un4seen.com/doc/#bassenc/BASS_Encode_Start.html<br>
3319
+
3317
3320
Writes the channel into a file, the encoder internally used depends on the filename.<br>
3318
3321
Valid encoders are:<br>
3319
3322
-`.wav` (Requres `BASSENC` plugin)<br>
@@ -3327,11 +3330,6 @@ Valid encoders are:<br>
3327
3330
> This function requires the `BASSENC` plugin to work at all!<br>
3328
3331
> You can find all the plugins at https://www.un4seen.com/ drop them into the `bin/` folder besides `libbass.so`<br>
3329
3332
3330
-
> [!WARNING]
3331
-
> This function is a fucking gamble, I do not know why BASS decides this, though it behaves sometimes randomly.<br>
3332
-
> the current code for it seems to be somewhat stable, though any change like shifting it, adding arguments will cause issues<br>
3333
-
> until this is figured out this won't be changed in any way further (This could all point back to BASSENC itself having a bug specific to my usecase)<br>
3334
-
3335
3333
#### IGModAudioChannel:Update(number time)
3336
3334
Updates the channel for the given time in seconds<br>
0 commit comments