Converting and Processing Audio
Re: Converting and Processing Audio
Hi emcodem,
now I´ve got more time again.
I downloaded MrsWatson. It seems to be excactly what I´m looking for
Unfortunately, it also fails here again because of mine command skills.
I tried a few days with the commands but nothing works.
(Sorry for bugging you into helping me coding)
Do you think it´s possible to combine ffmpeg commands AND MrsWatson commands in FFAStrans?
I imagined the following Chain. I know it´s not your Software but maybe we can find a solution together
Watchfolder (known)
Audio Extraction (known)
Process extracted Audio through a VST by MrsWatson (unknown how to command)
Make a 320kbps(CBR) MP3 with ffmpeg +Suffix+Timestamp as in your original code (known)
how would this Command looks like?
i can´t make sense of this commands
https://github.com/teragonaudio/MrsWatson
MrsWatson is installed correctly und it starts in the "cmd" (See Pic below) The Arrow marks the PlugIn I would use for the Process
I will use the 64Bit Version of MrsWatson.
(If there is a reason to use the 32Bit Version of MrsWatson because of FFAStrans that would be fine too)
Hot to store and load Presets for the VST Plugin in MrsWatson could be the next big thing
Wish you a nice Day
PA
now I´ve got more time again.
I downloaded MrsWatson. It seems to be excactly what I´m looking for
Unfortunately, it also fails here again because of mine command skills.
I tried a few days with the commands but nothing works.
(Sorry for bugging you into helping me coding)
Do you think it´s possible to combine ffmpeg commands AND MrsWatson commands in FFAStrans?
I imagined the following Chain. I know it´s not your Software but maybe we can find a solution together
Watchfolder (known)
Audio Extraction (known)
Process extracted Audio through a VST by MrsWatson (unknown how to command)
Make a 320kbps(CBR) MP3 with ffmpeg +Suffix+Timestamp as in your original code (known)
how would this Command looks like?
i can´t make sense of this commands
https://github.com/teragonaudio/MrsWatson
MrsWatson is installed correctly und it starts in the "cmd" (See Pic below) The Arrow marks the PlugIn I would use for the Process
I will use the 64Bit Version of MrsWatson.
(If there is a reason to use the 32Bit Version of MrsWatson because of FFAStrans that would be fine too)
Hot to store and load Presets for the VST Plugin in MrsWatson could be the next big thing
Wish you a nice Day
PA
- Attachments
-
- Watson.PNG (122.52 KiB) Viewed 5647 times
Re: Converting and Processing Audio
Hi PA,
nice idea.
So, from my point of view, what you should do is first: Copy or move MrsWhatson to your FFAStrans-folder. So you can make use of the
Variable. This is handy in the CommandExecuter-Nodes. I use this for e.g. 7zip.
Next, try to get a hardcopy or a text-file of the help-content of MrsWatson:
then, your Workflow:
To process the audio, use a CommandExecutor-Node:
Also see: https://ffastrans.com/wiki/doku.php?id= ... d_executor
For further processing you can "set %s_source% variable to: ["OutputFolder.out.wav"]" in the lower third of the CommandExecutor-Node for your MP3-conversion.
just my 2cents...
cheers,
tom
nice idea.
So, from my point of view, what you should do is first: Copy or move MrsWhatson to your FFAStrans-folder. So you can make use of the
Code: Select all
%s_ffastrans_dir%
Next, try to get a hardcopy or a text-file of the help-content of MrsWatson:
Code: Select all
C:\Users\LoggedInUser\FFAStrans\MrsWatsonFolder\mrswatson64 --help > MrsWatson.txt
Maybe it is a good idea to Deliver the output from the previous node with a Deliver-Node. So you get an absolute Path to use in the CommandExecutor-Node: Select a Folder, Select Naming-Prefs.Watchfolder (known)
Audio Extraction (known)
Process extracted Audio through a VST by MrsWatson (unknown how to command)
Make a 320kbps(CBR) MP3 with ffmpeg +Suffix+Timestamp as in your original code (known)
To process the audio, use a CommandExecutor-Node:
Code: Select all
%comspec% /C "
"%s_ffastrans_dir%\MrsWatsonFolder\"
mrswatson64.exe --midi-file mysong.mid --output "OutputFolder.out.wav" --plugin piano,soft.fxp
"
For further processing you can "set %s_source% variable to: ["OutputFolder.out.wav"]" in the lower third of the CommandExecutor-Node for your MP3-conversion.
just my 2cents...
cheers,
tom
Last edited by ThomasM on Fri Mar 11, 2022 1:07 pm, edited 2 times in total.
Re: Converting and Processing Audio
btw. The SteroTool is very, I mean VERY complex. I hope that it supports the Presets. I never tested that as I only use it as a tool on demand and never needed to use it for different presets... good luck!
Re: Converting and Processing Audio
Nice @ThomasM what you wrote was very spot on!
How lucky PA is to have another ffastrans supporter using the steinberg stuff
How lucky PA is to have another ffastrans supporter using the steinberg stuff
emcodem, wrapping since 2009 you got the rhyme?
Re: Converting and Processing Audio
Hi Thomas,
no matter what i try my commands don't work. Can you give me a hint what could be the reason?
ThomasM...are you the "LoudMax Guy"? ThomasMundt?
no matter what i try my commands don't work. Can you give me a hint what could be the reason?
Code: Select all
%comspec% /C ""%s_ffastrans_dir%\C:\FFAStrans\MrsWatson-0.9.8\Windows\64\"
mrswatson64.exe -i "%s_source%" .mp3" --output "C:\Users\USERNAME\Desktop\VST Host Test\OUT%s_original_name%_WATSON%i_hour%_%i_min%_%i_sec% --plugin vst_stereo_tool_64"
Re: Converting and Processing Audio
Hi PA79,
no - sorry - I´m Not Thomas Mundt.
First - Try your CommandLine in the Windows built-in Commandexecutor / Shell. If the command works there, it will work in the FFAStrans-Node.
Second - Your code has a space in the Filename: maybe works? And the output-Filename is also not Quoted correctly: maybe works?
third - try with a simple example - even with a simple Processor, not a Waveshell-based, maybe a freebee without dependencies and not the whole bunch of variables at once.
fourth - maybe use the GenerateText-Node in FFAStrans as a debugger for Variable-contents and -values. Sometimes this gives hints where to use a (s)tring or a (i)nteger variable for values.
Hope this helps... good luck!
tom
no - sorry - I´m Not Thomas Mundt.
First - Try your CommandLine in the Windows built-in Commandexecutor / Shell. If the command works there, it will work in the FFAStrans-Node.
Second - Your code has a space in the Filename:
Code: Select all
"%s_source%" .mp3"
Code: Select all
"%s_source%"
Code: Select all
"C:\Users\USERNAME\Desktop\VST Host Test\OUT%s_original_name%_WATSON%i_hour%_%i_min%_%i_sec% --plugin vst_stereo_tool_64"
Code: Select all
"C:\Users\USERNAME\Desktop\VST Host Test\OUT%s_original_name%_WATSON%i_hour%_%i_min%_%i_sec%.WAV" --plugin vst_stereo_tool_64
third - try with a simple example - even with a simple Processor, not a Waveshell-based, maybe a freebee without dependencies and not the whole bunch of variables at once.
fourth - maybe use the GenerateText-Node in FFAStrans as a debugger for Variable-contents and -values. Sometimes this gives hints where to use a (s)tring or a (i)nteger variable for values.
Hope this helps... good luck!
tom
Re: Converting and Processing Audio
as Tom says, you need to take care about the quotes. Rule of thumb is that only filepaths shall be enquoted.%comspec% /C ""%s_ffastrans_dir%\C:\FFAStrans\MrsWatson-0.9.8\Windows\64\"
mrswatson64.exe -i "%s_source%" .mp3" --output "C:\Users\USERNAME\Desktop\VST Host Test\OUT%s_original_name%_WATSON%i_hour%_%i_min%_%i_sec% --plugin vst_stereo_tool_64"
For the moment, leave the comspec /C stuff out completely, it should not be needed for what you do.
So, let's dig into each and every issue:
Problem 1:
Code: Select all
"%s_ffastrans_dir%\C:\FFAStrans\MrsWatson-0.9.8\Windows\64\"mrswatson64.exe
Code: Select all
"C:\FFAStrans\C:\FFAStrans\MrsWatson-0.9.8\Windows\64\mrswatson64.exe"
Code: Select all
"%s_ffastrans_dir%\MrsWatson-0.9.8\Windows\64\"
Code: Select all
-i "%s_source%" .mp3"
Code: Select all
-i "%s_source%.mp3"
Code: Select all
--output "C:\Users\USERNAME\Desktop\VST Host Test\OUT%s_original_name%_WATSON%i_hour%_%i_min%_%i_sec%
Code: Select all
--output "C:\Users\USERNAME\Desktop\VST Host Test\OUT%s_original_name%_WATSON%i_hour%_%i_min%_%i_sec%"
Code: Select all
--plugin vst_stereo_tool_64"
Code: Select all
--plugin vst_stereo_tool_64
to:%comspec% /C ""%s_ffastrans_dir%\C:\FFAStrans\MrsWatson-0.9.8\Windows\64\"
mrswatson64.exe -i "%s_source%" .mp3" --output "C:\Users\USERNAME\Desktop\VST Host Test\OUT%s_original_name%_WATSON%i_hour%_%i_min%_%i_sec% --plugin vst_stereo_tool_64"
On commandline this would translate to:"%s_ffastrans_dir%\MrsWatson-0.9.8\Windows\64\mrswatson64.exe" -i "%s_source%.mp3" --output "C:\Users\USERNAME\Desktop\VST Host Test\OUT%s_original_name%_WATSON%i_hour%_%i_min%_%i_sec%" --plugin vst_stereo_tool_64
And don't forget as Tom said, first get it working on commandline without ffastrans and therefore without variables, and once you got a working commandline, you replace all stuff that needs to be replaced by variables and insert it into a commandline processor in ffastrans."c:\ffastrans\MrsWatson-0.9.8\Windows\64\mrswatson64.exe" -i "c:\temp\test.mkv.mp3" --output "C:\Users\USERNAME\Desktop\VST Host Test\OUTtest_WATSON12_20_56" --plugin vst_stereo_tool_64
emcodem, wrapping since 2009 you got the rhyme?
Re: Converting and Processing Audio
Short Update...
Many thanks to Tom and Emcodem
For testing i´m using a plugin with less Parameters (LUveler)
The Command Line Process works fine:
But when i try to set this Commands to FFAstrans it wont work. The "Status Monitor" says "succes" but there is no file in my Output Directory.
Commands for FFAstrans:
Many thanks to Tom and Emcodem
For testing i´m using a plugin with less Parameters (LUveler)
The Command Line Process works fine:
Code: Select all
"C:\FFAStrans\MrsWatson-0.9.8\Windows\64\mrswatson64.exe" -i "C:\Users\USERNAME\Desktop\VST Host Test\IN\8884.wav" --output "C:\Users\USERNAME\Desktop\VST Host Test\OUT\8884_EDIT.wav" --plugin LUveler64 --parameter 0,1.0 --parameter 1,0.9 --parameter 2,0.95
Commands for FFAstrans:
Code: Select all
"%s_ffastrans_dir%\MrsWatson-0.9.8\Windows\64\mrswatson64.exe" -i "%s_source%.wav" --output "C:\Users\USERNAME\Desktop\VST Host Test\OUT\%s_original_name%_WATSON.wav" --plugin LUveler64 --parameter 0,1.0 --parameter 1,0.9 --parameter 2,0.95
Re: Converting and Processing Audio
Aye PA,
before i try it out, can you confirm that the input file exists, namely
In other words, the file you submitted plus additional .wav, e.g. you submit test.mov and therefore "%s_source%.wav" would translate to "test.mov.wav".
It is for sure best if you just upload your workflow. Also using the webinterface is very helpful for custom commandlines because you can investigate easily there the output of your commandline.
before i try it out, can you confirm that the input file exists, namely
Code: Select all
"%s_source%.wav"
It is for sure best if you just upload your workflow. Also using the webinterface is very helpful for custom commandlines because you can investigate easily there the output of your commandline.
emcodem, wrapping since 2009 you got the rhyme?
Re: Converting and Processing Audio
Hey Emcodem,
in the first Step of Converting (See pic) i just make a .WAV of any Audiofile. Because MrsWatson just can handle .WAV files.
In the second step i try to process the Converted .WAV with MrsWatson
IDK if this is the way to go.
If there is a possibility to make my Workflow in one step, that would be nice.
My Idea was:
- Convert any Audio to .WAV with ffmpeg Node
- Process the .WAV with MrsWatson -> .WAV Output
- Convert the processed Audio to mp3 320kbits CBR with ffmpeg Node
- Delete the .WAV Output of the Temp Folder (optional feature)
I wish you guys a great weekend
Edit....
The Second ("Folder TEMP") does not work
in the first Step of Converting (See pic) i just make a .WAV of any Audiofile. Because MrsWatson just can handle .WAV files.
In the second step i try to process the Converted .WAV with MrsWatson
IDK if this is the way to go.
If there is a possibility to make my Workflow in one step, that would be nice.
My Idea was:
- Convert any Audio to .WAV with ffmpeg Node
- Process the .WAV with MrsWatson -> .WAV Output
- Convert the processed Audio to mp3 320kbits CBR with ffmpeg Node
- Delete the .WAV Output of the Temp Folder (optional feature)
I wish you guys a great weekend
Edit....
yes, that file exist. The first step in my Workflow generates a .WAV in my Folder.wrote: before i try it out, can you confirm that the input file exists, namely
The Second ("Folder TEMP") does not work
- Attachments
-
- VST Host Test.json
- (5.68 KiB) Downloaded 262 times
-
- Workflow_new.jpg (507.42 KiB) Viewed 5436 times