Code Monkey home page Code Monkey logo

kdoren / jambox-pi-gen Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rpi-distro/pi-gen

74.0 74.0 9.0 3.86 MB

Start jamming online easily with a Raspberry Pi, an audio interface, and this free Jambox image file. Just download/burn/boot/jam. Choose from multiple jamming apps: Jamulus, SonoBus, JackTrip, JamTaba, JammerNetz or HpsJam. User interface is any web browser on same local network. Pre-built image file is available under "Releases".

License: BSD 3-Clause "New" or "Revised" License

Shell 80.05% sed 0.33% Dockerfile 0.55% Python 19.03% Vim Script 0.05%
hpsjam jacktrip jammernetz jamming jamtaba jamulus ninjam raspberry-pi sonobus

jambox-pi-gen's People

Contributors

andig avatar andrewmichaelsmith avatar bjpirt avatar bjsowa avatar cfstras avatar chrisdecker1201 avatar davesteele avatar dcwangmit01 avatar gadgetoid avatar gszy avatar hhromic avatar jacen92 avatar jamesruan avatar kdoren avatar knghtbrd avatar lcvandinteren avatar louismt avatar luigifcruz avatar m-roberts avatar martignoni avatar matthijskooijman avatar oskar456 avatar reneklootwijk avatar rickdoesdev avatar rkubes avatar rnestler avatar sam3d avatar samtygier avatar tjstyle avatar xecdesign avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jambox-pi-gen's Issues

How to Set HiFi Berry Jambox Volume?

Still loving Jambox for our bluegrass group.

In addition to our home unit, and one at church, we've deployed one at a musicians home. The rest of our singers use Jacktrip boxes.

Here's the question - the Capture volume is by default very low for the HiFiBerry input. Not a factor for Neal or Church, as we're feeding it from a mixer. But the other home user has a regular PC condenser mic, and they aren't audible.

So, we installed pimixer, ran it, set Capture volume at 70%, click Make Default, input volume is great, life is good. And when they reboot all that is lost. Is there a way to make the PiMixer volume setting stick?

regards,

Neal Rhodes
"Dynamic Range"

Question: How do I install a 2nd Jambox in the same local network

Hi Kevin,

I' m new to jamulus but very intersted. (good stuff 👍🎶).
My wife uses jamulus with her choir and I use it with my band.
I've read in the read me folder that I have to "use the full url from the label of the box".
I don't know, what that means, because I have no label and my boxes are buildt by myself.
I wouldt be very glad if you can help.
Regards
Micki

Webcam not working in JamTaba

Tried to use a Microsoft Webcam HD-3000 [1] in JamTaba but it doesn't seem to work. Have had to change the order of the audio devices in the /etc/jackdrc.conf as it does have a built in mic. The webcam is recognised by the Pi as if i install Cheese I can get a picture from it.
Not sure if you have any ideas on how to get it to work or if its something that is not in the 32bit build.

[1]
045e:0779 Microsoft Corp. LifeCam HD-3000

urlrelay seems to expire after a couple days - can we renew?

We are running a Jambox unattended at church, and loving it.

Although, after a couple of days, we cannot access it via URLrelay.com/go.

I brought it home, and verified that the box is alive, and IF I remember the old address, I can get to it with
http://192.168.1.235:6080/?..............

So, it's looking like urlrelay.com is clearing out registrations.

I guess I could force a reboot every day in Crontab, but is there something I could run instead to re-do the registration?

regards,

Neal

Can I activate Bluetooth on jambox?

I know this does not make sense while using any of the jamming aps,
but I would like to be able to stream audio to and from the Raspberry Pi.

I installed all the bluetooth packages but
systemctl status bluetooth
still lists bluetooth as dead.
There is a tab for Bluetooth in the main settings menu, but when activated,
it says that
blueman manager cannot continue because the Bluez service is inactive,
because either there is no bluetooth hardware (there is, I even plugged in
a USB dongle just to make sure) or the bletooth service could not be started.

sudo systemctl start bluetooth.service
sudo systemctl enable bluetooth.service

seem to have no effect.

Is that a bug or a feature, or am I doing something wrong?

Behringer UMC202HD choppy audio

Many thanks for the awesome work on this project!!! FYI, I'm experiencing an issue with constant choppy sound using the UMC202HD USB device. Don't know if this is related to the issues with the Focusrites, but believe it's caused by the 5.1 kernel. I'm getting multiple USB "clock source 41 is not valid, cannot use" messages in dmesg. Regards!

jambox 1.3.0 b2 freezes

Today we had a rehersal with 100 (!) barbershoppers. Worked fine, except for me.
The jamulus instance on the raspberry pi 4 B 2GB was nearly freezing, display modifications took seconds, the upstream channel produced a lot of artifacts.
Restarting jamulus helped.
After the rehersal I had to kill jamulus_start.sh to close the again frozen jamulus client.
Jamulus is of rev 3.7.0
With 20 singers everything works fine.

Whom to blame? PI hardare (amount of memory / computing power)? OS kernel issues?

qjackctl not working

Hello everybody! I am having this issue when I try to run qjackctl (RaspberryPi 4 4GB + latest release of JamboxOS + Behringer UPhoria UMC404HD). I am quite new to all this stuff, so it is likely I am missing something simple and banal. Can you please help me?
Screen Shot 2022-02-11 at 1 42 51 PM

Weird chorus/flange effect

I was playing with this jambox pi for like 20+ minutes, then I stopped for a sec and played again, all of a sudden the guitar sound it had built in chorus/flange effect. I checked my pedals and nothing was turned on for chorus/flange. I disconnected jamulus client, and connected again and same thing. Other people in the session also noticed the effect, even my voice had the same sound. So I rebooted the jambox pi, and went back to Jamulus. It went back to normal without the chorus/flange effect.

I'm using Presonus Studio 24c. Followed all instructions to setup but just using the 4GB version of Pi4.

Any ideas?

Thank you

Skip ping requirement in jamulus_start.sh ?

Hi,

I am running my private Jamulus server and would like - for obvious reasons - to keep my iptables rules as tight as possible. From my current experience allowing ICMP is not necessary. I have allowed incoming UDP on the default jamulus port and nothing else, and clients had no problem connecting.

Would skipping the wait-until-server-is-pingable loop in jamulus_start.sh have any side effects? In my case it
lead to not being able to start Jamulus because my server is not pingable, until I changed the startup script.
I assume this check was introduced for a specific reason, but maybe the requirement has changed ... at
least it might keep some users from connecting to server that is alive.

Since you are aiming for a smooth usage for unexperienced users, I think it might be worthwile to consider either
skipping the ping requirement or breaking out of the loop after some cycles with a message.

Last but not least - thank you for your work, you came up with a very useful solution (actually, a whole little universe including package repo -wow!) by creating this remote-controllable Pi-image. Had a jamulus client up-and-running in no time - great!

Regards,
Uli

Amazing work & Update procedure?

Firstly just wanted to say this is absolutely fantastic - worked for me on the first attempt :)

I noticed the client is currently at 3.6.1; that no real issue, but how might updates to it work in future work? Is there a built-in mechanism or is that down to us as end-users?

Change samplerate to 44100 Khz?

Hi guys, first: love this solution! I have 2 Pi's and would like to use them for a local radiostation. 1 goes into the studio, the other is for reporting live from elsewhere. The "external" pi is connected to a Behringer USB mixer: works like a charm. But the "studio" pi is connected to our main mixer (DHD 5200).

There is sound coming IN from the pi into the mixer. But no sound coming OUT of my mixer into the pi. I think it has something to do with the sample rate in the Pi. Because my studio-mixer is providing everything in 44100 Khz. I cannot choose this option in Sonobus on the Pi.. And also in Audacity i've got no signal coming in.. Does anyone know how to fix this? Thanx a lot! :)

pi-gen issue with jackd2

Hello @kdoren,
First of all thank you for the amazing work you are doing with Jambox. Simply AMAZING. I have no experience but I am trying to customize it for my own use. I am trying to build the image with pi-gen. I left everything as it is in jambox, except for some changes I have made in VS Code in Stage3. I don’t need any other jamming software but SonoBus and Jamulus, so I removed the other installations and I have added my own aj-snapshot, plus some other configuration in jackdrc. Now, the pi-gen freezes at stage3 reporting this:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 jackd2 : Depends: libreadline7 (>= 6.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

I don’t know what I am doing wrong (maybe removing the other jamming apps I also removed some essential package?), and I cannot think of a possible solution for this. Do you have any idea?

Sonobus 1.4

Hi,

I just run the Update app and installed the latest Sonobus 1.4, but when I launch the app, it opens the old release...
I reboot the RBPi but nothing happend. Any idea?
(I'm running the jambox 1.3.0b2)

Thank in advance

Where is source for urlrelay.com?

RFE: Can you make the source available for urlrelay.com?

I found this description online:

The web service is "urlrelay.com", and yes, it's a web service I created for this purpose. It's built using the AWS serverless model (api gateway, lambda, DynamoDB, cloudfront) so should be highly reliable. No server to go down. And costs me around $0 to run.
It function is to serve as a sort of mailbox, so the Raspberry Pi (which knows its local network IP address) can hand a URL to your browser (which doesn't know the Rasbperry Pi's IP address).
If the Raspberry Pi's local network IP address doesn't change, after you get the url you don't really need urlrelay.com any more, you can just keep using the url it handed you the first time. You only need urlrelay.com when the Pi's IP address is unknown. In worst case you could figure out the IP address from your router, or with a tool like fing; but I didn't want users to need to do that.
I'm not sure about using jambox.local, I don't think that would resolve from your laptop without creating an entry in hosts file or in DNS.

Focusrite Scarlett support

The current kernel does not provide support for the Focusrite Scarlett 18i8 gen 3 interface and most likely other Scarlett interfaces. I will try a 'Solo 3rd gen' tomorrow.

There is a kernel module available that does support all 2nd and 3rd gen Scarlett interfaces, but I was not able to compile it for the pi.

Support for focusrite interfaces increases the number of potential users a lot. Bundles with the 'Solo' and a condenser mic and a headphone are reasonably affordable and would be a nice 'step up' from the usual Behringer UM's.

[question] How big of a difference in performance is there between the RPi 3b vs 4b?

There's a few scenario's I'm specifically curious about:

  1. If I'm just setting up a jambox system for use with jamulus for an individual and I already have a 3b I'm not using, is the difference in performance worth buying a 4b?
  2. If I'm setting up a system for a whole choir to use as a rehearsal thing, should I save some money and get the 3b for everyone or should I get the 4b (plus the cooling case)?
  3. Is RAM a bottleneck for jambox to an extent where it matters a lot which version of the 4b I get?

Any advice would be much appreciated!

Jacktrip error message

Hi,

I'm trying to use Jacktrip but this message appears: jack SubState is: failed; restarting jack

Thanks in advance

Can wifi be activiated ?

I know Jamulus works on Lan, but for whatever reason, we may want to operate the PI when there is only wifi accessible. Can it be built-in as well, or an option provided?

If I want to manually activate wifi, what would be the procedure?

No VNC error: can't open the NoVNC, Uncaught type error Webutil.fetch.... (solved)

I got an error trying to connect with NO VNC, when I type urlrelay.com/go in chrome I get this error below. I can connect with another laptop, and I even can get connected using Edge as browser.
image

Solution: clear cache, in my case specific for this site:
I didn't want to delete all cache and files from the past month, so I took the custom way,
going to the page urlrelay.com/go and then use developer tools:
Press F12 to open Chrome Developer Tools (will pop up from bottom)
Click settings "gear" icon in top-right corner
Under General check Disable cache
Reload page and re-enable caching by un-checking this box

Sound Probs with R4B

Hi everybody, hi Kevin,

first let me say Jambox does real good job. Wonderful work, thank you.

I' m very new to Jamulus, so I have no experiance. I started with a raspi 3B and Jambox and it made a good job. But I wanted to reduce the latency, and so I changed to Raspi 4B with 4 GB.

It works too, but now I have a distortion if I' m playin piano. (no red LED).
I think it would be better to increase the buffer size. I ve read I can do that by editing the jack configuration. And here is my problem: I do not know to find it.

Who can help ?

Recurring buzz saw on microphone

I have 3 USB audio adapters, two of which are compatible with JamBox: they are a Trond AC2 and a plugable(tm) USB-AUDIO. The third, a Trond AC3, has a problem with JamBox that it does not on Raspbian: a cyclic buzz-saw interference to the microphone audio that recurs with a period of maybe 100 seconds and persists for 10 or so. The audio becomes distinctly non-musical with strange alias distortion artifacts as though there were multiple sampling frequencies (some very low) in effect. It is present not only in Jamulus but also in Audacity and was evident when I first set up JamBox a month or so ago and again with the latest version. I installed Audacity and Jamulus on a Raspbian card and the problem is gone (although I have not got the latency down to what JamBox provides).

This isn't a big issue for me because the adapter is not providing sufficient mic gain for what I have (none of them do); likewise, the headphone outputs are a bit weak. However, this problem may point to an underlying fault that might affect others.

"No ALSA Devices Found" with pimixer on 1.3.0b1

When I try launching "Audio Device Settings" (aka pimixer) on 1.3.0b1 I get a pop up dialog stating "No ALSA Devices Found". However, Jamulus works fine with my audio interface, the Audient iD4.

Not sure what to do to help debug this but happy to help provide further diagnostics if needed.

image

JammerNetz support?

Hi Kevin! Awesome work! I am the author of a Jamulus alternative called JammerNetz, which has a few different design options chosen to lead to a - as I believe - better audio quality and lower latency. It is open source here: https://github.com/christofmuc/JammerNetz

I was wondering if there is any guideline on what the steps are to include a JammerNetz client additionally to the provided Sonobus, Jamulus, ...? I'd be happy to give it a try!

It looks like I could add a directory into stage3 and go from there?

Love the solution with the noVNC/desktop redirect, that saves a lot of work for headless devices/IoT!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.