Import List of Frequencies and Levels

This is a minor variation of the previous code that will probably make it easier to copy and paste your data:

(setf data(list

7.812500 -56.830444
15.625000 -102.577049
23.437500 -97.693710
31.250000 -86.344406

))
(simrep (i (/ (length data) 2))
  (scale (db-to-linear(nth (+ 1 (* i 2))data))(hzosc (nth (* i 2)data))))

In this version no special formatting is required - just paste the list of data pairs in the appropriate place.

Note that this will work for a large number of frequencies (over 100) but if you try using thousands of data pairs it will generate a stack overflow error.
As you’ve not said what you want this for, I don’t know if that will be a problem or not.