Go to advanced search

by vadim
Wed Oct 30, 2013 5:04 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread. [I2S works]
Replies: 1001
Views: 584039

Re: I2S: Anyone got it running? (answer is yes!)

yes, try it yourself. If you don't succeed I'll post my code sometime when I get access to it.
by vadim
Wed Oct 30, 2013 3:55 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread. [I2S works]
Replies: 1001
Views: 584039

Re: I2S: Anyone got it running? (answer is yes!)

The correct answer to your question is yes, but it's not RJ, actually, and LJ is not explicitly implemented in bcm2708-i2s. Still, it should work: In frame sync slave mode (FSM=1), the PCM_FS is treated as a data input and is sampled on the negative edge of PCM_CLK. The first clock of a frame is tak...
by vadim
Tue Oct 29, 2013 1:45 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread. [I2S works]
Replies: 1001
Views: 584039

Re: I2S: Anyone got it running? (answer is yes!)

Make sure the module does not modulate the level of output signal by the last 3 bits. That could be the source of noise as well. (I think it shouldn't but you should better check).
by vadim
Tue Oct 29, 2013 1:42 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread. [I2S works]
Replies: 1001
Views: 584039

Re: I2S: Anyone got it running? (answer is yes!)

Things to try out: 1) Correct half frame and frame length in bcm2708-i2s. It forces 20 & 40 bits for 8KHz (a known bug), that results in 320KHz bit clock. You actually need 65 bit frame (weird, but you are quite confident your clock is 520KHz) with the first word with delay of 1bit. RPi outputs ...
by vadim
Tue Oct 29, 2013 11:30 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread. [I2S works]
Replies: 1001
Views: 584039

Re: I2S: Anyone got it running? (answer is yes!)

It's the source that needs to be 8KHz. mplayer should be fine playing that. Try this file
http://www0.cs.ucl.ac.uk/teaching/GZ05/ ... x-8KHz.wav
by vadim
Tue Oct 29, 2013 11:21 am
Forum: Other projects
Topic: Making a laptop
Replies: 5
Views: 2451

Re: Making a laptop

I think you're on your own with this bold idea :) I smell quite a lot of soldering and kernel module writing. But good luck, anyway!
by vadim
Tue Oct 29, 2013 10:53 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread. [I2S works]
Replies: 1001
Views: 584039

Re: I2S: Anyone got it running? (answer is yes!)

The second channel should be ignored. You must downsample to 8KHz, I'm not sure that mplayer can do it (I don't use it). I'd record a test mono sample at 8KHz and then play it. The fact that you get noise is good. Now your task is to get the right kind of noise :)
by vadim
Fri Oct 25, 2013 9:08 pm
Forum: Camera board
Topic: streaming question
Replies: 6
Views: 3259

Re: streaming question

you either search for v4l2 driver for raspicam or use raspivid and pipe the stream into ffmpeg.
actually all these options were discussed on this forum.

//edit: I could never make v4l2 driver work with ffmpeg properly so I suggest piping or fifo between raspivid and ffmpeg.
by vadim
Fri Oct 25, 2013 9:04 pm
Forum: Troubleshooting
Topic: GPIO Not setup as output???
Replies: 5
Views: 14058

Re: GPIO Not setup as output???

You're running it as root, right?
by vadim
Fri Oct 25, 2013 8:49 pm
Forum: Off topic discussion
Topic: apple cheats again!!!
Replies: 56
Views: 15357

Re: apple cheats again!!!

Yes, my views are different from Apple fans and haters. In my house you will find 3 different models of Macs, an Android tablet and smartphone, 2 Raspberry Pi's and a BeagleBone Black (still unpacked). Perhaps, I did not express my opinion as best as I could, English is not my primary language. Howe...
by vadim
Fri Oct 25, 2013 1:52 pm
Forum: Off topic discussion
Topic: apple cheats again!!!
Replies: 56
Views: 15357

Re: apple cheats again!!!

yes, they finally realised that people use multiple displays, read more than one book at a time and are not happy to navigate multiple file manager windows. we can laugh and rant about that, but that is not what the company actually does and where the innovation is. Apple's target is an integrated e...
by vadim
Fri Oct 25, 2013 11:50 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread. [I2S works]
Replies: 1001
Views: 584039

Re: I2S: Anyone got it running? (answer is yes!)

Which card driver do your use? Is it configured that RPi is the clock slave?

Code: Select all

        .dai_fmt        = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBM_CFM
How do you ensure that the sample rate is set 8KHz? Write the comand you use to get that noise, please
by vadim
Fri Oct 25, 2013 11:29 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread. [I2S works]
Replies: 1001
Views: 584039

