Go to advanced search

by flatmax
Mon Nov 13, 2017 10:12 am
Forum: Recommended peripherals
Topic: Solderless connector pins for Pi Zero GPIO
Replies: 18
Views: 10893

Re: Solderless connector pins for Pi Zero GPIO

Thank you, greatly honoured to have a moderator on board . It lifts the product's reputation no end !

Matt
by flatmax
Mon Nov 13, 2017 10:09 am
Forum: Wanted
Topic: Can someone recommend a pogo pin for rpi 0?
Replies: 3
Views: 1857

Re: Can someone recommend a pogo pin for rpi 0?

We were searching for something similar for the Pi 0. Couldn't find it, so we started a new product, it may be useful to you : https://www.kickstarter.com/projects/1250664710/pcb-quick-connect-clip-40-pin-raspberry-pi-compati/?ref=piforum I have been using them for a while now to debug various audio...
by flatmax
Sun Nov 12, 2017 6:16 am
Forum: Recommended peripherals
Topic: Solderless connector pins for Pi Zero GPIO
Replies: 18
Views: 10893

Re: Solderless connector pins for Pi Zero GPIO

We have launched a 40 pogo pin clamp connector which may be of interest to you, check it out here : https://www.kickstarter.com/projects/1250664710/pcb-quick-connect-clip-40-pin-raspberry-pi-compati?ref=piforumpogo0 It is a solderless 40 pin connection option, can be used for Pi Zero headerless syst...
by flatmax
Mon Nov 06, 2017 7:36 pm
Forum: Cases
Topic: PCBh quick connect clip
Replies: 0
Views: 211

PCBh quick connect clip

Hey there,

I thought this may be of interest to Pi Zero people.

A new PCB quick connect clip is available - it lets you connect to headerless PCBs (like the zero) in seconds.

Come check it out here on kickstarter.
by flatmax
Sat Nov 04, 2017 3:18 am
Forum: Graphics, sound and multimedia
Topic: PiDeck Digital Vinyl System released
Replies: 9
Views: 1785

Re: PiDeck Digital Vinyl System released

Hey guys, thanks for the hard work,

https://github.com/pideck/pideck/issues ... -269236535

I noticed you have Pideck down to 4 ms with the audio injector sound card - awsome ! I wonder how/if we can get the latency down further ?


Matt
by flatmax
Thu Nov 02, 2017 10:15 am
Forum: Recommended peripherals
Topic: Solderless quick connect clips for the GPIO header
Replies: 1
Views: 253

Solderless quick connect clips for the GPIO header

Hey there, We are keen to get feedback on our PCB quick connect clips ... see here . We think these are the ultimate for solderless connections to header footprints - like the Pi Zero's unpopulated header. What do you think of our video, project or other things ? zero.bot.ai.top.web.jpg thanks Matt
by flatmax
Thu Jul 27, 2017 11:13 am
Forum: C/C++
Topic: Tutorial 3 - Audio programming with gtkIOStream
Replies: 2
Views: 345

Re: Tutorial 3 - Audio programming with gtkIOStream

OK - all ready now to compile, run and test ! We compile it with the following command : g++ `pkg-config --cflags --libs gtkIOStream` -o ALSACapture ALSACapture.C Using the ALSACapture file as the output and similar name for the source code we entered into our IDE (or text editor). We run like so - ...
by flatmax
Thu Jul 27, 2017 11:06 am
Forum: C/C++
Topic: Tutorial 3 - Audio programming with gtkIOStream
Replies: 2
Views: 345

Re: Tutorial 3 - Audio programming with gtkIOStream

In the IDE, enter the following code (we will run through this code in execution order to understand what it is doing) : #include <ALSA/ALSA.H> #include <iostream> using namespace std; using namespace ALSA; #include <Sox.H> int main(int argc, char *argv[]) { if (argc<2){ cout<<"Usage:\n"<<argv[0]<<"...
by flatmax
Thu Jul 27, 2017 10:59 am
Forum: C/C++
Topic: Tutorial 3 - Audio programming with gtkIOStream
Replies: 2
Views: 345

