Strobe the decoder with your own hands

Communication for those wishing to do something with their hands.
Post Reply
User avatar
Лайтмен
Posts:17
Joined:Sat Mar 08, 2008 13:38
Strobe the decoder with your own hands

Post by Лайтмен » Sat Mar 08, 2008 15:57

Hello ! Will start from afar... =)
To buy points for 2000+ rubles when you can make them yourself for the evening - do not want. Did.
To buy the machine when instead it can be submitted ACC.signals from a computer (e.g., BrainWave Generator or generates itself) or with a CD/MP3 player, IMHO, is also the meaning is not great. Besides, the possibility of cars, anyway, are more limited.
There is only one node, without which the well is not to do - Strobe decoder.

Has anyone collected yourself ? If Yes, please share the pattern ! If not - I will be glad to any ideas for design/build such circuits. The main issues are:
1. As I understand it, the strobe signal has a carrier frequency of 19200 Hz (strange, why not 22050 ? After all, when the sampling frequency is 44100 signal 19200 Hz will be slightly "crooked"; it turns out that the frequency of 19200 historically ?).
2. What is the amplitude of this signal ? For example, in percent of the maximum volume (sorry, dB I don't really understand :( ).
3. Gate-the signal is discrete or not ? I.e. the light is either turned off or turned on - or the brightness can be adjusted in zavisimosti of the signal amplitude ?

Thank you all in advance for your answers/comments !

Андрей Патрушев
Автор сайта
Posts:10238
Joined:Tue May 30, 2006 20:17
Has thanked: 134 times
Been thanked: 556 times

Re: Strobe decoder with their hands

Post by Андрей Патрушев » Sat Mar 08, 2008 16:41

Лайтмен wrote:hi All ! Will start from afar... =)
To buy points for 2000+ rubles when you can make them yourself for the evening - do not want. Did.
To buy the machine when instead it can be submitted ACC.signals from a computer (e.g., BrainWave Generator or generates itself) or with a CD/MP3 player, IMHO, is also the meaning is not great. Besides, the possibility of cars, anyway, are more limited.
There is only one node, without which the well is not to do - Strobe decoder.

Has anyone collected yourself ? If Yes, please share the pattern ! If not - I will be glad to any ideas for design/build such circuits. The main issues are:
1. As I understand it, the strobe signal has a carrier frequency of 19200 Hz (strange, why not 22050 ? After all, when the sampling frequency is 44100 signal 19200 Hz will be slightly "crooked"; it turns out that the frequency of 19200 historically ?).
2. What is the amplitude of this signal ? For example, in percent of the maximum volume (sorry, dB I don't really understand :( ).
3. Gate-the signal is discrete or not ? I.e. the light is either turned off or turned on - or the brightness can be adjusted in zavisimosti of the signal amplitude ?

Thank you all in advance for your answers/comments !
Hello.
Scheme streamdecoder was out on Gzone. The forum is already obsujdali - look (and direct links).
1. Don't know which player You'd take the signal in 22050Гц... :)
2. The signal level of -36dB.
3. Starsignal can be any shape.

User avatar
Лайтмен
Posts:17
Joined:Sat Mar 08, 2008 13:38

Post by Лайтмен » Sat Mar 08, 2008 17:36

1. Unless their DACs that will not give ?.. With a computer everything is fine (even the terrible ones built into the motherboard, Zvecka normally gives), and an MP3 player I never had =)
2. Approximately realized that it is pretty quiet; probably about 10..20% of max volume.
3. I.e. the brightness is proportional to the amplitude of the signal, clearly.

The pattern keep looking, if anything, will post here, so that future searchers can find =)

User avatar
Лайтмен
Posts:17
Joined:Sat Mar 08, 2008 13:38

Post by Лайтмен » Sat Mar 08, 2008 18:48

Got something for you:

AudioStrobe decoder with their hands (googlesky cache page astral.com.ru)inside this these links:
http://www.bwgen.com/magicjim/audio-strobe.jpeg diagram AudioStrobe decoder on the chip LM 567 (mentioned in some other topic of this forum).
http://www.bwgen.com/magicjim/ diagram of connection to LPT. The cons: a) not the fact that enough power for a few diodes on the channel, and IMHO it is desirable to include them into the transistor switches, and b) only the on/off switch, no brightness.
The same message is on the working visit: http://forum.qrz.ru/thread5951.html

