xoscope_2.0.3.2 pet soundcard oscilloscope

Mathematical tools, physics simulators, CAD, CNC, etc.
Message
Author
User avatar
mister_electronico
Posts: 969
Joined: Sun 20 Jan 2008, 20:20
Location: Asturias_ España
Contact:

xoscope_2.0.3.2 pet soundcard oscilloscope

#1 Post 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/
Attachments
libcomedi_0.8-5.pet
(86.63 KiB) Downloaded 767 times
xoscope_2.0.3.2.pet
(124.1 KiB) Downloaded 758 times
Last edited by mister_electronico on Sun 08 Feb 2015, 18:29, edited 1 time in total.

User avatar
mister_electronico
Posts: 969
Joined: Sun 20 Jan 2008, 20:20
Location: Asturias_ España
Contact:

check xoscope

#2 Post 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/
Last edited by mister_electronico on Sun 08 Feb 2015, 18:32, edited 2 times in total.

User avatar
Moose On The Loose
Posts: 965
Joined: Thu 24 Feb 2011, 14:54

Re: xoscope_2.0.3.2 pet soundcard oscilloscope

#3 Post 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.

User avatar
mister_electronico
Posts: 969
Joined: Sun 20 Jan 2008, 20:20
Location: Asturias_ España
Contact:

of course it is interesting

#4 Post 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/
Last edited by mister_electronico on Sun 08 Feb 2015, 18:32, edited 2 times in total.

User avatar
Moose On The Loose
Posts: 965
Joined: Thu 24 Feb 2011, 14:54

Re: of course it is interesting

#5 Post 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.

User avatar
mister_electronico
Posts: 969
Joined: Sun 20 Jan 2008, 20:20
Location: Asturias_ España
Contact:

#6 Post 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/
Last edited by mister_electronico on Sun 08 Feb 2015, 18:32, edited 1 time in total.

alloydog
Posts: 6
Joined: Mon 03 Mar 2014, 17:27

#7 Post 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

User avatar
mister_electronico
Posts: 969
Joined: Sun 20 Jan 2008, 20:20
Location: Asturias_ España
Contact:

xoscope

#8 Post 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/
Last edited by mister_electronico on Sun 08 Feb 2015, 18:33, edited 1 time in total.

alloydog
Posts: 6
Joined: Mon 03 Mar 2014, 17:27

Re: xoscope

#9 Post 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.

Rodney Byne
Posts: 247
Joined: Fri 31 Jan 2014, 14:12

xoscope and analyser

#10 Post 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.

Rodney Byne
Posts: 247
Joined: Fri 31 Jan 2014, 14:12

xoscope and analyser

#11 Post 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.

User avatar
mister_electronico
Posts: 969
Joined: Sun 20 Jan 2008, 20:20
Location: Asturias_ España
Contact:

Hi Rodney

#12 Post 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/
Last edited by mister_electronico on Sun 08 Feb 2015, 18:33, edited 1 time in total.

User avatar
mister_electronico
Posts: 969
Joined: Sun 20 Jan 2008, 20:20
Location: Asturias_ España
Contact:

Hi Rodney

#13 Post 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/
Last edited by mister_electronico on Sun 08 Feb 2015, 18:33, edited 1 time in total.

Rodney Byne
Posts: 247
Joined: Fri 31 Jan 2014, 14:12

Baudline oscilloscope

#14 Post 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.

Rodney Byne
Posts: 247
Joined: Fri 31 Jan 2014, 14:12

Very lightweight spectrum analyser

#15 Post 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.

User avatar
mister_electronico
Posts: 969
Joined: Sun 20 Jan 2008, 20:20
Location: Asturias_ España
Contact:

Hi Rodney

#16 Post 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/
Last edited by mister_electronico on Sun 08 Feb 2015, 18:34, edited 1 time in total.

Rodney Byne
Posts: 247
Joined: Fri 31 Jan 2014, 14:12

Siggen + Baudline spectrum

#17 Post 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.
Attachments
baudline + siggen2.png
slide 2
(63.11 KiB) Downloaded 1571 times
Last edited by Rodney Byne on Wed 12 Mar 2014, 06:21, edited 1 time in total.

Rodney Byne
Posts: 247
Joined: Fri 31 Jan 2014, 14:12

Trying the attachment facility

#18 Post 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.

User avatar
mister_electronico
Posts: 969
Joined: Sun 20 Jan 2008, 20:20
Location: Asturias_ España
Contact:

good job

#19 Post by mister_electronico »

good job.

See you.


______________________________________________________________________
My blog

https://misterelectronicoes.wordpress.com/
Last edited by mister_electronico on Sun 08 Feb 2015, 18:34, edited 1 time in total.

Rodney Byne
Posts: 247
Joined: Fri 31 Jan 2014, 14:12

xoscope + siggen pet

#20 Post 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,
Attachments
xoscope + siggen2.png
slide 3
(78.48 KiB) Downloaded 1416 times

Post Reply