Tutorial 3 - Audio programming with gtkIOStream

gtkIOStream is a versatile software for signal processing and audio processing, amongst other features (such as GUI programming). It interfaces directly with ALSA and or jackd for low latency audio processing and routing. gtkIOStream also provides a nice port GUI for jackd. This tutorial targets ALS...
by flatmax
Wed Jul 26, 2017 1:32 pm
Forum: C/C++
Topic: Tutorial 2 - Audio programming with gtkIOStream
Replies: 2
Views: 406

Re: Tutorial 2 - Audio programming with gtkIOStream

We compile it with the following command : g++ `pkg-config --cflags --libs gtkIOStream` -o JackClient JackClient.C this command should be reasonably familiar to you now, we are compiling the code (JackClient.C) and calling it JackClient. We have to start jackd before we start our client, if you are ...
by flatmax
Wed Jul 26, 2017 12:57 pm
Forum: C/C++
Topic: Tutorial 2 - Audio programming with gtkIOStream
Replies: 2
Views: 406

Re: Tutorial 2 - Audio programming with gtkIOStream

In geany, cut and past the following code : #include <JackClient.H> #include <iostream> using namespace std; #include <unistd.h> // for sleep /** This jack client will play back what it captures */ class JackFullDuplex : public JackClient { /// The Jack client callback - copy input to output int pro...
by flatmax
Wed Jul 26, 2017 12:42 pm
Forum: C/C++
Topic: Tutorial 2 - Audio programming with gtkIOStream
Replies: 2
Views: 406

Tutorial 2 - Audio programming with gtkIOStream

gtkIOStream is a versatile software for signal processing and audio processing, amongst other features (such as GUI programming). It interfaces directly with jackd for low latency audio processing and routing. gtkIOStream also provides a nice port monitor interface which shows which jackd ports are ...
by flatmax
Mon Jul 24, 2017 1:20 pm
Forum: C/C++
Topic: Tutorial 1 - Audio programming with gtkIOStream
Replies: 2
Views: 323

Re: Tutorial 1 - Audio programming with gtkIOStream

We need an audio file for testing, so lets download a free one : wget "https://ogg.jamendo.com/download/track/206411/ogg1/" -O flatmax.CentralTransmission.ogg Compile your code : g++ `pkg-config --cflags --libs gtkIOStream` -o SoxInOut SoxInOut.C The pkg-config statement tells g++ about preprocessor...
by flatmax
Mon Jul 24, 2017 1:20 pm
Forum: C/C++
Topic: Tutorial 1 - Audio programming with gtkIOStream
Replies: 2
Views: 323

Re: Tutorial 1 - Audio programming with gtkIOStream

In the geany editor, enter the following code : #include <Sox.H> #include <iostream> int main(int argc, char *argv[]) { if (argc<3){ // input check cout<<"Usage:\n"<<argv[0]<<" audioFileNameIn audioFileNameOut"<<endl; return -1; } Sox<int> sox; // declare our sox object reading/writing int (32 bits)...
by flatmax
Mon Jul 24, 2017 12:50 pm
Forum: C/C++
Topic: Tutorial 1 - Audio programming with gtkIOStream
Replies: 2
Views: 323

Tutorial 1 - Audio programming with gtkIOStream

gtkIOStream is a versatile software for signal processing and audio processing, amongst other features (such as GUI programming). In this tutorial we will focus on loading audio from file (almost any type of audio file format) and saving it back to file (almost any audio file format). Before we star...
by flatmax
Sat Jul 22, 2017 12:29 pm
Forum: Troubleshooting
Topic: STICKY: Analog audio problems? post comments here!
Replies: 117
Views: 56732

Re: Analog audio problems? post comments here!

When I've tried to use espeak, either, if I use a long input, the quality plummets after three words, or the first word isn't spoken. All errors are consistent. pi@raspberrypi:~ $ espeak "Evacuate, fart detected, level 28" ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front ALSA...
by flatmax
Fri Jul 21, 2017 2:32 pm
Forum: Graphics, sound and multimedia
Topic: Final designs of the Audio Injector Zero
Replies: 0
Views: 215