the Theme of "Audiostrobe drives" on this forum (admins: can we rename the topic ?), there is a non-working link to the same scheme on the LM 567 chip is listed above.

Another thought: once saw that one of the members of the forum said that can share circuit strobe decoder provided non-commercial use. However, to find this post I failed.

Like that will spay and satisty - unsubscribe...<

User avatar
Лайтмен
Posts:17
Joined:Sat Mar 08, 2008 13:38

Post by Лайтмен » Sat Mar 15, 2008 15:11

Diagram for connection points to LPT:
Image
Of course, not Strobe the decoder, but not offtopic =), i.e. to help those who have no decoder.
Collected, all works great ! However, with the program "FutureMind" referred to there website still no pick. While connected points only for the test, ran my Pascal-program. For followers: from any NT-Windows (NT, XP, 2000, 2003 and especially Vista) will not work, the system will not allow the program to write directly to LPT port. Or loaded under DOS, or you have to write your driver to work with the LPT port through it.
Pitfalls and other features:
1) because the diodes are connected in parallel, taking the power from USB (extreme contacts), 5 volt instead of 9;
2) 5 volts to the diodes - lot, it is necessary in series with the diodes (points) connect a resistor around 10 Ohm, with a power of 0.25 (or even better to 0.5) W - of course, on each channel.
3) If you want to adjust the brightness of the diodes in the glasses, but they have no built-in controller (i.e. glasses-self made), use a variable resistor with a value of approximately 3.5 kOhm. However, at high brightness regulirovaniya will be sharply on low smoothly. Power resistor of around 0.5 W or less do not take, will die.
Paint signet for a scheme when you come, lay Foty.

денден
Posts:16
Joined:Mon Mar 17, 2008 6:58

Post by денден » Mon Mar 17, 2008 7:20

Hi Lightman,

Do the same, that is, make your own strobe glasses.
Glasses collected, now writing software.

I took this same scheme http://www.discolitez.com/pmwiki/pmwiki ... rdware.LED

and here is the description -
http://www.hackcanada.com/homegrown/wetware/brainwave/

In the end, points can be managed via Winamp DiscoLitez plugin (plays for fun) or their software.

In order to write to LPT under XP there are many solutions, like this driver
DriverLynx Port IO - http://www.driverlinx.com/DownLoad/DlPortIO.htm

Now writing software that will analyze the sound data from the mixer to the presence of audiostrobe and send in LPT strobe the desired frequency.

денден
Posts:16
Joined:Mon Mar 17, 2008 6:58

Post by денден » Mon Mar 17, 2008 7:30

The Question To Andrey Patrushev,

I'm going to write a software audiostrobe decoder, but can not guarantee the accurate phase for audiostrobe. The parameters that I will be able to determine this frequency, duty cycle and relative phase (left-right).

Tell me please, how important is the synchronization of light and sound
of the total effect. Thank you!

Андрей Патрушев
Автор сайта
Posts:10238
Joined:Tue May 30, 2006 20:17
Has thanked: 134 times
Been thanked: 556 times

Post by Андрей Патрушев » Mon Mar 17, 2008 22:18

денден wrote:Question to Andrei Patrushev,

I'm going to write a software audiostrobe decoder, but can not guarantee the accurate phase for audiostrobe. The parameters that I will be able to determine this frequency, duty cycle and relative phase (left-right).

Tell me please, how important is the synchronization of light and sound
of the total effect. Thank you!
These parameters are specially geared for induction of different States, so it is very important initial synchronization of the channels in phase.

User avatar
Лайтмен
Posts:17
Joined:Sat Mar 08, 2008 13:38

Post by Лайтмен » Tue Mar 18, 2008 22:21

