/srv/irclogs.ubuntu.com/2013/11/15/#ubuntustudio.txt

stumpedwithwirelhey guys.  asus usb-n13 driver refuses to compile06:04
stumpedwithwirelany takers?06:06
nv_its broken07:51
nv_n13 works out of the box07:51
nv_best $25 i ever spent07:52
nv_Supports Win98 ~ Win8 and linux, no problems07:53
Siyapyaudio uses portaudio, 13.10 has v1899 installed by default which (I think) may still have a bug in it10:12
SiyaAnyone here with experience replacing the default portaudio with one from svn?10:14
SiyaI keep getting "Input Overflowed" on the second read10:15
Siyasupposedly fixed in v1844 and again in a later revision10:15
cubSiya, sorry no, but hang around and someone else might know.10:28
zequenceSiya: you might find more people doing this kind of stuff in channels like #lad or #opensourcemusicians10:34
zequence#lad == Linux Audio Development10:34
zequenceor, developers10:34
zequenceSiya: Why are you trying to use portaudio?10:35
zequenceWhy not something that is easier on Linux, like jack?10:35
Siyazequence: asked there as well10:37
Siyait's part of pyaudio10:37
SiyaI hit a brick wall with alsaaudio10:38
zequenceWhat is it that you are trying to do?10:38
SiyaFigured I'd give pyaudio a go10:38
Siyagrab PCM chunks from an ALSA aloop interface10:38
Siyamost VU meters seem to use pyaudio10:38
zequenceVU meters?10:39
Siyabut there's a bug where the second and subsequent reads from the stream yield "input overflowed"10:39
Siyazequence: yup10:39
zequenceWhy do you need VU meters?10:40
zequenceAnd, the chunks, that's like samples, right?10:40
Siyayes10:40
zequenceActually, puredata might be the answer10:40
zequenceIt has all of that10:40
SiyaTrying to use a led matrix (led bar for simplicity's sake) as a VU meter, with input from jack via ALSA10:41
zequenceSiya: 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:41
SiyaMy initial approach was to grab 320 samples at a rate just under 40Hz10:42
Siyawhich worked when grabbing from mic input using alsaaudio10:43
zequenceSiya: puredata is a much easier choice for this10:43
Siyait doesn't need to be high end, just a visual cue that the machine is receiving signal and sending it10:43
Siyazequence: python pd?10:43
zequenceno, just pure data10:44
zequenceit's a graphical programming environment10:44
zequencevery easy for audio10:44
SiyaI use python to write code to a serial port (led matrix is usb tty)10:44
SiyaI write some text, cpu/mem/app load and 4 VU meters10:45
zequenceAll of that you can do very quickly in pd10:45
zequencein one hour10:45
Siyaall I want is to grab 4 PCM values at a regular interval10:45
Siyapuredata.info?10:46
zequenceSiya: just install puredata: sudo apt-get install puredata10:47
zequenceSiya: See the basics on youtube10:47
Siyalooking now10:47
Siyathank you!10:47
zequenceSiya: The, look through the examples for pd in Help -> Help Browser -> pd10:47
Siyawill do :)10:47
zequenceSiya: 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-extended10:48
zequenceSiya: The only problem with the pd-extended is the desktop file. It has a command that begins with "pasuspender --", which I remove10:49
zequencefor your use case, the basic puredata will do10:50
zequenceSiya: If you have any questions about pd later, just drop into #dataflow11:23
Siyakthnx11:23
Siyazequence: messing with the audio settings in pd yields one segmentation error after the next12:24
zequenceSiya: Yes, it's a little buggy. Are you going to use ALSA or Jack?12:29
zequenceJust make one setting, save it, and then it'll work12:30
zequenceDon't open patches. Don't start DSP, until you made your settings12:30
zequenceSiya: Also, you can start pd from the commandline, making your audio settings there as flags12:32
zequenceie: pd -jack -channels 412:32
zequencefor 4 I/O12:32
zequenceSiya: after setting audio setting, click "save all settings". They will be stored in ~/.pdsettings12:34
zequencefor puredata, for pd-extended the file is called .pd-extended12:34
zequenceaudioapi 1 == ALSA, audioapi5 == Jack12:35
zequenceSo, there are three ways to make settings, gui, commandline or config file12:36
zequenceSiya: 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 supercollider12:38
zequenceSiya: btw, buffer settings in pd will not affect audio latency if using jack12:44
zequencebut it will affect internal data speed12:44
zequence..or latency, that is12:44
zequencebut that only affects things like midi12:45
Siyaonly reading data so latency between audio and led driver is not as important as avoiding xruns in jack12:56
Siyagoing through manual and noticed I don't have pvu~ :/12:57
Siya:( pd-iemlib is not available in normal repositories on saucy13:24
robfordHi 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:39
zequenceSiya: Just get pd-extended. It has all of that13:47
zequenceSiya: sudo add-apt-repository ppa:eighthave/pd-extended13:47
zequencerobford: Not all applications support jack, but you can make pulseaudio use jack as output13:48
zequencerobford: Just start jack, then go to pulseaudio settings and choose jack as the output13:48
zequenceuse a jack control applications such as qjackctl to start jack first13:48
zequence!proaudio13:48
ubottuFor information on professional audio tools in Ubuntu, see https://help.ubuntu.com/community/UbuntuStudio/ProAudioIntro13:48
robfordThankyou zequence13:53
robford:)13:53
robfordAll up and running! Thanks again14:02
=== diana is now known as wheeler
wheelertest18:17
wheelergerman channel?18:17
=== Siya is now known as siya
Unit193!de18:19
ubottuIn den meisten Ubuntu-Kanälen wird nur Englisch gesprochen. Für deutschsprachige Hilfe besuche bitte #ubuntu-de, #kubuntu-de, #edubuntu-de oder #ubuntu-at. Einfach "/join #ubuntu-de" eingeben. Danke für Dein Verständnis!18:19
wheelerkein problem, viele dank18:20
=== Pici is now known as Guest25996
=== Guest25996 is now known as Pici

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!