Go to advanced search

by jannis
Sat May 09, 2015 2:35 pm
Forum: Other projects
Topic: Rassberry Pi and Jack audio
Replies: 70
Views: 56650

Re: Rassberry Pi and Jack audio

Hi Keith, are you using a wireless or wired connection? If wifi, can you try a wired connection first? Jack transfers raw audio which means it is pretty heavy on the bandwidth, especially on the Pi. Maybe you can use jack2 (versions 1.9.X)? The network audio works completely different there and shou...
by jannis
Wed Nov 07, 2012 10:02 am
Forum: Other projects
Topic: Rassberry Pi and Jack audio
Replies: 70
Views: 56650

Re: Rassberry Pi and Jack audio

Ah right, forgot about the USB-"sound card" thing. O Assuming you want to have sound input via your "USB sound card" and sound output via the RPi's analog audio jack: Configure jack to use your USB sound card as primary backend (via ALSA). Then use alsa_out as I posted earlier to get the sound to th...
by jannis
Wed Nov 07, 2012 9:12 am
Forum: Other projects
Topic: Rassberry Pi and Jack audio
Replies: 70
Views: 56650

Re: Rassberry Pi and Jack audio

If you mean the error with "mmap" in the output: This is due to the RPi's ALSA-driver and can be worked around using the method I described earlier.
by jannis
Tue Nov 06, 2012 10:21 pm
Forum: Other projects
Topic: Rassberry Pi and Jack audio
Replies: 70
Views: 56650

Re: Rassberry Pi and Jack audio