Hi, denden,
1) Links looked, to me personally 8-LED new scheme is not much, IMHO it is easier still to take two transistors and two resistors, but connect almost any LED's, including super bright...
2) LPT Driver for XP still merge =)
3) Your software is rulez ! Can take on the burden of beta-testing of the product =) But there is one "but" (Yes, I am a coder): if you take the sound using WaveIn or even DirectX, in any case, there will be some delay between the strobe signal and by the flashing, and it is not Gud. Maybe if you write the decoder as a plugin for Winamp, this can be avoided - but not exactly sure. Or write your simple player with built-in decoder - then just be synchronously...
By the way, do you happen to Delphi Kodesh ? And then maybe together it would have muddied... ;)

денден
Posts:16
Joined:Mon Mar 17, 2008 6:58

Post by денден » Wed Mar 19, 2008 9:57

Unfortunately, to accurately decode audiostrobe software will not succeed.
Between you and a sound card will always have a buffer (either Windows mixer or Winamp mixer or your player-mixer), otherwise the sound will break.
You can minimize latency using ASIO drivers, but there still is a buffer. This means you will not be able to guarantee the phase gate, i.e. the gate will lag behind the sound.

In General, shoveled a bunch of stuff decided to buy a normal decoder =)


Write on Visual C

Саин
Posts:52
Joined:Tue Jun 26, 2007 21:30

Post by Саин » Wed Mar 19, 2008 10:32

Indeed, it is better to buy normal. Although THERE are software decoders audiostrobe (released one German company). The link here will not give, because this is advertising and it still removed. 8)

User avatar
Лайтмен
Posts:17
Joined:Sat Mar 08, 2008 13:38

Post by Лайтмен » Sun Mar 23, 2008 23:38

2 denden:
and who hinders to analyze the sound of "in advance" ? If you implement audio output on their own, you can use double buffering. For example: while playing a buffer And decode Boothe.B, then play B, simultaneously giving already decoded strobe signals to the LPT-port and analyzing the next block in buffer A, etc.

Poked with the aforementioned app FutureMind - pleased, but not all. Cons: comes with only about 8-10 "script", very little. Pros: 1) support hardware: excellent see even Yamaha ovsky zvuku laptop from under DOS without any wood, 2) pretty easy to use interface, 3) can be easily "stall" the current settings of suspending the execution of a "script" that is very good.convenient.

If time hardwarei solder the decoder LM 567 chip (diagram above), as will make - I will unsubscribe.

Кузьма

Post by Кузьма » Mon Mar 24, 2008 2:43

On ЛМ567 - nicherta does not decode. Blinks to the beat amplitude.

Guest

Post by Guest » Mon Mar 24, 2008 4:38

Lightman
To analyze the sound, no problem.
It is difficult to make a correct timing to control points, because you don't know when that frame which you handle will actually sound. The bulbs that light up instantly and the sound goes through the chain of buffers. Data - not real time system, no one guarantees anything.

In the best case you can get control of the gate delayed by the length of the audio buffers + buffers data of the mixer, that is, with the loss of sync sound-light.

денден
Posts:16
Joined:Mon Mar 17, 2008 6:58

Post by денден » Mon Mar 24, 2008 4:40

Guest - I was :)

Кузьма

Post by Кузьма » Mon Mar 24, 2008 17:49

Not asking to write simple binaural generator type astral.exe?
Three dialog window: session length, carrier frequency strobe frequency(beating) and a window with the schedule change of the beat frequencies over time (as BWgen)? And of course the output of the gate on LPT.
The master programmers think?

User avatar
Лайтмен
Posts:17
Joined:Sat Mar 08, 2008 13:38

Post by Лайтмен » Mon Mar 24, 2008 22:26

