Re: [Mixxx-devel] Hate JavaScript and XML? ...then keep reading!

2013-05-26 Thread petah
On Sun, 26 May 2013 16:52:59 +0200 Juan Pedro Bolívar Puente raskolnikov-mXXj517/z...@public.gmane.org wrote: I disagree. I didn't mean to start a language pissing contest... but it looks like I did :) First, there is nothing intrinsically more performant in Lua than in JavaScript -- they

Re: [Mixxx-devel] Hate JavaScript and XML? ...then keep reading!

2013-05-26 Thread petah
This is a largely academic debate so apologies to other list readers for being off-topic. On Sun, 26 May 2013 21:47:45 +0200 Juan Pedro Bolívar Puente raskolnikov-mXXj517/z...@public.gmane.org wrote: What makes you say that? I see you have experience in just about every interpreter expect

[Mixxx-devel] offline hardware controller driver development/unit-test

2013-05-27 Thread petah
(splitting from 'hate Javascript' thread) Been wondering of a way to develop drivers offline, i.e. without physical access to a hardware controller. Right now only people who have physical access to the controller can write a driver, so 'owner' == 'coder', which is a huge limitation. Let's

Re: [Mixxx-devel] Hate JavaScript and XML? ...then keep reading!

2013-05-27 Thread petah
Hey, On Mon, 27 May 2013 03:14:50 -0400 RJ Ryan russelljryan-re5jqeeqqe8avxtiumw...@public.gmane.org wrote: 1) It's valuable to have a structured representation of the mappings. Code is a black box and Mixxx has no visibility into it. This means that mappings expressed purely in code are not

Re: [Mixxx-devel] offline hardware controller driver development/unit-test

2013-05-27 Thread petah
On Mon, 27 May 2013 11:26:19 -0600 Neale Pickett neale-qiohqogmb3idnm+yrof...@public.gmane.org wrote: For a while, I was working with a guy in Spain (I'm in the United States) on a driver for his Hercules Steel. We were both on IRC, he ran a userspace program that interfaced with his controller

Re: [Mixxx-devel] Hate JavaScript and XML? ...then keep reading!

2013-05-29 Thread petah
Hey RJ, welcome back:) On Wed, 29 May 2013 15:40:04 -0400 RJ Ryan russelljryan-re5jqeeqqe8avxtiumw...@public.gmane.org wrote: So if this declarative table (which is obviously needed to standardize the glue interface) was returned from script itself that'd be ok right? After all Mixxx

[Mixxx-devel] OSC = RIP ?

2013-06-09 Thread petah
I'm dusting off my CDJ2MIDI code which at the time sent out either MIDI or OSC messages because NI Ableton had press releases galore about supporting it. I know OSC is still used for touch interfaces but is it still relevant for audio? if not I'd rather cull it. thx, -- p

Re: [Mixxx-devel] Directory-hash calculation during library-rescan

2013-06-09 Thread petah
On Wed, 5 Jun 2013 22:46:57 -0700 (PDT) Steven Boswell II ulatekh-/e1597as9lqavxtiumw...@public.gmane.org wrote: Right now I'm rescanning my track collection on my laptop, and I expected it to be a short operation, but it's taking forever.  I'm guessing it's because I moved a large part of my

Re: [Mixxx-devel] Directory-hash calculation during library-rescan

2013-06-09 Thread petah
On Sun, 9 Jun 2013 09:03:12 -0400 RJ Ryan russelljryan-re5jqeeqqe8avxtiumw...@public.gmane.org wrote: We don't hash the file contents during library scanning. For context, the hash Steven is referring to is a per-directory hash that is used to determine whether the directory should be

Re: [Mixxx-devel] OSC = RIP ?

2013-06-11 Thread petah
On 06/09/2013 02:04 PM, petah wrote: I'm dusting off my CDJ2MIDI code which at the time sent out either MIDI or OSC messages because NI Ableton had press releases galore about supporting it. I know OSC is still used for touch interfaces but is it still relevant for audio? if not I'd rather

Re: [Mixxx-devel] OSC = RIP ?

2013-06-11 Thread petah
On Mon, 10 Jun 2013 13:20:17 -0400 RJ Ryan russelljryan-re5jqeeqqe8avxtiumw...@public.gmane.org wrote: Yep, that's how you would implement it. Our MIDI controller support and HID controller support are part of a framework for defining control systems. Adding OSC would fit right in as a new

