Go to advanced search

by flatmax
Mon Feb 06, 2017 11:15 am
Forum: General discussion
Topic: Noise on the audio line: modding the power supply?
Replies: 20
Views: 5894

Re: Noise on the audio line: modding the power supply?

I agree with FM81 here, sounds like ground loop. The simplest solution I have seen to solving this type of problem is to use a common mode transformer. This can be done by wrapping the cable around a ring magnet or ferrous metal many times either similar to this (without cutting the cable nor the bo...
by flatmax
Mon Feb 06, 2017 11:05 am
Forum: Beginners
Topic: High resolution DAC and ADC with RPi
Replies: 13
Views: 6043

Re: High resolution DAC and ADC with RPi

Hey there, nice sounding project ! If I were you, I would use a sound card and bypass (short) the DC decoupling capacitors at the input and output of the card. Assuming that your lines in and out will not draw significant current, this will allow you to get DC voltages and very low frequencies into ...
by flatmax
Mon Feb 06, 2017 10:56 am
Forum: Français
Topic: GPIO sur RPI et comparaisons
Replies: 14
Views: 1784

Re: GPIO sur RPI et comparaisons

I don't know if this page is translated to French, but it is a good start :
https://en.wikipedia.org/wiki/Computer_fan_control

Hope that helps !
Matt
by flatmax
Mon Feb 06, 2017 10:52 am
Forum: Graphics programming
Topic: Tutorial 5 - Programming GTK GUIs using gtkIOStream
Replies: 4
Views: 2404

Re: Tutorial 5 - Programming GTK GUIs using gtkIOStream

To compile, we run our compile command with the correct file targets : g++ ButtonCallback.C -o ButtonCallback `pkg-config gtk+-2.0 --cflags --libs` -Igtkiostream-1.5.0/include Which we execute using the command : ./ButtonCallback You should see the following dialog open up: ButtonCallback.png Once y...
by flatmax
Mon Feb 06, 2017 10:36 am
Forum: Graphics programming
Topic: Tutorial 5 - Programming GTK GUIs using gtkIOStream
Replies: 4
Views: 2404

Re: Tutorial 5 - Programming GTK GUIs using gtkIOStream

All buttons, whether they show strings, graphics, are toggle buttons, arrow buttons, radio buttons or check buttons require two things. The first is a callback function to execute when the button signals an event (such as a mouse click). The second is a user pointer variable to pass to the callback ...
by flatmax
Mon Feb 06, 2017 10:01 am
Forum: Graphics programming
Topic: Tutorial 5 - Programming GTK GUIs using gtkIOStream
Replies: 4
Views: 2404

Tutorial 5 - Programming GTK GUIs using gtkIOStream

Hi again, gtkIOStream is a set of C++ headers which enable you to make GTK GUI programs in a very trivial manner. This tutorial 5 will demonstrate how to create a button with a callback function. Tutorial contents can be [url=https://www.raspberrypi.org/forums/viewtopic.php?f=67&t=173531]found here[...
by flatmax
Sun Feb 05, 2017 9:01 am
Forum: Graphics, sound and multimedia
Topic: FFMPEG build with ALSA?
Replies: 2
Views: 1686

Re: FFMPEG build with ALSA?

Can you try to install and use avconv ? It is the name of ffmpeg on the Pi and Debian distributions in general.
I believe that has ALSA support build in.

thanks
Matt
by flatmax
Sat Feb 04, 2017 1:45 pm
Forum: Graphics, sound and multimedia
Topic: Your favourite (HDMI, USB, GPIO) multichannel audio setup?
Replies: 0
Views: 298

Your favourite (HDMI, USB, GPIO) multichannel audio setup?

Hey all,

What is your favourite HDMI, USB or GPIO multichannel input and output solution for the Pi ?
How much does it cost ?

Matt
by flatmax
Sat Feb 04, 2017 1:43 pm
Forum: Graphics, sound and multimedia
Topic: Remote listen audio
Replies: 3
Views: 4925

Re: Remote listen audio

One way to do it is using the rtp from avconv. RTP stands for real time protocol and by using avconv you can cast rtp directly over the network. You can use a myriad of rtp compatible players on Microsoft or Linux. The trick would be to translate through the network ... however that can be accomplis...
by flatmax
Sat Feb 04, 2017 10:55 am
Forum: Graphics programming
Topic: STICKY: Tutorial 0 - Programming GTK GUIs using gtkIOStream
Replies: 29
Views: 16665

Re: Tutorial 0 - Programming GTK GUIs using gtkIOStream

Yep - PeterO got it ! The file paths go something like this. For tutorial 0 you are in the gtkiostream-1.5.0 directory. The header files are in the include directory. The LabelsTest.C file is in the test directory. Lets dissect this line : g++ test/LabelsTest.C -o test/LabelsTest `pkg-config gtk+-3....
by flatmax
Sat Feb 04, 2017 4:25 am
Forum: Graphics programming
Topic: STICKY: Contents - Programming GTK GUIs using gtkIOStream
Replies: 0
Views: 13358

STICKY: Contents - Programming GTK GUIs using gtkIOStream

gtkIOStream is a set of C++ headers which enable you to make GTK GUI programs in a very trivial manner. The nice thing about gtkIOStream is that they are only header files, this makes distribution easier, as you don't need to link against foreign libraries. As headers are inlined by the preprocessor...
by flatmax
Sat Feb 04, 2017 4:21 am
Forum: Graphics programming
Topic: STICKY: Tutorial 0 - Programming GTK GUIs using gtkIOStream
Replies: 29
Views: 16665

Re: Tutorial 0 - Programming GTK GUIs using gtkIOStream

To be able to cut and paste text, you can use ssh (on windows putty). If you also want to be able to open the xwindows from the Pi on your microsoft box, you will need to follow something like this blog :
http://raspberrypiprogramming.blogspot. ... -from.html
by flatmax
Fri Feb 03, 2017 11:10 am
Forum: Graphics programming
Topic: STICKY: Tutorial 4 - Programming GTK GUIs using gtkIOStream
Replies: 24
Views: 10510

Re: Tutorial 4 - Programming GTK GUIs using gtkIOStream

To compile, we run our compile command with the correct file targets : g++ BoxesInBoxesPacking.C -o BoxesInBoxesPacking `pkg-config gtk+-2.0 --cflags --libs` -Igtkiostream-1.5.0/include Which we execute using the command : ./BoxesInBoxesPacking You should see the following dialog open up: BoxesInBox...
by flatmax
Fri Feb 03, 2017 11:07 am
Forum: Graphics programming
Topic: STICKY: Tutorial 4 - Programming GTK GUIs using gtkIOStream
Replies: 24
Views: 10510

Re: Tutorial 4 - Programming GTK GUIs using gtkIOStream

Lets start again by opening our favourite text editor and writing the following code to the file BoxesInBoxesPacking.C #include <gtkInterface.H> #include <Labels.H> #include <Box.H> int main(int argc, char *argv[]){ gtk_init( &argc, &argv ); // init GTK GtkInterface topWindow; // Create the top box ...
by flatmax
Fri Feb 03, 2017 10:53 am
Forum: Graphics programming
Topic: STICKY: Tutorial 4 - Programming GTK GUIs using gtkIOStream
Replies: 24
Views: 10510

STICKY: Tutorial 4 - Programming GTK GUIs using gtkIOStream

Hi again, gtkIOStream is a set of C++ headers which enable you to make GTK GUI programs in a very trivial manner. This tutorial 4 demonstrate how to layout widgets using a combination of horizontal and vertical packing boxes. Tutorial 0 : Sets up prerequisites and introduces/tests that your compile ...
by flatmax
Fri Feb 03, 2017 6:56 am
Forum: Graphics programming
Topic: STICKY: Tutorial 0 - Programming GTK GUIs using gtkIOStream
Replies: 29
Views: 16665

Re: Tutorial 0 - Programming GTK GUIs using gtkIOStream

Matt, No. I just don't get it. [email protected]:~/gtkiostream-1.5.0 $ g++ test/LabelsTest.C -o test/LabelsTest `pkg-config gtk+-3.0 --cflags --libs` -Iinclude3test/LabelsTest.C:17:26: fatal error: gtkInterface.H: No such file or directory #include "gtkInterface.H" ^ compilation terminated. -Mike Almo...
by flatmax
Thu Feb 02, 2017 12:08 pm
Forum: Raspbian
Topic: record screen with ffmpeg while omxplayer is playing on rpi3
Replies: 10
Views: 2828

Re: record screen with ffmpeg while omxplayer is playing on

OK, I Think I understand. You want to record your screen for a little bit of time. Try the ffmpeg or avconv command like so : avconv -f x11grab output.flv You can use the "-s" flag to restrict the size. and the "-i" command to set an offset. You can specify a video codec, like -vcodec libx264 for ex...
by flatmax
Thu Feb 02, 2017 10:15 am
Forum: Graphics programming
Topic: STICKY: Tutorial 1 - Programming GTK GUIs using gtkIOStream
Replies: 2
Views: 6555

Re: Tutorial 1 - Programming GTK GUIs using gtkIOStream

Now it is time to compile the program In a similar manner to Tutorial 0 , we will call the compile command, but this time we will compile our file EmptyTopWindow.C to the executable EmptyTopWindow and it will land in our current directory. g++ EmptyTopWindow.C -o EmptyTopWindow `pkg-config gtk+-2.0...
by flatmax
Thu Feb 02, 2017 10:03 am
Forum: Graphics programming
Topic: STICKY: Tutorial 3 - Programming GTK GUIs using gtkIOStream
Replies: 11
Views: 9198

Re: Tutorial 3 - Programming GTK GUIs using gtkIOStream

To compile, we change the input and output file names of the same compile command we have been using in the previous tutorials. It now becomes; g++ VBoxPacking.C -o VBoxPacking `pkg-config gtk+-2.0 --cflags --libs` -Igtkiostream-1.5.0/include Which we execute using the command : ./VBoxPacking You sh...
by flatmax
Thu Feb 02, 2017 9:59 am
Forum: Graphics programming
Topic: STICKY: Tutorial 3 - Programming GTK GUIs using gtkIOStream
Replies: 11
Views: 9198

Re: Tutorial 3 - Programming GTK GUIs using gtkIOStream

As for the previous tutorials, we will need to include the header file which defines the vertical packing class we require. We will then use a few lines of code to instantiate the class and output widgets into other widgets using the "<<" operator. Lets start again by opening our favourite text edit...
by flatmax
Thu Feb 02, 2017 9:41 am
Forum: Graphics programming
Topic: STICKY: Tutorial 3 - Programming GTK GUIs using gtkIOStream
Replies: 11
Views: 9198

STICKY: Tutorial 3 - Programming GTK GUIs using gtkIOStream

Hi again, gtkIOStream is a set of C++ headers which enable you to make GTK GUI programs in a very trivial manner. This tutorial 3 will begin to explain "packing" a term which is used to layout your widgets in a desired manner in your dialog. Tutorial 0 : Sets up prerequisites and introduces/tests th...
by flatmax
Thu Feb 02, 2017 1:49 am
Forum: Français
Topic: Volumio
Replies: 2
Views: 794

Re: Volumio

Another option is to use a GPIO sound card.
At the bottom of this support thread, someone has reported it working with such cards :
http://www.flatmax.org/phpbb/viewtopic.php?f=5&t=15

thanks
Matt
by flatmax
Wed Feb 01, 2017 11:50 am
Forum: Media centres
Topic: Multichannel audio out for rpi2
Replies: 1
Views: 1076

Re: Multichannel audio out for rpi2

I haven't played with HDMI multichannel, but it is now possible to do multichannel over the GPIO header.

Matt
by flatmax
Wed Feb 01, 2017 11:49 am
Forum: General discussion
Topic: The Raspberry Pi 3 Model B Q&A thread
Replies: 457
Views: 213430

Re: The Raspberry Pi 3 Model B Q&A thread

I'd like to ask again. Does anyone know if the Pi3 processor supports I2s TDM mode so we can do multichannel audio? Thanks. Mark I don't believe anything is different in that area to the Pi2. If the Pi B shares the same silicon (bcm2835 compatible) with the Pi2 and Pi3, then multichannel audio is n...

Go to advanced search