Hi,
I’m searching the way to split a mono track into stereo but in the specific way that is: first 100ms of the input track is moved into right channel, next 100ms is moved into left channel, next 100ms into right and so on… Is it possible to do this using Nyquist. Any help will be appreciated.
steve
May 13, 2021, 10:55am
2
Most of the task can be done in Nyquist, but you will need to make your initial mono track into a 2 channel track first.
To do that:
Select the track
“Edit menu > Duplicate (Ctrl + D)”
From the context menu of the upper track, join the two tracks to create a 2 channel stereo track (see: https://manual.audacityteam.org/man/splitting_and_joining_stereo_tracks.html )
I’ll write back soon with some tips re. the necessary Nyquist code.
Trebor
May 13, 2021, 12:11pm
3
I’m searching the way to split a mono track into stereo but in the specific way that is: first 100ms of the input track is moved into right channel, next 100ms is moved into left channel, next 100ms into right and so on…
Does that mean the sound is only ever playing in one ear ? …
/uploads/default/original/3X/8/f/8fea33b901f855af2990bc390a89f94d5a10f236.flac
Then Robert J.H’s chopper code will do, (it has a cross-fade option too).
steve
May 13, 2021, 12:45pm
4
Try this in the Nyquist Prompt effect :
(setf pulse 100) ;pulse length in ms
(setf pulse (/ 500.0 pulse))
(if (arrayp *track*)
(let ((env (osc-pulse pulse 0))
mod
inv-mod)
(setf mod (mult 0.5 (sum 1 env)))
(setf inv-mod (mult -0.5 (sum -1 env)))
(vector
(mult mod (aref *track* 0))
(mult inv-mod (aref *track* 1))))
"Error\nStereo track required.")
Thank you steve and Trebor. Finally I decided to use the Stereo Butterfly (LFO) plug-in becouse I was able to soften channel changes.