Re: [Mixxx-devel] OSC = RIP ?

2013-06-11 Thread petah
On Tue, 11 Jun 2013 09:41:17 +0200 Sean M. Pappalardo - D.J. Pegasus spappalardo-opwvymzfgylytjvyw6y...@public.gmane.org wrote: On 06/11/2013 09:26 AM, petah wrote: No, my code is for the original, analog-only CDJs with only stereo RCA out on the back, no USB or MIDI, I've got a video

[Mixxx-devel] CDJ2MIDI update Mixxx integration?

2013-07-02 Thread petah
Hi RJ, I finally ported my CDJ2MIDI soft-interface to Linux using PortAudio/Alsa; turns out the earlier zip was missing a bunch of source files... I had also forgotten that the timecode debugger was fairly large. I tested it with my same ol' crappy UA-1A interface and it seems to work fine,,

Re: [Mixxx-devel] CDJ2MIDI update Mixxx integration?

2013-07-02 Thread petah
On Tue, 2 Jul 2013 16:03:19 -0400 RJ Ryan rryan-opwvymzfgylytjvyw6y...@public.gmane.org wrote: For compatibility and portability I'd suggest sticking with either MIDI or HID. That way you can interoperate with any existing Mixxx 1.11.0 installs and it will require no/minimal code changes to

[Mixxx-devel] Debian build instructions update

2013-07-04 Thread petah
I'm pretty sure the section in compiling_on_linux/Troubleshooting/Debian is wrong (it's based on instructions from 2010): - Debian current is now Wheezy - assuming all the commands are root, an apt-get source portaudio19 will create a dir in /root/portaudio(...), not /portaudio(...) which is

[Mixxx-devel] Javascript UDP server for OpenSoundControl or else

2013-07-05 Thread petah
I'm looking for a quick loopback path between my stdalone app and Mixxx; I'm guessing a Javascript server to receive OSC messages is too tall an order. Any other suggestions to implement a /very basic/ loopback test (with just start/stop, say) that doesn't require diving into Mixxx's bowels?

[Mixxx-devel] absolute position ?

2013-07-06 Thread petah
What message should be used to set the absolute position of the virtual needle of a loaded track given an absolute time position, f.ex. 2mins 34secs 567millisecs? I went through all the relevant docs (I think), incl. controls and HID mappings and didn't find a clear solution. I need to match

Re: [Mixxx-devel] absolute position ?

2013-07-06 Thread petah
the comment around: I don't see the point of truncating bits in the protocol to later try recovering them by chasing the needle :) -- p On Sat, 2013-07-06 at 11:56 +0200, petah wrote: What message should be used to set the absolute position of the virtual needle of a loaded track given

Re: [Mixxx-devel] absolute position ?

2013-07-06 Thread petah
the comment around: I don't see the point of truncating bits in the protocol to later try recovering them by chasing the needle :) -- p On Sat, 2013-07-06 at 11:56 +0200, petah wrote: What message should be used to set the absolute position of the virtual needle of a loaded track given

Re: [Mixxx-devel] absolute position ?

2013-07-07 Thread petah
in this first shared lib so it's for the benefit of all. thx cheers, -- p On Sat, 2013-07-06 at 19:08 +0200, petah wrote: On Sat, 06 Jul 2013 11:14:13 -0400 Owen Williams owilliams-opwvymzfgylytjvyw6y...@public.gmane.org wrote: I'm confused, what are you trying to do? For vinylcontrol absolute

Re: [Mixxx-devel] Javascript UDP server for OpenSoundControl or else

2013-07-07 Thread petah
Hi Daniel, sorry didn't see your post until now. On Sat, 6 Jul 2013 21:10:24 +0200 Daniel Schürmann daschuer-opwvymzfgylytjvyw6y...@public.gmane.org wrote: Hi petah, I am thinking for a while for a similar solution for Mixxx. IMHO this could be relay great addition to have an addition IPC

Re: [Mixxx-devel] Javascript UDP server for OpenSoundControl or else

2013-07-07 Thread petah
Hi again, http://www.hackerdjs.com/software/cdj2midi.html I have not read all details, but It looks like a an other kind of vinyl control. It's CDJ-only but yes it's in the same category. Main difference is my timecode isn't based on a commercial system (may come in handy if Mixxx gets too

