I am working on a aproject and am having some serious trouble applying the sin function in my program. I'm not really sure why, but the program seems to not be recgonizing the sin function and I would really apprecieate any suggestions anyone may have. Thanks!
Here is a copy of my program:
;nyquist plug-in
;version 2
;type process
;name "Sin Help"
;action "Applying sin function..."
(setf a 8.75)
(setf c 34400)
(setf b 0.000763)
(setf l (sin 5))
Help applying the sin function
Forum rules
Audacity 1.2.x is now obsolete. Please use the current Audacity 2.1.x version.
The final version of Audacity for Windows 98/ME is the legacy 2.0.0 version.
Audacity 1.2.x is now obsolete. Please use the current Audacity 2.1.x version.
The final version of Audacity for Windows 98/ME is the legacy 2.0.0 version.
-
amanda_nussbaum
- Posts: 1
- Joined: Wed May 05, 2010 6:26 pm
- Operating System: Please select
Re: Help applying the sin function
The sin function requires the number to be a float, not an integer.
Try (setf l (sin 5.0))
Try (setf l (sin 5.0))
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)