Search found 59476 matches

by steve
Mon Mar 31, 2014 12:19 pm
Forum: Nyquist
Topic: possible to make this plugin? ("auto draw wave")
Replies: 49
Views: 19094

Re: possible to make this plugin? ("auto draw wave")

This code allows you to generate short sections of a s sin curve within the selected region. The code lines that start with "(setq" set the parameters for generating the curve. If you want the curve to automatically fit to the start and end points, then you need to know how to calculate th...
by steve
Mon Mar 31, 2014 12:39 am
Forum: Nyquist
Topic: possible to make this plugin? ("auto draw wave")
Replies: 49
Views: 19094

Re: possible to make this plugin? ("auto draw wave")

Is it possible to expand your patch to have a curve instead of a straight line? That would be possible, but the hard part is that if you want a smooth transition between the original waveform and the new "line", you need to be able to calculate the curve. For example, if you were to use a...
by steve
Mon Mar 31, 2014 12:34 am
Forum: Windows
Topic: Low samplerate audio sounds lowpassed?
Replies: 21
Views: 2078

Re: Low samplerate audio sounds lowpassed?

The "sample duplication" part can be done quite easily with a Nyquist script. For example, to repeat each sample once: (setf sa (make-array (* 2 (truncate len)))) (setf ln (truncate len)) (setf samples (snd-fetch-array s ln ln)) (do ((i 0 (+ i 2)) (j 0 (1+ j))) ((>= i (* 2 ln))) (setf (are...
by steve
Mon Mar 31, 2014 12:20 am
Forum: Nyquist
Topic: possible to make this plugin? ("auto draw wave")
Replies: 49
Views: 19094

Re: possible to make this plugin? ("auto draw wave")

Assuming that you are talking about very short selections, joining with a straight line is not too difficult. Try running the following code in the "Nyquist Prompt" effect (Effect menu): (let* ((one (/ *sound-srate*)) ; duration of one sample in seconds. (end-time (- (/ len *sound-srate*) ...
by steve
Sun Mar 30, 2014 11:45 pm
Forum: Windows
Topic: Low samplerate audio sounds lowpassed?
Replies: 21
Views: 2078

Re: Low samplerate audio sounds lowpassed?

I've attached a project with three audio clips. The first is the original rom. Imported as "Raw Data", signed 8bit, mono, 20kHz. The second is my cheated 40kHz version of the rom. Raw, signed 8bit, mono, 40kHz The last is a recording I found of the rom played by the SpecDrum/possibly an e...
by steve
Sat Mar 29, 2014 8:24 pm
Forum: Windows
Topic: Low samplerate audio sounds lowpassed?
Replies: 21
Views: 2078

Re: Low samplerate audio sounds lowpassed?

It is composed of perfect duplicate samples @ 40kHz. What I uploaded is resampled to 44.1kHz. So you have the ROM samples, then duplicate each sample so that a,b,c,d... becomes a,a,a,a,b,b,b,b,b,c,c,c,c,d,d,d,d,d.... Then you "resample" it. How do you resample it? The reason that I'm aski...
by steve
Sat Mar 29, 2014 4:15 pm
Forum: Windows
Topic: Low samplerate audio sounds lowpassed?
Replies: 21
Views: 2078

Re: Low samplerate audio sounds lowpassed?

The second is my cheated 40kHz version of the rom. Raw, signed 8bit, mono, 40kHz How exactly did you make that? I was expecting to see duplicated samples. I'd like to hear the content over 10kHz even if it is result of aliasing/noise. For a sample rate of 20 kHz, there isn't any frequency content o...
by steve
Sat Mar 29, 2014 3:26 pm
Forum: GNU/Linux
Topic: EFFECT/AMPLIFY - odd behavior?
Replies: 12
Views: 5758

Re: EFFECT/AMPLIFY - odd behavior?

If there is technical reason to limit it to +/- 50db There needs to be some sot of limit for positive amplification. Even though Audacity processes in 32 bit float format, which has a huge dynamic range, there is still a limit to high high the amplitude can go (about +770 dB, or 3x10^38 linear). At...
by steve
Sat Mar 29, 2014 12:58 pm
Forum: Windows
Topic: Can't configure FFmpeg
Replies: 10
Views: 1345

Re: Can't configure FFmeg

Audacity does not currently support embedded album artwork. You will need to use a third party application to attach the artwork after exporting from Audacity.
by steve
Sat Mar 29, 2014 12:55 pm
Forum: Audio Processing
Topic: Graph guides
Replies: 2
Views: 1148

Re: Graph guides

Which version of Audacity are you using? (look in "Help > About Audacity".

In the current Audacity 2.0.5 there is (or at least "should be") a horizontal line at zero, as shown in this screenshot:

Image