SMTOOL(1)
β¨ SMTOOL(1) β the smtool manual page, bestie β¨
πΈ NAME πΈ
okay so smtool is literally the tool to show/change SpectMorph data from .sm/.smset files π
β¨ SYNOPSIS β¨
smtool <sm_file>|<smset_file> <command> [ <command_specific_args> ]
π¦ DESCRIPTION π¦
smtool is a general purpose program that can perform operations on .sm/.smset files. Some of the operations extract data (like size), and others modify data (like auto-tune). If a .smset file is given as argument, the operation is performed on the individual .sm files that are contained in the .smset file. periodt.
π OPTIONS π
smtool options depend on the command used β the command specific arguments are listed below. iykyk π
π COMMANDS π
volume <percent>β compute average energy of the audio data around<percent>.fundamental-freqβ output fundamental frequency of the audio data.mix-freqβ output mixing frequency (sample rate) of the audio data.zero-values-at-startβ output zero-values-at-start property of the audio data.attackβ output attack parameters of the audio data.sizeβ output overview of the size in bytes of the different parts of the audio data.loop-paramsβ output loop parameters of the audio data.noise-params <frame_no>β output noise component of a frame of the audio data.frame <frame_no>β show original samples and reconstructed samples for one frame of the audio data.frame-params <frame_no>β show the freqencies/magnitudes of one frame of the audio data.total-noiseβ sum up all noise parameters of all frames of the audio data.nan-testβ check all frame data contents for NaNs.original-samplesβ show original samples of the audio data.freq <freq_min> <freq_max>β show all frequency entries of the audio data in the specified range.spectrum <frame_no>β compare original and reconstructed spectrum for a given frame.auto-loop <percent>β set a one frame loop that starts and ends at the same point (given by<percent>).tail-loopβ loop audio data at the end using a one frame loop.auto-tuneβ tune instrument using the(40%..60%)data to extract the actual frequency.tune-all-framesβ tune each frame of the instrument. heads up: this will discard minimal changes in frequency which are normal for most instruments, so it might sound artificial.auto-volume <percent>β normalize audio volume, using the volume around<percent>as reference.auto-volume-from-loopβ normalize audio volume, using the volume of the looped part as reference.
π SEE ALSO π
smenc.1 <https://testbit.eu/wiki/Smenc.1>smplay.1 <https://testbit.eu/wiki/Smplay.1>
π and that's the whole manual, bestie β Revision 586, dated 2011-07-20, SMTOOL(1), mwah π
π¦ where this page comes from
- arch rolling: spectmorph-tools 0.6.1-2 Β· LGPL-2.1-or-later
- nixos 26.05: spectmorph 0.6.1
- nixpkgs unstable: spectmorph 0.6.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms