Re: [LAD] AMS to Ingen: VC to PCM

2011-09-25 Thread Gabriel Beddingfield
On 09/25/2011 05:10 AM, Fons Adriaensen wrote: On Sun, Sep 25, 2011 at 09:52:23AM +0100, Aurélien Leblond wrote: I'm porting the AMS internal modules to LV2 plugins to be used in Ingen. Small problem is, AMS uses VC (even the output of the VCOs that produce sound) when Ingen uses PCM... ??

Re: [LAD] Inter thread Communication: Design Approach

2011-09-02 Thread Gabriel Beddingfield
On Fri, Sep 2, 2011 at 10:22 AM, David Robillard d...@drobilla.net wrote: The main issue you'll find with going the C++/RTTI route is that #2 no longer is possible, since virtual objects are not POD, so you can't safely write them through a ringbuffer (or copy them around manually in

Re: [LAD] Inter thread Communication: Design Approach

2011-09-01 Thread Gabriel Beddingfield
On 09/01/2011 01:18 PM, David Robillard wrote: The main issue you'll find with going the C++/RTTI route is that #2 no longer is possible, since virtual objects are not POD, so you can't safely write them through a ringbuffer (or copy them around manually in general). [snip] Correct me if I'm

Re: [LAD] Inter thread Communication: Design Approach

2011-08-20 Thread Gabriel Beddingfield
On 08/20/2011 09:19 AM, Harry van Haaren wrote: My (hacky?) solution: Create a class, call it Event. Runtime now looks like so: 1. Create a EventType enum, set the details 2. Write those Events into the ringbuffer 3. Switch based on EventType, and handle the event. While not terribly ugly, that

Re: [LAD] a *simple* ring buffer, comments pls?

2011-08-20 Thread Gabriel Beddingfield
On 08/20/2011 01:24 PM, Emanuel Rumpf wrote: 2011/7/20 Kai Vehmanenkvehma...@eca.cx: PS My plan B is to wait and see for another 10 years (and many more long threads about this topic on this list), and then I can at least just start using C++0x already... ;) It's called C++11 now and

[LAD] [HELP WANTED] ALSA Driver developer

2011-08-16 Thread Gabriel Beddingfield
All: A recruiter approached me looking for an ALSA driver developer to enhance an existing driver. This is a short-term, off-site gig. Some details below. Please contact Mr. DeAmelio directly. Thanks, Gabriel -- Forwarded message -- From: David DeAmelio

Re: [LAD] Yoshimi needs a new maintainer ...

2011-08-14 Thread Gabriel Beddingfield
Rosea, On 08/14/2011 02:35 PM, rosea grammostola wrote: Thanks for your reply. It would be good to include the yoshimi-user mailinglist in this discussion probably then. The discussion *is* on the yoshimi-user mailing list. It's been going on for a couple weeks. Thanks, Gabriel

[LAD] [RFC] jacksquat - a mock jack library (was Re: Testdriven development with JACK?)

