Page 1 of 2

xoscope_2.0.3.2 pet soundcard oscilloscope

Posted: Sun 16 Feb 2014, 10:36
by mister_electronico
Xoscope is a nice oscilloscope works for linux and works through sound card.

I made this pet, and is working in puppyslacko 5.6 PAE, please if someone use please report to me.

You must install the package libcomedi_0.8-5.pet.


All packages are lightweight


_____________________________________________________________________
My blog

https://misterelectronicoes.wordpress.com/

check xoscope

Posted: Sun 16 Feb 2014, 10:43
by mister_electronico
If you wan check xoscope, do not forget to look:

1) Check you alsamixer controls and set the microphone and all controls for working.

2) In the menu of xoscope File > Device --- select soundcard.

3) connect the microphone and speak.


Good luck.... see you.


______________________________________________________________________
My blog

https://misterelectronicoes.wordpress.com/

Re: xoscope_2.0.3.2 pet soundcard oscilloscope

Posted: Sun 16 Feb 2014, 16:58
by Moose On The Loose
mister_electronico wrote:Xoscope is a nice oscilloscope works for linux and works through sound card.

I made this pet, and is working in puppyslacko 5.6 PAE, please if someone use please report to me.

You must install the package libcomedi_0.8-5.pet.


All packages are lightweight
I have a signal generator hat uses sound card outputs. Maybe if there is interest, I will make something nicer out of it and may a pet. I'll check back in a while to look for comments

Also, I have a clever idea to get high frequencies on a sound card based scope. I'll make a document of the idea if there is interest.

of course it is interesting

Posted: Sun 16 Feb 2014, 21:48
by mister_electronico
Yes Moose On The Loose, of course it is interesting, I think with one divider circuit frequency we can get more frequency.

Today I was testing the Generator wave program siggen, but when the frequency is over to 4 Khz the sine wasn't too clean.

Is sure we can improve the Generator and Oscilloscope with external circuit.

The next day I'll put the pet of siggen.


Any idea is welcome.

See you Moose On the Loose.

______________________________________________________________________
My blog

https://misterelectronicoes.wordpress.com/

Re: of course it is interesting

Posted: Mon 17 Feb 2014, 16:58
by Moose On The Loose
mister_electronico wrote:Yes Moose On The Loose, of course it is interesting, I think with one divider circuit frequency we can get more frequency.

Today I was testing the Generator wave program siggen, but when the frequency is over to 4 Khz the sine wasn't too clean.
When you set up the sound hardware, you can set the sampling rate. Since almost all sound cards will do fairly fast rates, I suggest moving up to a faster rate. This gives you more points on the curve.

On cheap sound cards, when you get above about 2KHz a full scale sine wave gets a bit of added distortion because the hardware has a slew rate limit. As you start to get anywhere near the limit, the distortion starts to rise.

Is sure we can improve the Generator and Oscilloscope with external circuit.

The next day I'll put the pet of siggen.


Any idea is welcome.

See you Moose On the Loose.
An external circuit can be used to "mix down" high frequencies to lower frequencies so that the sound card can be used to digitize bands at high frequencies rather than trying to go for getting a wider bandwidth.

Code: Select all

I = Signal * cos(1MHz)
Q = Signal * sin(1MHz)

Filter I and Q
Connect to Left and Right microphone.
Signals within about 10KHz each way from 1MHz will appear on the Left and Right as signals from DC to 10KHz. Above and below will differ on the phase relationship. The idea I was thinking about here is to make a circuit that is controlled by some other path to set what I called 1MHz to various frequencies to be able to do things like make an RF spectrum.

Another thought is to repeat the experiment many times and tile together the FFTs to make the FFT of the whole signal and then do the iFFT to get the time domain. It requires that the phase of the sin() and cos() generators be based on the start of the "experiment" as their time zero for each run.

Posted: Tue 18 Feb 2014, 12:13
by mister_electronico
Hi Moose On The Loose
Yes I was not too worried about my cheap sound card.


