Hi everyone,
So the other day I was playing with expression evaluator and reading the Gold Wave manual on this tool, and discovered that the expression wave(n*2) pitches the open file up an octave. But wave(n*0.5) or wave(n/2) just produces a click and doesn't pitch it down like I expected. But if I create a new untitled file, and use wave1(n*0.5) it will pitch the previously open file down and place the result in my untitled file. If I try that last expression without the untitled file, I still get a click. In other words, I have to store the result in an untitled file for it to work.
Granted, using Gold Wave's pitch effect sounds far better than this, so this is just for curiosity's sake, but I do like the gritty artifacts . So I want to know what's going on, since this tool is still a mystery to me. Any ideas?
Thanks!
another expression evaluator question
-
- Site Admin
- Posts: 4372
- Joined: Wed Mar 10, 2004 6:43 pm
- Location: St. John's, NL
- Contact:
Re: another expression evaluator question
In the first case you have:
In the second case you have:
In the second case note how the value of wave[1] is replaced before it can be used in next iteration. The value of wave[0] gets used for the entire file.
The solution is to use a new file to store the result so that none of the values are overwritten.
Code: Select all
wave[0] = wave[0]
wave[1] = wave[2]
wave[2] = wave[4]
wave[3] = wave[6]
...
Code: Select all
wave[0] = wave[0]
wave[1] = wave[0] value for index 1 is replaced here!
wave[2] = wave[1] value for wave[1] was set to wave[0]
wave[3] = wave[1]
...
The solution is to use a new file to store the result so that none of the values are overwritten.