2 denden:
in DirectSound there is such a thing as Buf.GetCurrentPosition, where Buf: IDirectSoundBuffer (names from memory, could be wrong). This f-I returns the offset in the buffer to the sample, which is played by in the current time. Through it sync is not hard. You can take this part back, if you write a procedure for the detection of the strobe signal =) Then you will succeed;.
2 Kuzma:
In General, it is very simple. But another trick: get only the influence of light, without sound. As a consequence, it is not as effective. If you generate a sound - easier to use the above-described prog FurureMind.
About LM567: are you sure that everything is correct soldered ?.. (By the way, I've just depaiva this pattern, maybe I will...)

Кузьма

Post by Кузьма » Tue Mar 25, 2008 0:11

2 Lightman

I meant WITH the sound. Generator binaurally sounds + flashing of LEDs.
I just thought to write YOUR generator is much easier than to sync the damn thing via buffer, etc. Although I could be wrong.

But what about FutureMind, it's kind of trial? Or is there a crack?

There are more prog PCM-MIND, too, from under DOS. I does not start.

About ЛМ567 sure. Pay start off with 1 channel. Different audiostrobe for each eye - a rarity.

By the way with the help of this shemki And BWgen I can for a couple of seconds to generate any session. More "led" part, without sound. Due to the amplitude modulation signal.

денден
Posts:16
Joined:Mon Mar 17, 2008 6:58

Post by денден » Wed Mar 26, 2008 5:48

[quote="Cosmo"]
I just thought to write YOUR generator is much easier than to sync the damn thing via buffer, etc. Although I could be wrong.

No, unfortunately it is not easy, you still need to bother with buffers and synchronization.

Lightman
Function decode audiostrobe I'll write, and DirectSound sync nothing alas I can not help.

User avatar
Лайтмен
Posts:17
Joined:Sat Mar 08, 2008 13:38

Post by Лайтмен » Sat Mar 29, 2008 12:24

2 Kuzma and 2 All: circuit for the LM567 soldered, everything works !!! The only negative - the output (8-foot) chip have a negative signal (somewhere inside the chip, it is inverted, infection), that of HZ how to connect a transistor switch output - mykruha for datasheet'have draws only 100 mA, 6 Ultrabright white Chinese may not be enough, but will check and update my... Consulted with familiar electronics about this transistor key - say, in General I do not know...
customize: run the test AudioStrobe in BWGen. connect the oscilloscope to the 8th foot (exit), and turn the resistor P1, until we see the most clear delineation of "single" yield from "zero". Will see - will understand what I mean. If there is no oscilloscope, just stupidly connected the diode to the output (with resicom about 100-150 ohms for the Soviet diode and 5V power) and similarly, custom resistor P1.
not Yet: maybe strobe signal on the AudioStrobe discs somehow different from BWGen'ovskogo (amplitude, waveform, etc.) - so it is advisable to choose P1 so that the circuit is running and on BWGen and strobe disks. To clarify - I will unsubscribe.

FutureMind - Freeware with it no problems.

2 denden: Ok, waiting for the source code of f-AI. But the current delve with xiami not know, and the DLLs to connect until know how :-[

Кузьма

Post by Кузьма » Mon Mar 31, 2008 4:13

Лайтмен wrote:2 Kuzma and 2 All: circuit for the LM567 soldered, everything works !!!
Of course it does. The amplitude.
Лайтмен wrote:the Only negative - the output (8-foot) chip have a negative signal (somewhere inside the chip, it is inverted, infection), that of HZ how to connect a transistor switch output - mykruha for datasheet'have draws only 100 mA, 6 Ultrabright white Chinese may not be enough, but will check and update my... Consulted with familiar electronics about this transistor key - say, in General I do not know...
PNP transistor
Лайтмен wrote:customize: run the test AudioStrobe in BWGen. connect the oscilloscope to the 8th foot (exit), and turn the resistor P1, until we see the most clear delineation of "single" yield from "zero". Will see - will understand what I mean. If there is no oscilloscope, just stupidly connected the diode to the output (with resicom about 100-150 ohms for the Soviet diode and 5V power) and similarly, custom resistor P1.
Naturally, when there is ONLY audiostrobe scheme works perfectly. Try to make a normal session in BWgen with a strong gate, not matching the rhythm with the main sound, for example of 0.1 - 0.2 Hz.
Лайтмен wrote:not Yet: maybe strobe signal on the AudioStrobe discs somehow different from BWGen'ovskogo (amplitude, waveform, etc.) - so it is advisable to choose P1 so that the circuit is running and on BWGen and strobe disks. To clarify - I will unsubscribe.
This potentiometer (P1) does not turn. As the author himself writes schemes for the pampering.
P1 potentiometer is used to adjust freqency less then 19200Hz, I found it usefull when listening to
"regular" music.
Лайтмен wrote: FutureMind - Freeware, with it, no problem.
"File - Save" and "File - Save As..." functions are disabled
L/S playback is limited to 10 min., after which it automatically stops
only 8 selected L/S sessions from our standard library are included<

User avatar
Лайтмен
Posts:17
Joined:Sat Mar 08, 2008 13:38

Post by Лайтмен » Mon Mar 31, 2008 22:43

2 Kuzma: read carefully all written below... by the Way, paragraph 1) I checked first thing before your post, the benefit is not a fool.
2 All:
1) Works are not "amplitude", and as it should. Checked this: run BWGen -> Configuration wizard, select it from zero level and max brightness. At the same time in Winamp max volume plays Pain - On and On (music, the sound of the approaching white noise,=)), in this scheme only quite a bit responds to music (brightness percent to 10 maximum) and fine detected strobe signal (giving 100% brightness), although the amplitude of the strobe signal does not exceed 10-15% of the amplitude of the music. Check brainer - turn on the recording from Wave out and look.
2) the Output chip, the paw No. 8. Of the power scheme, we have 0 (ground) is +5V (power). On the 8th leg, according to the oscilloscope and the multimeter, have a signal of about -0.2 V (negative!), which is not Gud. But all has appeared very simply - connected directly to a 6-diode module (all white ultra bright Chinese lantern) - when testing the strobe on max brightness and duty cycle espulso 50% multimeter showed only around 20 mA (not believe !), and the chips are absolutely not warming up even during prolonged testing. Conclusion: any transistor switch nafig not needed - at least for these self-made glasses, like me. The brightness of their more than impressive - IMHO there's no need.
3) Resistor P1. KuzmaI know how to read, and I know that P1 is not a trimming resistor. But your scheme is not working properly, and I have correctly, so I suggest to listen to me. To recap: I set out to make the gate of the decoder, not the crap, the flashing diodes to the beat of the music. So, if you increase the resistance of P1 is reduced detectable by the chip frequency, it begins to "catch" not only the strobe signal, i.e., becomes less resistant to high-frequency sounds in music. However, if R(P1)~=0, the scheme does not always catch the strobe signal. Thus, I suggest to twist P1 and to choose the resistance that best detectas it strobe signal, and not any nonsense. The result for their conditions will be reported later, as will select - as the once.
4) Contaminants to the signal. In the operation of the scheme drew attention to the extraneous beeping in the headphones. Its frequency decreases with increasing resistance to P1, so that interference from the LM 567. The food I have there are two a / C to 1 UF as in the diagram, but this is not enough, since this is the same voltage we fed the LEDs. By the way, when they start flashing/blinking, signal distortion increased tenfold - they mingled with the rattle from the on/off of the LEDs. I think you need the a / C anywhere at 220 UF, but not yet checked. Will pick up/check - be sure to accomplish your goal.
5) FutureMind. Ugh, yeah, right, he is trial, but it works. IMHO it even this is enough to "propertise" for AudioStrobe-topic and collect/dig normal strobe decoder =)<

Guest

Post by Guest » Wed Apr 02, 2008 0:42

Those who have no oscila tank here http://xgurux.ucoz.ru/tester.rar
oscilloscope+ generator+ spectrograph
as the ADC uses the sound card so the frequency is limited
20kHz.
R. S. well, the connection I think you can understand
:)

User avatar
Лайтмен
Posts:17
Joined:Sat Mar 08, 2008 13:38

Post by Лайтмен » Wed Apr 02, 2008 0:53

2 All: when using a software "oscilloscope" mean that "land" on a computer shared for justi.e. earth power = ground all audio inputs/outputs = "earth" power supply USB, etc. thus, on input you can connect at all only one wire - the signal; however, connect to ground LineIn anything other than land, generally will lead to the closure.
By the way, and it is necessary this program to merge, useful ;)...

Guest

Post by Guest » Wed Apr 02, 2008 1:09

What's the problem?
put capacitor

Post Reply