Monday, October 4, 2010

Back Brace For Parkinsons Disease

The PC speaker: altoparlantino play with the computer. Panorama

All computers are equipped with a altoparlantino, and possibly a sound card more `` serious''. Let's see what we can do simple altoparlantino if your computer does not have the good fortune to have facilities of better quality. Nozioncine
basis.
first be clear that I am talking about intel pc: in fact far more likely the other buildings are equipped with a sound card, but in the field of computer sound card is optional, and there is even one type. This article is aimed at hapless users of Linux do not have a sound card (me included). Well, who does not burn with the desire to hear something from your altoparlantino different from the usual beep when a wrong key? Exactly why there is a small parcel to be added to the kernel to allow the PC to `` talk''. I have to preface one thing, though: the speakers of the PC are not the same as benefits: there are some beautiful possenti tipo una radiolina da stadio, mentre altri che non si distingue un eventuale suono diverso dal beep dalla ventola dell'alimentatore. Cosa fare? Provarci! Mal che vada si sono persi 20 minuti...

Ogni pc ha in dotazione un altoparlante, pilotato dalla piastra madre del computer con un'onda quadra. Mediante semplici istruzioni assembler si può comandare all'hardware dell'altoparlantino di mandar fuori un'onda quadra di frequenza definita. Questo permette a molti programmini di eseguire semplici melodie con pochissimo sforzo per il sistema. Ma allora per musica e parlato che si può fare? Semplice: pilotare con estrema precisione la generazione di queste onde quadre :-) Niente paura, il codice c'è già! E così renderete il vostro sistema Linux capace di generare suoni ed utilizzare tutti i programmi musicali proprio come se aveste una Sound Blaster! Beh, la qualità sarà un po' inferiore, ovviamente. Procurarsi il software . Trovate un pacchetto .tgz presso ftp://ftp.informatik.hu-berlin.de/pub/os/linux/hu-sound/. Attualmente la versione è 1.1, e copre i kernel 2.0.28 e successivi e 2.1.14 e successivi. Il pacchetto è stato fatto più per gioco che altro, quindi difficilmente entrerà nel pacchetto ufficiale del kernel.

\u0026lt;M> PC-Speaker and DAC driver support [] Disable automatic speed detection [*] Enable stereo 16bit emulation support (100) Left volume at startup [0-100] (100) Right at startup volume [0-100] (Also a graphic screen-shot ...) After rebooting the new kernel, you need two things: the correct device in / dev and compile programs to configure the output device. It takes a little, run the script linux / drivers / pcsnd / pcspinstall and devices are in place. The configuration program is created with cd / usr / src / pcsnd-kit /; make. Easy.

Note: gcc does not use the Debian distribution includes the kernel, but a copy, then pcsel not find sys / pcsp.h, which goes hand-copied from the kernel include those of the system or copied locally and updated pcsel . replacing c \u0026lt;sys/pcsp.h> the line `` # include''with `` # include "pcsp.h"
''Let's see if it goes: pcsnd.o loaded the module (if you have support compiled as a module: I I have done so for convenience) and run from the root-kit pcsnd the command:. / vplay enterpri.raw. If you hear the term "Star Trek, congratulations: Success with success! Programs supported

From now on all programs to listen to audio files via the device / dev / dsp, including a lot of games with sound support.
The same driver also provides / dev / audio, equivalent to the Sparc. So just have a. Au file and run `` cat / dev / audio'' to listen by loudspeaker.
As you will soon see, the quality is not high dell'altoparlantino. However, the same driver supports D / A converter on a parallel port.
Or you can get the digital data directly to the printer port, and through a simple circuitino connect an amplifier and listen to audio with a quality approaching that of a sound card. Having two parallel ports and two D / A converters is also possible to obtain a stereo!
signals are available in 8 output data from the parallel port, then the easiest way is to build a converter D / A to obtain an analog signal to be sent to the amplifier. At the same driver package there are also some pictures of wiring diagrams of converters.
There are three possible schemes (schemes find them all on. Zip file from the package):

* D / A converter with a ladder network (resistors only)
* D / A converter chip D / A
* parallel interface on a single stereo

The drive resistive (here an example) is the simplest to implement. It consists of twenty elements, so the cost is several hundred pounds. A push up the cost, however, are that D25, a lid, a 2 meter cable and RCA. To make things so nice you can also enclose the heating elements in the same plug for the parallel port, and connect the output to two normal speakers for multimedia computers. The cost is very limited, but is also a bit 'experience in electronics, to avoid `` burn''the parallel port in case of short circuit between pins.

can avoid having to connect all elements using an integrated D / A converter, however, have a considerable cost compared to resistance, and ultimately the quality is much better than the resistance (the human ear is not an oscilloscope). Plus a D / A converter would require a power supply of 5V, while the card works perfectly with only resistances without power.
To have a stereo system are just two converter circuits on two parallel ports, or you can use slightly more complex, but a circuit that connects to a single parallel port! Here it is, even if someone who knows a bit 'electronics will not take long to find a cheaper version.
To activate the card there is an external utility pcsel, out previously. Shortly thereafter we also learn to use it.


Notes
painful.

There is one thing to clarify: this mechanism (altoparlantino and parallel port) include the CPU usage in real time. The only thing that creates discomfort (in addition to a high load machine) is reading / writing to IDE devices!

This is because the driving of these devices requires a critical timing, and access to IDE devices is demanding for the CPU. I noticed however that the SCSI systems penalize very little audio playback via altoparlantino.

Well, it's just for fun!


Personal Experiences
.

I would point out that what I write comes from personal experience, which began about five years ago still in the DOS environment for fun. I saw a lot of cars have decent speakers, but do not have to wait long, especially in parliaments.

But with a D / A parallel on the quality changes. Then potete collegare l'uscita direttamente su un amplificatore e/o sugli altoparlanti amplificati per i PC multimediali. Il circuito con sole resistenze, comunque, non potrà mai pilotare direttamente un altoparlante. Se avete bisogno di una buona qualità, comunque, serve una scheda sonora seria.

La costruzione di un circuito del genere a casa propria non è difficile, ma devono essere controllate molto bene le saldature, per evitare corto circuiti tra le uscite della porta parallela. Se il circuito è fatto bene, comunque, non rovinerà la porta della stampante, trattandosi di resistenze abbastanza elevate e quindi assorbono pochissima corrente (sempre meno di una vera stampante).

Avevo fatto molto tempo fa (ancora for DOS), a stereo card for a single parallel with base for experimentation, but I never made a PCB provided.

Then on Linux I found a lot 'of software, with all available sources, capable of playing all types of audio files. Pure midi files through a small ticket with pure resistances. The load machine, however, is a bit 'tipsy.







If you liked the article, subscribe to the feed by clicking the image below to stay updated on new content

blog:
































0 comments:

Post a Comment