It is very interesting the frequency multiplier circuits, which can be done with filters, with tunnel diodes, mosfet ...

Anyway if you want to work for a fixed frequency is very good, but I think it would complicate things if we make a signal generator, which works with a wide range of frequencies.

It may be rather a work with a PLL, there is an affordable and good for beginners PLL which is the 4046.

There are many scheme in internet

http://www.learningelectronics.net/circ ... lf_15.html

This way I think we have more control over the entire frequency range.

There are other schemes with 4046 you get about 200 Mhz.

What do you think about this ?

See you

______________________________________________________________________
My blog

https://misterelectronicoes.wordpress.com/

Posted: Mon 03 Mar 2014, 17:58
by alloydog
Hi gents! I find any applications like this interesting. A while back, I installed oscilloscope and spectrum analyser apps for my phone, but wanted something on a PC. I resurrected an old Sony Vaio (1 GHz AMD Athalon with a floppy drive!) and put Puppy Slacko on it.

I have just install the xscope 2.0 application and so far it works nicely - thanks! Just one question so far: Are the other input channels for if you have more than one microphone? So, for this old beast, one mic, one channel.

I intent to use for amateur radio stuff.

I'm on the look out for a spectrum analyser also.

I'm hoping to knock up something that will allow it to monitor low HF, say upto 10 MHz, with some sort of frequency converter. I'll keep you posted.

regards

Rob

xoscope

Posted: Wed 05 Mar 2014, 12:42
by mister_electronico
I think you only have the ability to only 2-channel microphone to the sound card.

Maybe if you could put another sound card or a sound card with multiple microphone inputs.

In the input device (menu) has possibility for other devices, Bitscope, Probescope, Comedi but never use.


See you.

______________________________________________________________________
My blog

https://misterelectronicoes.wordpress.com/

Re: xoscope

Posted: Wed 05 Mar 2014, 13:01
by alloydog
mister_electronico wrote:I think you only have the ability to only 2-channel microphone to the sound card.

Maybe if you could put another sound card or a sound card with multiple microphone inputs.

In the input device (menu) has possibility for other devices, Bitscope, Probescope, Comedi but never use.


See you.
No worries: I would only need one channel, possibly two anyway.

xoscope and analyser

Posted: Mon 10 Mar 2014, 07:30
by Rodney Byne
To mister_electronico & others:

Thanks for your posts.
I have had xoscope working ok in an old Linux Mint 8
on a netbook and now in Quirky 6.1.4. via a flashdrive
on a laptop.

For an analyser, I found Linux Baudline to be excellent.
Its operational content has good documentation.

Regards.

xoscope and analyser

Posted: Mon 10 Mar 2014, 08:32
by Rodney Byne
To mister_electronico & others:

Thanks for your posts.
I have had xoscope working ok in an old Linux Mint 8
on a netbook and now in Quirky 6.1.4. via a flashdrive
on a laptop.

For an analyser, I found Linux Baudline to be excellent.
Its operational content has good documentation.

Years ago I tried extending the sound card range
with a divide by 10 circuit, using ic 74LS90N & 5v supply.

After breadboarding it, I realised it needed at least
4v pk-pk square wave to drive the chip hard enough
for any output. Not very practical.


Regards.

Hi Rodney

Posted: Mon 10 Mar 2014, 18:40
by mister_electronico
Hi Rodney Byne, thank you very much for the program Baudline not know him and have operated in the Puppy and works perfectly.

I will make the pet and bring it.

With respect to 74LS90N, I think to be digital, analog signals with the use is more complicated.

I see better with mixer frequencies as do the superheterodyne receivers.

Fs = Fp - Fosc

I think it's not too complicated for no very high frequencies.

Rodney Thank you for your post

______________________________________________________________________
My blog

https://misterelectronicoes.wordpress.com/

Hi Rodney

Posted: Mon 10 Mar 2014, 19:30
by mister_electronico
Hi Rodney, I spent some time recording Psicofonia, and later when you wanted to detect a voice recording in 16 hours, this was a good job.