[Mixxx-devel] high-res MIDI interface with pull architecture?

2013-07-10 Thread petah
I had this idea for a high-resolution MIDI interface and would like to know if it's doable/stupid before implementing it. My (software) device continuously updates a few high-res variables at high speed, i.e. it's not strictly event-oriented. There are two CDJs, each has the following

Re: [Mixxx-devel] high-res MIDI interface with pull architecture?

2013-07-10 Thread petah
possible. thx, -- p You could just continuously write messages to Mixxx and then parse them in a Mixxx MIDI script. On Wed, Jul 10, 2013 at 1:43 PM, petah mi...@djpetah.com wrote: I had this idea for a high-resolution MIDI interface and would like to know if it's doable/stupid before

Re: [Mixxx-devel] high-res MIDI interface with pull architecture?

2013-07-10 Thread petah
On Wed, 10 Jul 2013 14:47:42 -0400 RJ Ryan rryan-opwvymzfgylytjvyw6y...@public.gmane.org wrote: On Wed, Jul 10, 2013 at 2:05 PM, petah mixxx-356rgwljecpbdgjk7y7...@public.gmane.org wrote: Is there a reason to make a request/response setup rather than a broadcast setup? Isn't your

Re: [Mixxx-devel] high-res MIDI interface with pull architecture?

2013-07-10 Thread petah
anything else is a pleasure. cheers, -- p On Wed, 2013-07-10 at 22:27 +0200, petah wrote: On Wed, 10 Jul 2013 15:51:46 -0400 RJ Ryan rryan-opwvymzfgylytjvyw6y...@public.gmane.org wrote: Yes! If you want to use the position scratch controller in the engine then that's one way you could tell

Re: [Mixxx-devel] high-res MIDI interface with pull architecture?

2013-07-11 Thread petah
On Thu, 11 Jul 2013 11:07:05 +0200 Daniel Schürmann daschuer-opwvymzfgylytjvyw6y...@public.gmane.org wrote: Hi Petah, /mixxx/src/engine/positionscratchcontroller.cpp :-) I like the compact source size and some variable names like m_dPositionDeltaSum :) Not thrilled about m_bEnableInertia

Re: [Mixxx-devel] Engine time-stamp position scratching?

2013-07-13 Thread petah
On Fri, 12 Jul 2013 08:30:14 +0200 Sean M. Pappalardo - D.J. Pegasus spappalardo-opwvymzfgylytjvyw6y...@public.gmane.org wrote: On 07/10/2013 09:51 PM, RJ Ryan wrote: Yes! If you want to use the position scratch controller in the engine then that's one way you could tell Mixxx to move

Re: [Mixxx-devel] Engine time-stamp position scratching?

2013-07-14 Thread petah
On Sun, 14 Jul 2013 11:40:59 +0200 Sean M. Pappalardo - D.J. Pegasus spappalardo-opwvymzfgylytjvyw6y...@public.gmane.org wrote: On 07/14/2013 01:53 AM, petah wrote: From your experience do you think SysEx can be used to pass around any type of binary data? No. The high bit cannot be set

[Mixxx-devel] in-bound SysEx arg?

2013-07-16 Thread petah
I can now send generic/binary buffers to Mixxx via SysEx with pre-encoding to 7-bit and js decoding back to 8-bit but it seems the 'data' argument is not really an array but an object (or array object?) so I can't directly use one of the myriad array functions to pop the sysex header and eos

[Mixxx-devel] Behringer UCA222 sampling DC offset?

2013-08-25 Thread petah
I bought a Behringer UCA222 (USB 48 KHz) card after reading a bunch of rave reviews but found there's a significant DC offset that I can't easily re-center post input-sampling. That glitch doesn't happen with an older/cheaper Edirol UA-1A. Can anybody share their experience when using the

[Mixxx-devel] Traktor DJ playlist thumbnail decoder

2013-12-17 Thread petah
Hey, I no longer use Mixxx or other software-based mixing (at least for the moment) but figured someone here may be interested to know the AudioID binary blob in a Traktor DJ playlist's entry is actually a base64-encoded visual thumbnail of the track's WAV, squeezed to 512-pixels wide, with