Re: I2S: Anyone got it running? (answer is yes!)

Is it Motorola G24L or something like that?
by vadim
Thu Oct 24, 2013 11:22 pm
Forum: Graphics, sound and multimedia
Topic: Baby monitor with sound, video and more
Replies: 20
Views: 29907

Baby monitor with sound, video and more

Ladies and gentlemen, meet Nico, a RPi-based baby monitor. Making it was a great learning experience and I hope it will inspire some other expecting parents ;) http://oi40.tinypic.com/2dtn6fo.jpg http://oi40.tinypic.com/2dtn6fo.jpg Nico was made to monitor a sleeping baby while parents work in othe...
by vadim
Thu Oct 24, 2013 12:59 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: [guide]How to Control the GPIO on a Pi with a Remote
Replies: 2
Views: 717

Re: [guide]How to Control the GPIO on a Pi with a Remote

Check the code. Especially brackets, quotation marks and ampersands ;)
by vadim
Thu Oct 24, 2013 12:49 pm
Forum: General discussion
Topic: RasPi on a big screen
Replies: 4
Views: 1541

Re: RasPi on a big screen

Good job! I think it's the largest size I've ever seen 4 pixels stretched :P
by vadim
Thu Oct 24, 2013 11:27 am
Forum: Other projects
Topic: Raspberry Pi Geek
Replies: 4
Views: 4811

Re: Raspberry Pi Geek

WH Smith
by vadim
Thu Oct 24, 2013 11:25 am
Forum: Other projects
Topic: Wrist-mounted organiser - planned hardware, feedback please
Replies: 4
Views: 1281

Re: Wrist-mounted organiser - planned hardware, feedback ple

When typing anything on a mini keyboard (assuming you will use two hands to hold it) the wrist with LCD will be in a completely wrong position, IMHO.
by vadim
Thu Oct 24, 2013 11:06 am
Forum: General discussion
Topic: Pi + RC Power Plugs
Replies: 1
Views: 474

Re: Pi + RC Power Plugs

Seen this project in Raspberry Pi Geek magazine. First, the author did recordings of codes transmitted by the original remote control and then bit-banged them.
by vadim
Wed Oct 23, 2013 1:10 pm
Forum: Graphics, sound and multimedia
Topic: Micro Speaker For Audio Jack?
Replies: 20
Views: 18642

Re: Micro Speaker For Audio Jack?

Thank you, Burngate. Now I see why output to 8Ohm was so incredibly weak. High sensitivity and high impedance transducers should be used if there is no place for an amp.
by vadim
Wed Oct 23, 2013 10:35 am
Forum: Graphics, sound and multimedia
Topic: arecord audio stream RPi internally
Replies: 1
Views: 1037

Re: arecord audio stream RPi internally

you can't use arecord as there is no input device in your system.
a possible solution is to run ffmpeg, do mixing with it and direct the mix to hardware output and a file. all in one command. that is if you want to mix two files from start to finish.
by vadim
Wed Oct 23, 2013 10:27 am
Forum: Graphics, sound and multimedia
Topic: Micro Speaker For Audio Jack?
Replies: 20
Views: 18642

Re: Micro Speaker For Audio Jack?

To do better, just buy the smallest speaker you can find, (about an inch round, or say two or three centimeter for non US readers) and solder the wires to the tip and sleeve of a 3.5mm jack, use the highest resistance valued speaker you can find, 8 Ohm will work, but it will be ineffective, 32 Ohm ...
by vadim
Tue Oct 22, 2013 3:26 pm
Forum: Raspberry Pi OS
Topic: What to remove to minimize Raspbian (no xserver)
Replies: 27
Views: 31269

Re: What to remove to minimize Raspbian (no xserver)

Moebius and Archlinux are the starting points for minimal setups. I have an old 1GB card with moebius for surveilance application. It takes 600MB (if I remember correctly) and takes only 30MB of RAM on boot. Moebius is based on Raspbian and uses same repos. So you can add whatever is missing. I love...
by vadim
Tue Oct 22, 2013 3:19 pm
Forum: Русский
Topic: Проблема с запуском
Replies: 8
Views: 8332

Re: Проблема с запуском

не представляю, как вслепую включить ssh и настроить vpn. конечно, можно мысленно это представить, но только не в первый раз :?
есть 100% уверенность, что образ карты правильно встал и там есть все разделы?
by vadim
Tue Oct 22, 2013 12:14 pm
Forum: General discussion
Topic: The busiest Pi...
Replies: 17
Views: 4247

Re: The busiest Pi...

ok, makes sense. the load is not that critical.

Go to advanced search