2011-08-01 Thread Gabriel Beddingfield
On 07/27/2011 05:24 PM, Adrian Knoth wrote: OTOH, if there are existing mocking libraries for jackd, things might be a bit more straight forward (provide an input buffer to be returned by jack_port_get_buffer, call the process function and check the result that's written to the output buffer).

Re: [LAD] Question about LV2 UI extension

2011-07-30 Thread Gabriel Beddingfield
Hi Paul, On 07/30/2011 07:53 AM, Paul Coccoli wrote: I was looking at the (unfinished) example sampler plugin here: https://gitorious.org/gabrbedd/lv2-sampler-example I ran through the mental exercise of trying to figure out how to finish it, and I have a question about the UI extension. How

Re: [LAD] Fwd: Fwd: lv2 extension bugs

2011-07-29 Thread Gabriel Beddingfield
On Fri, Jul 29, 2011 at 1:00 PM, David Robillard d...@drobilla.net wrote: Don't get me wrong, I think the site should be reworked to be as friendly as possible, to make finding appropriate implementations as easy as possible, and all that, but declaring an official SDK or whatever just

Re: [LAD] Testdriven development with JACK?

2011-07-27 Thread Gabriel Beddingfield
On 07/27/2011 05:24 PM, Adrian Knoth wrote: I recently started hacking on a jack-driven matrix mixer (goals so far: GUI, maybe network controls (OSC?), maybe LV2 host), and I wonder if there are frameworks for test-driven development, so I can come up with unit and acceptance tests while

Re: [LAD] GCC Vector extensions

2011-07-26 Thread Gabriel Beddingfield
On 07/26/2011 03:15 AM, Maurizio De Cecco wrote: So are you now considering use some #ifdef to select float/4 instead of double/8 vectors in jMax or just change all of them? Well, at the moment on gcc the perfomance with vector types is the same as without vector types, so i'll leave the Linux

[LAD] Alan Ernest Cal Calvert dies at 61

2011-07-23 Thread Gabriel Beddingfield
Friends: Cal, the lead developer of Yoshimi, passed away on July 2 in Victoria, Australia. http://tributes.couriermail.com.au/obituaries/couriermail-au/obituary.aspx?n=alan-ernest-calvert-calpid=152381356 While this was not unexpected, we're all very sad to see him go. I'm doubt that his

Re: [LAD] GCC Vector extensions

2011-07-20 Thread Gabriel Beddingfield
On Wed, Jul 20, 2011 at 10:47 AM, Robin Gareus ro...@gareus.org wrote: On gcc/Linux, (gcc 4.5.2) the same code produce a *slow down* of around 2.5x. Well, anybody have an idea of why ? I am actually running linux (Ubuntu 11.04) under a VMWare virtual machine, i do not know is this may have

Re: [LAD] a *simple* ring buffer, comments pls?

2011-07-13 Thread Gabriel Beddingfield
On Wed, Jul 13, 2011 at 8:51 AM, Paul Davis p...@linuxaudiosystems.com wrote: On Wed, Jul 13, 2011 at 9:46 AM, Olivier Guilyardi l...@samalyse.com wrote: On 07/13/2011 11:09 AM, Tim Blechmann wrote: in fact, testing is not the best approach for verifying lock-free data structures: an

Re: [LAD] Feature requests: add JackSession support

2011-07-10 Thread Gabriel Beddingfield
On 07/10/2011 10:08 AM, rosea grammostola wrote: After spending a week using JackSession, I don't think a quit-without-save option should be a 'showstopper' here Fons. Especially because JackSession makes working with JACK so much easier. Better to have JackSession without a quit-without-save

Re: [LAD] snd-usb-audio dying on jackd xruns

2011-02-02 Thread Gabriel Beddingfield
On Wed, Feb 2, 2011 at 10:41 AM, Rods Bobavich rodni...@gmail.com wrote: So I start jackd and it runs fine for a while. Then ALSA crashes and triggers an xrun. Jackd continues to do its merry thing - minus the part about spitting info out to my soundcard... I've tried multiple usb intefaces.

Re: [LAD] snd-usb-audio dying on jackd xruns

2011-02-02 Thread Gabriel Beddingfield
On Wed, Feb 2, 2011 at 11:24 AM, Rods Bobavich rodni...@gmail.com wrote: dmsg, lsusb, lsusb -t [   46.458327] ALSA urb.c:480: frame 0 active: -75 [   46.461327] ALSA urb.c:480: frame 0 active: -75 [   46.463328] ALSA urb.c:480: frame 0 active: -75 URB is kind of a bulk transfer protocol. Not

Re: [LAD] snd-usb-audio dying on jackd xruns

2011-02-02 Thread Gabriel Beddingfield
On Wed, Feb 2, 2011 at 12:00 PM, Rods Bobavich rodni...@gmail.com wrote: Tried all the different ports I could. Seems I can't get it on the EHCI buses no matter which ports I use. Even replugged the front USB cable to the other ports but it always comes back on the two OHCI busses. Am thinking

Re: [LAD] snd-usb-audio dying on jackd xruns

2011-02-02 Thread Gabriel Beddingfield
On Wed, Feb 2, 2011 at 12:12 PM, Rods Bobavich rodni...@gmail.com wrote: I already did that. Unplugged ALL the devices EXCEPT the Audio Interface. Even pulled my keyboard and mouse! This does not appear to be a USB sharing problem. ...Rods ;-) OK. Next step is to dig in to what these mean:

Re: [LAD] snd-usb-audio dying on jackd xruns

2011-02-02 Thread Gabriel Beddingfield
On Wed, Feb 2, 2011 at 12:42 PM, Rods Bobavich rodni...@gmail.com wrote: Neither of those lines have anything that looks like it would trigger an error. There are no KERN_ERR calls remotely close. http://lxr.free-electrons.com/source/drivers/usb/core/urb.c This link is for a vanilla 2.6.37

Re: [LAD] snd-usb-audio dying on jackd xruns

2011-02-02 Thread Gabriel Beddingfield
Hi Rods, On Wed, Feb 2, 2011 at 1:08 PM, Rods Bobavich rodni...@gmail.com wrote: I was looking at the wrong urb.c file. The correct one is linux-kernel/sound/usb/urb.c Actually the KERN_ERR is on 138 for my version triggers as line 146... On line 460 is the second KERN_ERR. This is all in a

Re: [LAD] Gone virtually Meego 1.1 in Fedora -- lots of questions....

2010-10-25 Thread Gabriel Beddingfield
Hi Neils, On Sun, Oct 24, 2010 at 11:42 AM, Niels Mayer nielsma...@gmail.com wrote: I was surprisedhappy to see SMP PREEMPT output from my virtual Meego logs: Oct 23 21:30:24 localhost klogd: [    0.00] Linux version 2.6.35~rc6-134.1-qemu (abu...@build16) (gcc version 4.5.0 20100414

Re: [LAD] interrupt-drive ALSA returning buffers too small

2010-09-08 Thread Gabriel Beddingfield
Hello, On Wed, Sep 8, 2010 at 9:18 AM, Gabriel M. Beddingfield gabrb...@gmail.com wrote: I've set alsa to wake me up every N frames.  However, when I awake, I find that I often have fewer than N frames available: [snip]  snd_pcm_sw_params_set_avail_min (playback_handle, sw_params, N)  /*

Re: [LAD] Looking for an introduction to rt programming with a gui

2010-05-20 Thread Gabriel Beddingfield
On Thu, May 20, 2010 at 6:35 AM, Nathanael Anderson wirelessdrea...@gmail.com wrote: What choices do I have for tools to use, and what pro's/con's are attached to them. From what i've read so far qt seems like it might be a good choice, aside from the high entry barrier of learning how to do