try to get this text to show up on dialog

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
steve
Site Admin
Posts: 80752
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: try to get this text to show up on dialog

Post by steve » Tue Feb 09, 2021 12:01 am

curtisfullmvgaya wrote:
Mon Feb 08, 2021 11:59 pm
i need away to call for nyquist to call this;

color picker:
Nyquist can't do that.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

curtisfullmvgaya
Posts: 19
Joined: Thu Feb 04, 2021 3:30 pm
Operating System: Windows 10

Re: try to get this text to show up on dialog

Post by curtisfullmvgaya » Tue Feb 09, 2021 12:02 am

also steve heres some you might like try this web site: https://melobytes.com/en/app/melobytes it text to music web site but only in html or xml

curtisfullmvgaya
Posts: 19
Joined: Thu Feb 04, 2021 3:30 pm
Operating System: Windows 10

Re: try to get this text to show up on dialog

Post by curtisfullmvgaya » Tue Feb 09, 2021 12:07 am

ok i am have diffeculty with pick my colors for atonesments. how do i that?

Code: Select all

;nyquist plug-in
;version 3
;type process
;categories "http://lv2plug.in/ns/lv2core/#DistortionPlugin"
;name "text to music..."
;action "generate text to music..."
;info " By curtisfullmvgaya. GPL v2.\n\n generates text to music with sing and chanting and light language."
;; generator.ny by curtisfullmvgay, March 2011
;; Version 1.0
;; Released under terms of the GNU General Public License version 2
;; http://www.gnu.org/licenses/gpl-2.0.html

;control freq "generate Crossover Frequency" int "Hz" 3200 2000 4500
;control mode "voice generator" choice "male,female voice" 0 -10 10
;control mode "back ground voice voice generator" choice "male,female voice" 0
;control mode "Harmonic Generator Mode" choice "Even order,Odd order" 0
;control mode "select color button widget" select-colors "blue,red,yellow,all"  select
;control filename "text to music geneerator" file "" open
;control th_ng "generate Noise Gate Threshold" int "dB" -28 -40 -16
;control effmix "generate Mix Level" int "dB" -10 -26 6
;control output "Output" choice "Mix (Normal),Effect Only,Effect Level" 0

(setq freq (max (min freq (/ *sound-srate* 4)) 20));; limit freq selection

(setf limit 0.20);; this is the max positive limiting value
(setf lim1 (* -1 limit))
(setf ratio1 (/ 
(if (= select-colors: rainbow, mode 0)
    (setf lim2 (* lim1 -11))
    (setf lim2 (* lim1 -1.1)))
(setf ratio2 (/ lim2))

(setf fcomp (* freq 0.93)); generate crossover compensation eq
(setf gcomp (max 0 (/ (+ voice effmix 16) 5.2)))
(setf wcomp 0.81)

(setf fc_ng (* freq 0.125)); noise gate parameters
(setf trise 0.005)
(setf tfall 0.425)
(setf lookah (+ trise tfall)); must be (tf+tr) or higher for correct operation
(setf floor (db-to-linear -26))

; modified 1-pole highpass (due to gain loss at mid to high frequencies)
(defun hp1 (x fc)
  (if (< fc 493) (hp x fc)
      (if (< fc 2375)
          (scale-db (- (log fc) 6.2) (hp x fc))
          (scale-db (- (* (log fc) 2) 13.97) (hp x fc)))))

; sidechain filter function, 3rd order butterworth
(defun sidechain (sig gain fc)
  (highpass2 
    (hp1 
      (scale-db gain
        (eq-highshelf sig (/ *sound-srate* 3.1) -4 1.0))
      (* fc 1.07))
    (* fc 1.0) 1.06))

; the actual soft clipping limiter (similar to a diode limiter)
(defun voice (sig)
  (let* ((top (mult ratio1 (s-max sig 0))); scaled positive peaks
          (bottom (sum (mult ratio2 (s-min sig 0))))); scaled neg peaks
    (sim
      (scale lim1 (sum (s-exp top) -1))
      (scale lim2 (sum (s-exp bottom) -1)))))

; generate noise gate, for stereo in apply in mono to preserve stereo image
(defun noisegate (sig thres fsig_hp)
  (if (arrayp s)
      (gate (hp (scale-db voice (sum (aref sig 0) (aref sig 1))) fsig_hp)
        lookah trise tfall floor (* (db-to-linear thres) 2))
      (gate (hp (scale-db voice s) fsig_hp)
        lookah trise tfall floor (db-to-linear thres))))

(case output
  (0  (eq-band 
        (sim s
          (scale-db (+ effmix 0.13)
            (hp1 (mult (multichan-expand #'voice (sidechain s voice freq))
                       (noisegate s th_ng fc_ng))
              (/ freq 10))))
        fcomp gcomp wcomp))
  (1  (mult (multichan-expand #'voice (sidechain s voice freq))
            (noisegate s th_ng fc_ng)))
  (2  (scale (/ 0.501 limit) ; 8dB gain at lim=0.2
        (mult (sidechain s voice freq)
              (noisegate s th_ng fc_ng)))))

steve
Site Admin
Posts: 80752
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: try to get this text to show up on dialog

Post by steve » Tue Feb 09, 2021 12:13 am

9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply