Raspberry Pi and music production
Moderators: MattKingUSA, khz
-
- Established Member
- Posts: 544
- Joined: Sun May 22, 2011 6:14 pm
- Location: New Hampshire, US
- Been thanked: 1 time
Re: Raspberry Pi and music production
What I'm trying to say is, if the only way I get JACK working is by putting the turbo ethernet and force USB 1.1 on their own line(which means they're not doing anything) than what good is at least the USB 1.1 force? Obviously the ethernet needs to be throttled or disabled, because I also can't start JACK unless the driver is stoped. But then what about the force usb 1.1? In your tutorial is this possibly something specific to your interface, because what I'm saying is, it's preventing JACK from being started when it's in the first line with all the other stuff. (I understand what I need to do, just trying to get to the bottom of this so future users can look at this and make a decision.)
- autostatic
- Established Member
- Posts: 1994
- Joined: Wed Dec 09, 2009 5:26 pm
- Location: Beverwijk, The Netherlands
- Has thanked: 32 times
- Been thanked: 104 times
- Contact:
Re: Raspberry Pi and music production
If that is the case you don't really need the smsc95xx.turbo_mode=N option.i2productions wrote:What I'm trying to say is, if the only way I get JACK working is by putting the turbo ethernet and force USB 1.1 on their own line(which means they're not doing anything) than what good is at least the USB 1.1 force? Obviously the ethernet needs to be throttled or disabled, because I also can't start JACK unless the driver is stoped.
For my audio interface I need to force the controller to USB1.1 mode otherwise it's xruns galore. This can be different for other interfaces and that's why I phrased it likei2productions wrote:But then what about the force usb 1.1? In your tutorial is this possibly something specific to your interface, because what I'm saying is, it's preventing JACK from being started when it's in the first line with all the other stuff. (I understand what I need to do, just trying to get to the bottom of this so future users can look at this and make a decision.)
There is a user that goes by the handle of GuitarExtended who is using an EMU 0404 I think. And he doesn't need to set the controller to USB1.1 either in order to use his RPi as a guitar effects processor with pd. So it's not a necessary option.The RPi has a USB2 controller that apparently can cause issues with USB1.1 audio interfaces.
-
- Established Member
- Posts: 544
- Joined: Sun May 22, 2011 6:14 pm
- Location: New Hampshire, US
- Been thanked: 1 time
Re: Raspberry Pi and music production
After getting everything working, my next unexplained hurdle was this distortion(a very noticeable and prominent distortion that would render Rpi useless for Pro-audio tasks) in audio using JACK no matter if I was capturing, playing back, or routing signal through. I happened to pull the USB dongle for my Logitech keyboard/mouse combo while playing a .wav file in Ardour, and the distortion was gone. JACK is now working the way I want it to(unfortunately I have no way to control it since at the moment, ALL keyboards and mice I own are wireless USB. Also all Logitech, and testing the keyboard mouse combo, and a separate logitech mouse yielded the same results. Not sure if this is something to do with USB, or if it's the wireless frequency somehow interfering. But I've tried moving my USB hub away from the pi and audio interface with no change, so I'm going to have to assume it's related to USB.
- autostatic
- Established Member
- Posts: 1994
- Joined: Wed Dec 09, 2009 5:26 pm
- Location: Beverwijk, The Netherlands
- Has thanked: 32 times
- Been thanked: 104 times
- Contact:
Re: Raspberry Pi and music production
I've set up a repository in which I will put some Raspbian packages of software that is either not available or not up to date:
http://wiki.linuxaudio.org/wiki/raspber ... repository
http://wiki.linuxaudio.org/wiki/raspber ... repository
- autostatic
- Established Member
- Posts: 1994
- Joined: Wed Dec 09, 2009 5:26 pm
- Location: Beverwijk, The Netherlands
- Has thanked: 32 times
- Been thanked: 104 times
- Contact:
- autostatic
- Established Member
- Posts: 1994
- Joined: Wed Dec 09, 2009 5:26 pm
- Location: Beverwijk, The Netherlands
- Has thanked: 32 times
- Been thanked: 104 times
- Contact:
- autostatic
- Established Member
- Posts: 1994
- Joined: Wed Dec 09, 2009 5:26 pm
- Location: Beverwijk, The Netherlands
- Has thanked: 32 times
- Been thanked: 104 times
- Contact:
Re: Raspberry Pi and music production
Auto,
Do you realize you're exactly the target audience for my eDrummer software? The intent is something that runs on the leanest possible distro (ie, no kde/gnome libs, no JACK or other sound deamons) so that max mem is available for drum samples, has minimal latency for slow cpus, and can be run headless.
You don't have vel sensitive pads, so the drum map Phil is using is overkill. But if you want to test, I can supply you with what works best for your system. And the "Pad combo changes kit" would be easy to implement. (Also, if you're going to run headless, I could do a non-GUI version).
Let me know if you're interested, and we can start right away.
Do you realize you're exactly the target audience for my eDrummer software? The intent is something that runs on the leanest possible distro (ie, no kde/gnome libs, no JACK or other sound deamons) so that max mem is available for drum samples, has minimal latency for slow cpus, and can be run headless.
You don't have vel sensitive pads, so the drum map Phil is using is overkill. But if you want to test, I can supply you with what works best for your system. And the "Pad combo changes kit" would be easy to implement. (Also, if you're going to run headless, I could do a non-GUI version).
Let me know if you're interested, and we can start right away.
Author of BackupBand at https://sourceforge.net/projects/backupband/files/
My fans show their support by mentioning my name in their signature.
- autostatic
- Established Member
- Posts: 1994
- Joined: Wed Dec 09, 2009 5:26 pm
- Location: Beverwijk, The Netherlands
- Has thanked: 32 times
- Been thanked: 104 times
- Contact:
Re: Raspberry Pi and music production
Hi j_e_f_f_g, thanks for the offer but at the moment I can do everything you've mentioned with my current set-up so for now I'll stick with that. Also I prefer using JACK, it's more flexible than ALSA. If I decide I'd like to add extra effects, route audio over the network or use the RPi as a drum machine and a synthesizer at the same time then ALSA only applications are probably not the way to go for me. But I will most definitely compile eDrummer for my RPi and see how it compares to my current set-up. I'll post the outcome in this thread.
- English Guy
- Established Member
- Posts: 525
- Joined: Wed Oct 17, 2012 7:28 pm
- Location: England
- Has thanked: 8 times
- Been thanked: 7 times
Re: Raspberry Pi and music production
Hi
Just got my Pi up and running with Raspian & Autostatics repo added (thankyou sir ).
At the moment just trying to get Hydrogen working with the internal sound, It plays slowly & the notes sound too low pitched to me. I have tried with Alsa & Jack & tried changing Hydrogen's sample rate.
I do have a USB interface I could try, but being able to plug the Pi into a TV HDMI socket & power it off the TV's USB socket would make it a very covenient no hassle drum machine when practicing guitar.
Any ideas please?
cheers
Guy
Just got my Pi up and running with Raspian & Autostatics repo added (thankyou sir ).
At the moment just trying to get Hydrogen working with the internal sound, It plays slowly & the notes sound too low pitched to me. I have tried with Alsa & Jack & tried changing Hydrogen's sample rate.
I do have a USB interface I could try, but being able to plug the Pi into a TV HDMI socket & power it off the TV's USB socket would make it a very covenient no hassle drum machine when practicing guitar.
Any ideas please?
cheers
Guy
Re: Raspberry Pi and music production
Raspberry Pi does interest me. But that power thing and the sheer number of usb ports has me concerned. I've always thought that if it just had 4x usb ports that I could find a use for it. 1x mouse, 1x keyboard, 1x soundcard, 1x usb midi input device. Sure, this could be solved with a USB hub and other power options, but as a replacement for my desktop, sadly not possible without the extra ports to use existing hardware. No case, no display, and barebones that the pi is (even at $25), is kind of hard to choose it. 4x usbs and and an included walwart (even without case) @ $50 and I'd get one. Double the RAM would be nice, but at long as you don't run java or flash, it's existing specs are ample. And then there's that Arm v6 vs. Arm v8 32 vs 64 bit thing. But the hope that little thing brings to small budgets and low power usage is pretty sweet.
- English Guy
- Established Member
- Posts: 525
- Joined: Wed Oct 17, 2012 7:28 pm
- Location: England
- Has thanked: 8 times
- Been thanked: 7 times
Re: Raspberry Pi and music production
@ Shadow_7 - what I did was buy a powered hub that could also power the pi from one of its usb sockets, this made getting a hub effectively cheaper because you do not have to buy a psu. You lose a usb port on the pi connecting the hub &the one on the hub powering the pi, so you end up with four ports spare. The Pi limits the power the USB's can draw, so a powered hub is recommended.
I do not think the pi is a substitute for a modern desktop computer. It is a great project machine. I do not expect to do great multi track projects on it but I hope to get audacity & an interface working on it, it will be great for recording acoustic sessions as it is fanless.
I do not think the pi is a substitute for a modern desktop computer. It is a great project machine. I do not expect to do great multi track projects on it but I hope to get audacity & an interface working on it, it will be great for recording acoustic sessions as it is fanless.
- autostatic
- Established Member
- Posts: 1994
- Joined: Wed Dec 09, 2009 5:26 pm
- Location: Beverwijk, The Netherlands
- Has thanked: 32 times
- Been thanked: 104 times
- Contact:
Re: Raspberry Pi and music production
Great! And you're welcome.English Guy wrote:Just got my Pi up and running with Raspian & Autostatics repo added (thankyou sir ).
To be able to use JACK with the onboard audio you really need an updated Raspbian with the latest fixes for the ALSA driver of the onboard audio (mmap support). And I haven't tried Hydrogen myself on the RPi, I highly doubt if it will work properly because it is probably way too resource hungry with respect to the GUI. I'll try building eDrummer for the Rpi and you could also take a look at drumkv1 as alternatives to Hydrogen.English Guy wrote:At the moment just trying to get Hydrogen working with the internal sound, It plays slowly & the notes sound too low pitched to me. I have tried with Alsa & Jack & tried changing Hydrogen's sample rate.
- English Guy
- Established Member
- Posts: 525
- Joined: Wed Oct 17, 2012 7:28 pm
- Location: England
- Has thanked: 8 times
- Been thanked: 7 times
Re: Raspberry Pi and music production
@Autostatic: thankyou (I have a feeling I am going to be saying that a lot). The other alternative I might try is to try a sequencer such as Seq24 or non with fluidsynth.
It is such a shame to be so close with Hydrogen. I wonder if it could be compiled in some way with unwanted features disabled to make it run lighter? Or perhaps dig out some older source code. It doesn't seem all that long ago that the Pi's specs would have been reasonable for a PC.
It is such a shame to be so close with Hydrogen. I wonder if it could be compiled in some way with unwanted features disabled to make it run lighter? Or perhaps dig out some older source code. It doesn't seem all that long ago that the Pi's specs would have been reasonable for a PC.
- autostatic
- Established Member
- Posts: 1994
- Joined: Wed Dec 09, 2009 5:26 pm
- Location: Beverwijk, The Netherlands
- Has thanked: 32 times
- Been thanked: 104 times
- Contact:
Re: Raspberry Pi and music production
Well, I've installed Hydrogen and it runs quite well actually This is with an USB audio interface though, I haven't tested the onboard sound with JACK enough, at the moment I only get xruns when using it.