Search found 11 matches

by Flavioweb
Wed Nov 09, 2016 8:38 pm
Forum: Nyquist
Topic: How can i silence this?
Replies: 3
Views: 1332

Re: How can i silence this?

Ok... I have already made some attempts ... but i could not do anything useful... Is possible to use GATE or NOISE-GATE inside a Nyquist "script"? Can you explain me how to do it...? I still have only errors... (noise-gate (highpass8 *track* 3000)) gives me break: lookahead must be greater than rise...
by Flavioweb
Wed Nov 09, 2016 8:00 pm
Forum: Nyquist
Topic: How can i silence this?
Replies: 3
Views: 1332

How can i silence this?

I need to silence (extactly at zero!) the central "noise" of this -sound-.
This "noise to silence" is present in other places in the audio track...
How can i do this (automagically) with Nyquist?
by Flavioweb
Tue Nov 08, 2016 1:01 pm
Forum: Audio Processing
Topic: Schmitt trigger... Possible?
Replies: 22
Views: 2863

Re: Schmitt trigger... Possible?

If i use this code:

Code: Select all

(setf threshold 0.08)  ;tweak this value as necessary

(let* ((sig (lowpass2 (snd-abs (highpass8 s 3000)) 3000))
       (sig (s-max (diff sig threshold) 0)))
  (clip (mult sig ny:all) 0.8))
audacity just prompt "Nyquist returned the value: 0,080000" and do nothing on signal...
by Flavioweb
Mon Nov 07, 2016 12:01 pm
Forum: Audio Processing
Topic: Schmitt trigger... Possible?
Replies: 22
Views: 2863

Re: Schmitt trigger... Possible?

Ohhh... i see the light! Computer data is stored on tape in a way that, for each time signal falls from a positive value to zero, the reader can reset a timer. Time lapsed between 2 falls determine which bit is: short pulse is zero, long pulse is 1. So, the goal is to have, for each positive values ...
by Flavioweb
Sun Nov 06, 2016 7:14 pm
Forum: Audio Processing
Topic: Schmitt trigger... Possible?
Replies: 22
Views: 2863

Re: Schmitt trigger... Possible?

Here it is...
by Flavioweb
Sun Nov 06, 2016 2:50 pm
Forum: Audio Processing
Topic: Schmitt trigger... Possible?
Replies: 22
Views: 2863

Re: Schmitt trigger... Possible?

Thanks a lot Cyrano, i know there are hw dedicated solutions to dump tapes. But i have some signals recorded via not dedicated HW that i want to preserve. By now i understood that: (setf ar (snd-fetch-array *track* 882000 44100)) (setf output 0) (dotimes (i 882000 (snd-from-array 0 44100 ar)) (let (...
by Flavioweb
Sun Nov 06, 2016 11:59 am
Forum: Audio Processing
Topic: Schmitt trigger... Possible?
Replies: 22
Views: 2863

Re: Schmitt trigger... Possible?

Modulation scheme may vary from tape to tape and, sometimes, from program to program. My pourpose is to read signals from these tapes, rebuilding the "square wave data" and convert it to a "digital version" of the tape. I'still having troubles with Steve's cose, because seems like it modify the leng...
by Flavioweb
Fri Nov 04, 2016 10:26 pm
Forum: Audio Processing
Topic: Schmitt trigger... Possible?
Replies: 22
Views: 2863

Re: Schmitt trigger... Possible?

Ok, thanks a lot guys!
Nyquist code by Steve works as well...
Just one thing: it seems to produce a trail... that i don't want...
Is my mistake?
by Flavioweb
Fri Nov 04, 2016 9:31 pm
Forum: Audio Processing
Topic: Schmitt trigger... Possible?
Replies: 22
Views: 2863

Re: Schmitt trigger... Possible?

These signals come from "computer tapes". They are analog, but I have to convert them to digital. Square waves with, just to say, +0,5/-0,5 peaks where "sin" waves have "peaks". More precisely, from +0.2 up i can set the "+0,5" peak, and from -0.2 down i can set the "-0,5" peak. the "+/-0,2" value i...
by Flavioweb
Fri Nov 04, 2016 9:01 pm
Forum: Audio Processing
Topic: Schmitt trigger... Possible?
Replies: 22
Views: 2863

Re: Schmitt trigger... Possible?

I don't want to do it in real time.
See the attachments...
I need to have bottom wave look like the top wave...
I thought to Schmitt trigger... but also other solutions are welcome.