[06:04] <stumpedwithwirel> hey guys.  asus usb-n13 driver refuses to compile
[06:06] <stumpedwithwirel> any takers?
[07:51] <nv_> its broken
[07:51] <nv_> n13 works out of the box
[07:52] <nv_> best $25 i ever spent
[07:53] <nv_> Supports Win98 ~ Win8 and linux, no problems
[10:12] <Siya> pyaudio uses portaudio, 13.10 has v1899 installed by default which (I think) may still have a bug in it
[10:14] <Siya> Anyone here with experience replacing the default portaudio with one from svn?
[10:15] <Siya> I keep getting "Input Overflowed" on the second read
[10:15] <Siya> supposedly fixed in v1844 and again in a later revision
[10:28] <cub> Siya, sorry no, but hang around and someone else might know.
[10:34] <zequence> Siya: you might find more people doing this kind of stuff in channels like #lad or #opensourcemusicians
[10:34] <zequence> #lad == Linux Audio Development
[10:34] <zequence> or, developers
[10:35] <zequence> Siya: Why are you trying to use portaudio?
[10:35] <zequence> Why not something that is easier on Linux, like jack?
[10:37] <Siya> zequence: asked there as well
[10:37] <Siya> it's part of pyaudio
[10:38] <Siya> I hit a brick wall with alsaaudio
[10:38] <zequence> What is it that you are trying to do?
[10:38] <Siya> Figured I'd give pyaudio a go
[10:38] <Siya> grab PCM chunks from an ALSA aloop interface
[10:38] <Siya> most VU meters seem to use pyaudio
[10:39] <zequence> VU meters?
[10:39] <Siya> but there's a bug where the second and subsequent reads from the stream yield "input overflowed"
[10:39] <Siya> zequence: yup
[10:40] <zequence> Why do you need VU meters?
[10:40] <zequence> And, the chunks, that's like samples, right?
[10:40] <Siya> yes
[10:40] <zequence> Actually, puredata might be the answer
[10:40] <zequence> It has all of that
[10:41] <Siya> Trying to use a led matrix (led bar for simplicity's sake) as a VU meter, with input from jack via ALSA
[10:41] <zequence> Siya: Do you have some rules for when grabbing a sample, or are they timed, are you controlling it manually, how do you do it?
[10:42] <Siya> My initial approach was to grab 320 samples at a rate just under 40Hz
[10:43] <Siya> which worked when grabbing from mic input using alsaaudio
[10:43] <zequence> Siya: puredata is a much easier choice for this
[10:43] <Siya> it doesn't need to be high end, just a visual cue that the machine is receiving signal and sending it
[10:43] <Siya> zequence: python pd?
[10:44] <zequence> no, just pure data
[10:44] <zequence> it's a graphical programming environment
[10:44] <zequence> very easy for audio
[10:44] <Siya> I use python to write code to a serial port (led matrix is usb tty)
[10:45] <Siya> I write some text, cpu/mem/app load and 4 VU meters
[10:45] <zequence> All of that you can do very quickly in pd
[10:45] <zequence> in one hour
[10:45] <Siya> all I want is to grab 4 PCM values at a regular interval
[10:46] <Siya> puredata.info?
[10:47] <zequence> Siya: just install puredata: sudo apt-get install puredata
[10:47] <zequence> Siya: See the basics on youtube
[10:47] <Siya> looking now
[10:47] <Siya> thank you!
[10:47] <zequence> Siya: The, look through the examples for pd in Help -> Help Browser -> pd
[10:47] <Siya> will do :)
[10:48] <zequence> Siya: There's a nice version with a lot of extra libraries and a slightly different look, which is yet not included in the repos. You can get the ppa with: sudo add-apt-repository ppa:eighthave/pd-extended
[10:49] <zequence> Siya: The only problem with the pd-extended is the desktop file. It has a command that begins with "pasuspender --", which I remove
[10:50] <zequence> for your use case, the basic puredata will do
[11:23] <zequence> Siya: If you have any questions about pd later, just drop into #dataflow
[11:23] <Siya> kthnx
[12:24] <Siya> zequence: messing with the audio settings in pd yields one segmentation error after the next
[12:29] <zequence> Siya: Yes, it's a little buggy. Are you going to use ALSA or Jack?
[12:30] <zequence> Just make one setting, save it, and then it'll work
[12:30] <zequence> Don't open patches. Don't start DSP, until you made your settings
[12:32] <zequence> Siya: Also, you can start pd from the commandline, making your audio settings there as flags
[12:32] <zequence> ie: pd -jack -channels 4
[12:32] <zequence> for 4 I/O
[12:34] <zequence> Siya: after setting audio setting, click "save all settings". They will be stored in ~/.pdsettings
[12:34] <zequence> for puredata, for pd-extended the file is called .pd-extended
[12:35] <zequence> audioapi 1 == ALSA, audioapi5 == Jack
[12:36] <zequence> So, there are three ways to make settings, gui, commandline or config file
[12:38] <zequence> Siya: pd is really a perfect tool for this kind of small coding jobs. If you ever feel like you want to do textbased coding, better suited for audio, then have a look at supercollider
[12:44] <zequence> Siya: btw, buffer settings in pd will not affect audio latency if using jack
[12:44] <zequence> but it will affect internal data speed
[12:44] <zequence> ..or latency, that is
[12:45] <zequence> but that only affects things like midi
[12:56] <Siya> only reading data so latency between audio and led driver is not as important as avoiding xruns in jack
[12:57] <Siya> going through manual and noticed I don't have pvu~ :/
[13:24] <Siya> :( pd-iemlib is not available in normal repositories on saucy
[13:39] <robford> Hi all... Does anyone have a guide that instructs how to make all programs use Jack by default and also to have Jack startup when I log in? Programs such as spotify dont produce audio once I've used Hydrogen (example).
[13:47] <zequence> Siya: Just get pd-extended. It has all of that
[13:47] <zequence> Siya: sudo add-apt-repository ppa:eighthave/pd-extended
[13:48] <zequence> robford: Not all applications support jack, but you can make pulseaudio use jack as output
[13:48] <zequence> robford: Just start jack, then go to pulseaudio settings and choose jack as the output
[13:48] <zequence> use a jack control applications such as qjackctl to start jack first
[13:48] <zequence> !proaudio
[13:53] <robford> Thankyou zequence
[13:53] <robford> :)
[14:02] <robford> All up and running! Thanks again
[18:17] <wheeler> test
[18:17] <wheeler> german channel?
[18:19] <Unit193> !de
[18:20] <wheeler> kein problem, viele dank