With baudline be easier to detect the voices of the dead in a big frame of audio ....In the spectrogram.... Lol

See you.


______________________________________________________________________
My blog

https://misterelectronicoes.wordpress.com/

Baudline oscilloscope

Posted: Tue 11 Mar 2014, 08:39
by Rodney Byne
Hi mister_electronico,

You seem to be a clever man,
when you write the pet for Baudline,
could you also look closely into the
original code and find a way to auto-trigger
the "display - waveform" or oscilloscope
to give a stationary waveform.

I noticed this years ago when I was testing
a homemade audio oscillator and found
it wasn't possible to make the sine wave
display still or locked.

Thanks, will look forward to your findings.

Very lightweight spectrum analyser

Posted: Tue 11 Mar 2014, 16:03
by Rodney Byne
Hi to mister_electronico & others,

Further to Baudline and on the subject of audio spectrum analysers, yes there are any number of them to be found online,
mostly those in Windows that have to be installed.

I stumbled upon this nice "bare bones" Windows one (324k),
included in a web page trio of audio tools that can be
carried, portable on a flashdrive if you like.
It and they are exe file(s) and just run when clicked,
no need to be installed.

Found on:
http://www.techmind.org/audio/index.html

So I just wondered, if for the compiling folk around, they might
also be useful as convertible to pets, for Puppy fans.

Regards.

Hi Rodney

Posted: Tue 11 Mar 2014, 22:04
by mister_electronico
Hi Rodney, I looked at your link and you have a pet siggen that I did in:

http://www.murga-linux.com/puppy/viewtopic.php?t=92068

It runs through terminal # siggen

but it is equally effective.

The others I'm checking, tuner1v3.exe I have not seen yet for Linux, but if we can not find the sources, sure are very easy to run this programs under wine.

Regards.

______________________________________________________________________
My blog

https://misterelectronicoes.wordpress.com/

Siggen + Baudline spectrum

Posted: Wed 12 Mar 2014, 05:39
by Rodney Byne
To mister_electronico,

Thanks I have siggen pet on board and the approx spectrum
response at 1khz ref 77.5mV RMS input (-20dB)
to sound card, shown on Baudline is:

2nd harmonic -48db (rel)
3rd harmonic -55db (rel)
and the rest of the pop-ups spread to 10khz is gradually decaying.

As attached.


Regards.

Trying the attachment facility

Posted: Wed 12 Mar 2014, 06:16
by Rodney Byne
It seems one of the requirements is to keep the
file size well below 100kb, so here goes.
That's better, practice makes perfect.

good job

Posted: Thu 13 Mar 2014, 18:12
by mister_electronico
good job.

See you.


______________________________________________________________________
My blog

https://misterelectronicoes.wordpress.com/

xoscope + siggen pet

Posted: Fri 14 Mar 2014, 15:46
by Rodney Byne
Hi mister_electronico,

Thanks, just for fun, have attached another pic
showing xoscope with siggen pet and same 1khz sine wave.

Yes I have continued interest in your idea to design a high frequency
s/w scope. Good luck with that.
All that stuff was right up my street while working as a test engineer
plus radio and broadcast engineer. (now retired)

From the suggested article "Frequency Multiplier For LF Measurements",
of course it's obvious that any s/w down-conversion would have to be external to the pc mic input socket, in order to be processed by the
sound card's natural bandwidth of only 20khz.

Skiing off-piste a bit to your efforts at recording Psicofonia on Baudline, yes I read what I could understand of the long Wikipedia article on this
subject - spooky and deep for me, but raises the point I was unaware that voices of the dead might be audible in the audio range.

All I hear at night is my wife snoring and the gentle roar of distant
traffic on the motorway near here, but no ghosts or spectres.
Perhaps you could enhance the chances of detecting "the other side",
by resting your laptop on a tomb in the local graveyard.
Beware though the voice from within, saying like actor Christopher Lee
"I am Dracula, I bid you welcome"

Back to reality, here's the picture.
Bye for now,