I admit I was a bit comfortable because actually it's really better to have a separate post for each submission.
So here is the update for the Suck Less Audio Modifier V2.7
- WAV file with Junk Chunk: audio rendering with DR is possible
- optimize "sampleRead"
- Filter string in Loadfile: Only * .wav files are displayed
- Tooltips of mode options changed
- Show errors in label
- Infos about bitrate and count of frames
- function getHeader optimized
- Add Filter (LP, BP, HP) for Slot1
- Add MapPath to readAll: Now you can use DR / Fusion MapPath
- Errordetect: Wrong bit-depth: Avoid loading 24 / 32bit Wavefiles and display error
@SecondMan - take as much time as you need - no stress -
I looked at the date in Atomizer, there I set the date to September 4
Suck Less Audio File Modifier [SUBMITTED]
Moderator: SecondMan
Suck Less Audio File Modifier
You do not have the required permissions to view the files attached to this post.
- SecondMan
- Site Admin
- Posts: 4781
- Joined: Thu Jul 31, 2014 5:31 pm
- Location: Vancouver, Canada
- Been thanked: 18 times
- Contact:
Re: Suck Less Audio File Modifier
Hi @JiiPii - I still owe you a bit of a code review. Haven't had the chance yet. I did open up the Fuse for a quick first impression. The date I referred to earlier is the one in the Fuse itself, not in the Atom file.
I did notice that there are some changes in indentation, like 2-space tabs instead of 4-space ones. Could I ask you to do a clean-up pass please, so it's all consistent?
That's all I have for now
I did notice that there are some changes in indentation, like 2-space tabs instead of 4-space ones. Could I ask you to do a clean-up pass please, so it's all consistent?
That's all I have for now

Re: Suck Less Audio File Modifier
Hello @SecondMan
Sorry for incorrect indentation. I use the Lua Development Tool and somehow it all moves with 2 spaces. I ran a beautyfier over there and now it looks good in the "normal" editor. I also corrected a naming error. I had forgotten the "junk" in the name of the FuRegisterClass
Sorry for incorrect indentation. I use the Lua Development Tool and somehow it all moves with 2 spaces. I ran a beautyfier over there and now it looks good in the "normal" editor. I also corrected a naming error. I had forgotten the "junk" in the name of the FuRegisterClass
You do not have the required permissions to view the files attached to this post.
- SecondMan
- Site Admin
- Posts: 4781
- Joined: Thu Jul 31, 2014 5:31 pm
- Location: Vancouver, Canada
- Been thanked: 18 times
- Contact:
Re: Suck Less Audio File Modifier
Just wanted to point something out - a beautifier may solve the indentation issue, but what it also did is completely change the layout of how classes are historically used in Fusion Lua code...
Consider this example of an input:
Code: Select all
InOutType = self:AddInput("Output Type", "OutputType", {
LINKID_DataType = "FuID",
INPID_InputControl = "MultiButtonIDControl",
INPID_DefaultID = "Sample",
INP_DoNotifyChanged = true,
MBTNC_StretchToFit = true,
MBTNC_ForceButtons = true,
{ MBTNC_AddButton = "Sample Values", MBTNCID_AddID = "Sample", MBTNCS_ToolTip = "Outputs the values in the sample file.", },
{ MBTNC_AddButton = "Sample Modifies Input", MBTNCID_AddID = "Modified", MBTNCS_ToolTip = "Adds the values in the sample file to the input parameter.", },
})
Code: Select all
InOutType =
self:AddInput(
"Output Type",
"OutputType",
{
LINKID_DataType = "FuID",
INPID_InputControl = "MultiButtonIDControl",
INPID_DefaultID = "Sample",
INP_DoNotifyChanged = true,
MBTNC_StretchToFit = true,
MBTNC_ForceButtons = true,
{
MBTNC_AddButton = "Sample Values",
MBTNCID_AddID = "Sample",
MBTNCS_ToolTip = "Outputs the values in the sample file."
},
{
MBTNC_AddButton = "Add Offset",
MBTNCID_AddID = "Modified",
MBTNCS_ToolTip = "Adds the values in the sample file plus offset"
}
}
)
Any compare tool out there also marks everything as changed, which makes code reviews between versions pretty much impossible.
Any chance you could do just the indentations please?
Re: Suck Less Audio File Modifier
I have to honestly admit that after the beautifier I only looked for my new code in the process function, it was certainly too fast. Ashes on my head (I hope you can understand the phrase). I was also a little irritated and can understand that very well.
I have now merged the two parts, the create part has the usual appearance and the process part of the beautifier, whereby I have set the usual ones for the function calls and the large if queries.
I also did a code comparison between 2.6 and 2.7 and now you can understand my changes very well.
I have now merged the two parts, the create part has the usual appearance and the process part of the beautifier, whereby I have set the usual ones for the function calls and the large if queries.
I also did a code comparison between 2.6 and 2.7 and now you can understand my changes very well.
You do not have the required permissions to view the files attached to this post.
- SecondMan
- Site Admin
- Posts: 4781
- Joined: Thu Jul 31, 2014 5:31 pm
- Location: Vancouver, Canada
- Been thanked: 18 times
- Contact:
Re: Suck Less Audio File Modifier
Haha, I do

Let's get it out in the wild and see what happens - update available in Reactor! Thanks!

Re: Suck Less Audio File Modifier [SUBMITTED]
For reasons inexplicable to me, a letter cheated in the fuse shortly before packing it
(I didn't put it in there consciously
) and this led to the error.
I beg your apologies.
Here is the corrected Version


I beg your apologies.
Here is the corrected Version
You do not have the required permissions to view the files attached to this post.
- SecondMan
- Site Admin
- Posts: 4781
- Joined: Thu Jul 31, 2014 5:31 pm
- Location: Vancouver, Canada
- Been thanked: 18 times
- Contact:
Re: Suck Less Audio File Modifier
Good timing! I was just looking into this. This indeed fixes it and it's available in Reactor now - thanks! 