Final designs of the Audio Injector Zero

We are nearing the end of our campaign, and we have come a long way - thanks to everyone for pledging and being involved. We think we can obtain at least one more stretch goal ... so come along and join in, or just help us spread the word ! https://www.kickstarter.com/projects/1250664710/audio-injec...
by flatmax
Fri Jul 21, 2017 1:54 pm
Forum: C/C++
Topic: Tutorial 0 - Audio programming with gtkIOStream
Replies: 1
Views: 299

Re: Tutorial 0 - Audio programming with gtkIOStream

Next we will install gtkIOStream . We need to clone its git repository : git clone https://github.com/flatmax/gtkiostream.git Great - now lets compile gtkIOStream. To do that we have to change to its directory, reconfigure autotools, configure the make system and make it, then make install it ! ... ...
by flatmax
Fri Jul 21, 2017 12:29 pm
Forum: C/C++
Topic: Tutorial 0 - Audio programming with gtkIOStream
Replies: 1
Views: 299

Tutorial 0 - Audio programming with gtkIOStream

This tutorial is the first in a series of audio programming tutorials using gtkIOStream. gktIOStream is a C++ development package which allows simple interfacing to audio subsystems in Linux. The two main systems it uses is jackd and ALSA. In this tutorial we will install gtkIOStream and test that i...
by flatmax
Thu Jul 13, 2017 8:05 am
Forum: Add-ons
Topic: Microphone Hookup to Pi for Beginners!
Replies: 9
Views: 822

Re: Microphone Hookup to Pi for Beginners!

Hi there, You need to put your electret microphpone through an ADC (analogue to digital converter). The ADC should also be setup to power and receive the audio from the electret mic. There are some products out there which can do this. If you purchase one of the Audioinjector boards, they have a foo...
by flatmax
Thu Jul 13, 2017 8:00 am
Forum: Graphics, sound and multimedia
Topic: video and pro audio project
Replies: 2
Views: 385

Re: video and pro audio project

Seems like a good approach. Do you need to record your multichannel audio to separate audio files ? If so, then there is information on the audio injector forum on how to do that : http://forum.audioinjector.net/viewtopic.php?f=9&t=2728 Otherwise, you may find it easier to use avconv (same as ffmpeg...
by flatmax
Thu Jul 13, 2017 7:56 am
Forum: Português
Topic: Configurar Microfone
Replies: 2
Views: 589

Re: Configurar Microfone

Hi there,

You need to get either a GPIO sound card with a microphone or a USB sound card with a microphone. Once you plug the card in and configure the /boot/config.txt file, the Pi will recognise the sound card.

You can then record the video with both audio and video.

Matt
by flatmax
Wed Jul 12, 2017 11:32 am
Forum: Advanced users
Topic: Raspberry pi Zero - Analog audio input
Replies: 9
Views: 1467

Re: Raspberry pi Zero - Analog audio input

The dynamic range of 10 bits is very small :) The noise floor would be high. If you consider that people have extremely acute hearing, with our ability to hear between 120 dB SPL and 0 dB SPL very well. We can hear on a scale of 1:1 000 000 ! 20 uPa to 20 Pa if that link is correct. If you look at t...
by flatmax
Thu Jul 06, 2017 12:33 pm
Forum: Gaming
Topic: MAME ROMS won't launch with USB sound card
Replies: 3
Views: 406

Re: MAME ROMS won't launch with USB sound card

It is possible that you need to also specify the default ctl, something like this :

Code: Select all

pcm.!default {
	type hw
	card 1
}

ctl.!default {
	type hw           
	card 1
}
Matt
by flatmax
Thu Jul 06, 2017 9:25 am
Forum: C/C++
Topic: Tutorial 0 - Multithreading using gtkIOStream
Replies: 8
Views: 844

Re: Tutorial 0 - Multithreading using gtkIOStream

Hi , yep So the idea is to abstract the threads into C++ classes. This allows you to manage class variables and do more complex things in a trivial manner ... in the following tutorials, it will show you how to do things like share memory and overload a class method to instantiate a thread function....

Go to advanced search