|
Post by sound on Jul 20, 2022 21:32:29 GMT
P.S. The entire compilation (and source code) of Audacity is included in the prerequisite folder as well as a script to install it and copy the necessary files to make everything work.
|
|
|
Post by reden on Jul 20, 2022 21:39:51 GMT
Sad that such bloat is required. That's what some linux users call unneeded complexity: bloat. There must be a way to make it work with commandline Nyquist.
|
|
|
Post by sound on Jul 20, 2022 21:58:47 GMT
Here's the stripped down version of the command that automatically converts it in Audacity without user input:
(setf carrier 17500) (setf *nyquist-srate* (/ *sound-srate* 2.0)) (setf carrier (max 14000 (min carrier (- *nyquist-srate* 3000)))) (setf cutoff (min (/ carrier 2.0) (- *nyquist-srate* carrier))) (defun cut (function sound frequency) (dotimes (ignore 10 sound) (setf sound (funcall function sound frequency)))) (defun subliminal (sound) (let ((result (mult 2 (cut #'lowpass8 (hp sound 80) cutoff) (hzosc carrier)))) (cut #'highpass8 result carrier))) (if (< *sound-srate* 44100) (princ) (multichan-expand #'subliminal s))
|
|
|
Post by sound on Jul 20, 2022 22:07:00 GMT
I had to put it as a plugin, because "NyquistPrompt" is broken in Audacity via command line. Therefore I put it in a plug-in and just call the plug-in.
|
|
|
Post by reden on Jul 20, 2022 22:10:55 GMT
I had to put it as a plugin, because "NyquistPrompt" is broken in Audacity via command line. Therefore I put it in a plug-in and just call the plug-in. I meant the commandline standalone Nyquist distribution at www.cs.cmu.edu/~music/nyquist/ .
|
|
|
Post by sound on Jul 20, 2022 22:12:27 GMT
I know!
|
|
|
Post by sound on Jul 21, 2022 0:25:24 GMT
Working on it. Almost finished and ready to distribute on Github.
|
|
|
Post by sound on Jul 21, 2022 0:46:10 GMT
Some strange things when compiling Audacity on a new system:
I keep needing to copy files around the source code (i.e. copy from one directory to another) for it to compile...
|
|
|
Post by sound on Jul 21, 2022 0:50:18 GMT
It might actually be an issue with the ZIP file I used to compress the whole thing. Hahahaha. Ugh. Always something.
Edit: no it is not that. Hmm. The files were somehow removed from the VM in random folders.
|
|
|
Post by reden on Jul 21, 2022 0:52:07 GMT
It might actually be an issue with the ZIP file I used to compress the whole thing. Hahahaha. Ugh. Always something. Did that rip some unix permissions off? For them to be kept you need tar and tar.gz/xz, etc.
|
|
|
Post by sound on Jul 21, 2022 0:55:22 GMT
I don't know, that is a good point. I do sudo chmod u+x prerequisites.sh before running a script. I don't know if the other permissions need to be kept. I should make a tar.gz instead.
|
|
|
Post by sound on Jul 21, 2022 1:54:06 GMT
So far so good. So far so good. So far so good. So far so good. So far so good. So far so good. So far so good. So far so good. (Resonance Field, help me ).
|
|
|
Post by sound on Jul 21, 2022 2:09:29 GMT
Same error again.
Hours spent on this error.
I finally fixed it.
It was... it was... it was a fucking flag.
I added "-i" to one line in the script.
Just... just an "i". Yeah...
Onwards!
|
|
|
Post by sound on Jul 21, 2022 3:48:17 GMT
It is done. I made a subliminal in a VM!
One last test to ensure it works in a fresh VM again, then I publish on GitHub.
|
|
|
Post by reden on Jul 21, 2022 4:48:27 GMT
It is done. I made a subliminal in a VM!
One last test to ensure it works in a fresh VM again, then I publish on GitHub. How large is the vm? Github has file size limits.
|
|