billb wrote:So I thought I was well on my way to having a neat little guitar effects processor, but then I started seeing jack crashing / failing to start, then started Googling, then found this topic. :(
What messages/errors do you see from jack? Which settings do you use?
by jannis
Sat Oct 27, 2012 11:59 am
Forum: Other projects
Topic: Rassberry Pi and Jack audio
Replies: 70
Views: 56650

Re: Rassberry Pi and Jack audio

I tried Gentoo and finally got jack2 installed version 1.9.9.4 from the pro-audio overlay. but I am still getting the same bus error. I also tried to install the 1.9.8 version but the sources are missing. You mean version 1.9999? That'd be jack1 then (a live ebuild). pro-audio overlay is perfectly ...
by jannis
Thu Oct 18, 2012 5:47 pm
Forum: General discussion
Topic: JACK, midi and synths.
Replies: 7
Views: 4204

Re: JACK, midi and synths.

I got JACK working on the RPi and posted my solution to: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=41&t=5787&p=196500#p196500 About VST: forget it :) LADSPA and LV2: depends on the plugins but most of them are quite CPU-intensive (doing spectral analysis via FFT, heavy floating-point calcul...
by jannis
Wed Oct 17, 2012 9:10 pm
Forum: Other projects
Topic: Rassberry Pi and Jack audio
Replies: 70
Views: 56650

Re: Rassberry Pi and Jack audio

I had that "cannot allocate memory" error when not using "-p 8" that's why I'm using it at all. But on my RPi, it doesn't try to lock that much memory ... Can you try with 4 ports? Wait, it tries to allocate about 13MB of RAM and fails? That is strange. The only difference might be that I'm running ...
by jannis
Wed Oct 17, 2012 7:31 pm
Forum: General discussion
Topic: JACK, midi and synths.
Replies: 7
Views: 4204

Re: JACK, midi and synths.

I got JACK working on the RPi and posted my solution to: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=41&t=5787&p=196500#p196500 About VST: forget it :) LADSPA and LV2: depends on the plugins but most of them are quite CPU-intensive (doing spectral analysis via FFT, heavy floating-point calcula...
by jannis
Wed Oct 17, 2012 7:28 pm
Forum: Other projects
Topic: Rassberry Pi and Jack audio
Replies: 70
Views: 56650

Re: Rassberry Pi and Jack audio

Argh, I feel a little dumb right now since it took me so long to get this idea. I got jack-audio-connection-kit running on the RPi! Here's how you do it: - Install jack from "jack2"-branch (was jack-dmp) (for example jack-1.9.8) - Run jack using the "dummy"-driver without realtime: "jackd -r -p 8 -d...
by jannis
Tue Oct 16, 2012 6:19 pm
Forum: Gentoo
Topic: Gentoo Linux
Replies: 114
Views: 54866

Re: Gentoo Linux

Ah, the wrapper-script! Sorry it took so long. I had in my mind that the wrapper is on the machines doing the actual compilation (my desktop or laptop) but in reality the wrapper-script is on the RPi. And I didn't have it at home since I gave it to a friend. Now it's back and here's the wrapper-magi...
by jannis
Tue Oct 09, 2012 7:03 am
Forum: Gentoo
Topic: Gentoo Linux
Replies: 114
Views: 54866

Re: Gentoo Linux

That way of cross-compiling won't work. You can't chroot into an ARM-system an a x86/x86_64 system because you cannot execute ARM-binaries on that host. The way to go is to setup a cross-compiler on your x86/x86_64 system (easy with crossdev) and then use distcc for cross-compiling: http://www.gent...
by jannis
Wed Sep 05, 2012 6:15 am
Forum: General discussion
Topic: Simon's accelerated X development thread
Replies: 405
Views: 137323

Re: Simon's accelerated X development thread

Here's another guide about distcc and cross-compiling:
http://www.gentoo.org/doc/en/distcc.xml

and since we're at it:
http://www.phoronix.com/scan.php?page=n ... px=MTE3NTE
anyone here in the forums knows more about that?
by jannis
Sat Aug 11, 2012 11:58 am
Forum: Other projects
Topic: Rassberry Pi and Jack audio
Replies: 70
Views: 56650

Re: Rassberry Pi and Jack audio

I may repeat myself here, but it's not jack's fault: jackd won't run on the Pi with the current driver since jackd tries to mmap the audio and exactly that operation is not supported by the alsa-driver for the BCM-sound part When trying to "lock" memory using: http://pyropus.ca/software/memtester th...
by jannis
Fri Jul 27, 2012 8:33 pm
Forum: Other projects
Topic: CAN Interface
Replies: 103
Views: 103516

Re: CAN Interface

In that regards, while the MCP2515 is a great CAN chip, why not go with a more "open hardware" friendly STN1110, which is still lightning fast with CAN but also compliant with other protocols? Additionally, it supports the "AT" command set (basically the same as used with modems) so I'm sure progra...
by jannis
Thu Jul 26, 2012 2:36 pm
Forum: Gentoo
Topic: Gentoo Linux
Replies: 114
Views: 54866

Re: Gentoo Linux

There are no patches, there's "only" the github-repository: https://github.com/raspberrypi/linux and a fork that uses a slightly newer kernel: https://github.com/bootc/linux/tree/rpi-3.2.23 I once tried to get the patches out from the repo and apply them to 3.3 and failed. Is there any reason why yo...
by jannis
Thu Jul 26, 2012 6:02 am
Forum: Gentoo
Topic: Gentoo Linux
Replies: 114
Views: 54866

Re: Gentoo Linux

Don't use gentoo-sources, it misses needed patches. http://lmgtfy.com/?q=raspberry+pi+kernel

Setting up a cross-compiler for gentoo:
http://lmgtfy.com/?q=gentoo+cross+compiler

Using distcc with it:
http://lmgtfy.com/?q=gentoo+distcc+cros ... ling+guide
by jannis
Thu Jul 19, 2012 12:40 pm
Forum: Other projects
Topic: CAN Interface
Replies: 103
Views: 103516

Re: CAN Interface

Thanks for the input. I was reading some summaries about socketcan. I think it is a good basis for the project. I've not much knowledge about this piece of software yet, but i think the timestamps are not integrated because of the (quite expensive) PAEK Systems hardware. I think they are added thro...
by jannis
Thu Jul 19, 2012 9:18 am
Forum: Other projects
Topic: Iceberg Case Project
Replies: 71
Views: 47815

Re: Iceberg Case Project

TradeMarck wrote:@Dreamy2 - Very interested in this case and would like to know more. Also, what remote/keyboard is shown in the pics?
The keyboard seems to be the one from here:
http://www.xtreamer.net/2012/new-accessories.html
by jannis
Sun Jul 15, 2012 9:56 pm
Forum: Other projects
Topic: CAN Interface
Replies: 103
Views: 103516

Re: CAN Interface

When using an USB-based CAN-adapter (from PEAK Systems), the device logs a timestamp for every received frame and that is transfered to the userspace-software via the socketcan network-interface.
by jannis
Sat Jun 30, 2012 11:53 am
Forum: Other projects
Topic: Rassberry Pi and Jack audio
Replies: 70
Views: 56650

Re: Rassberry Pi and Jack audio

anwe79 wrote:Ok, yeah i guess one of those would need special drivers to work, not a bog standard class-compliant device that one.
It requires a driver but that is included in mainline linux. On my desktop and laptop it's working but the driver for the RPi's USB-host has a problem.
by jannis
Fri Jun 29, 2012 10:23 pm
Forum: Other projects
Topic: Rassberry Pi and Jack audio
Replies: 70
Views: 56650

Re: Rassberry Pi and Jack audio

@Jannis: Did you try the -i and -o switches? I know jackd can be fussy about having the correct channel count of the hardware (at least with ffado/freebob backend). I suppose an UA-101 should have 10 or 6 I/O depending on the sample rate setting. It's not jack's fault. It's the USB-driver so the de...
by jannis
Thu Jun 28, 2012 11:40 am
Forum: Other projects
Topic: Rassberry Pi and Jack audio
Replies: 70
Views: 56650

Re: Rassberry Pi and Jack audio

I just got my pi yesterday and have started trying some audio stuff. Alsa seems to work, although is still a bit glitchy (aplay is very noisy, alsaplayer works better but with some pops). I've tried getting jackd to run, but haven't got all the way yet. It starts, but doesn't seem to initialize pro...
by jannis
Fri Jun 15, 2012 1:36 pm
Forum: Gentoo
Topic: Gentoo Linux
Replies: 114
Views: 54866

Re: Gentoo Linux

basti122303 wrote:I also have compile a kernel with squashfs and placed this under /boot.
How can i boot this? (there are 2 files, vmlinuz and the other i don't know yet.)
Please take a look at this document: http://elinux.org/RPi_Kernel_Compilation
by jannis
Wed May 23, 2012 12:16 pm
Forum: Other projects
Topic: [Q]hd44780 lcd screen
Replies: 53
Views: 46429

Re: [Q]hd44780 lcd screen

Just another method that I had running on my AVR32-based NGW100: http://lcdproc.sourceforge.net/docs/lcdproc-0-5-5-user.html#hd44780-i2c You can use the lcdproc-software with the I2C-kernel-driver for the RPi. The IC used in this setup is pretty cheap and you can even use 40x4-displays when you can ...
by jannis
Wed May 23, 2012 8:44 am
Forum: Other projects
Topic: [Q]hd44780 lcd screen
Replies: 53
Views: 46429

Re: [Q]hd44780 lcd screen

I don't think you need the level-shifters since you usually only send from the Pi to the LCD and don't need to read any data coming from the display. And most 5V-pins will read 3.3V as a logical "1" so it might just work. But don't blame me if you fry anything while trying :P

Go to advanced search