Re: [Mixxx-devel] Pioneer DDJ-SB mapping
Hi, I made some improvements: - Jog wheels now work as intended, including touch sensitive scratching. - FX knobs now work, I emulated soft takeover in JavaScript as a workaround. It's not nice, but it works. - Cleaned up the code. https://github.com/jardiacaj/mixxx I think that solves all the major issues, I intend to make some smaller improvements over the next week. 2015-07-24 1:36 GMT+02:00 Be : > You can simplify your BindControlConnections function. See the > connectDeckControls function in > > http://mixxx.org/wiki/doku.php/midi_scripting#turning_a_2_deck_controller_into_a_4_deck_controller > for an example. > > On 07/23/2015 06:19 PM, Joan Ardiaca Jové wrote: > > Hello, > > > > I just pushed the current state of my work on the Pioneer DDJ-SB mapping > > to my fork in github: > > > > > https://github.com/jardiacaj/mixxx/commit/9f479f3e7d31b9faec755153cfe7a2f5f3f5de03 > > > > Please note this is unfinished work in a "works for me" state, I would > > like to continue working on it. I mostly tried to reproduce the way the > > controller is intended to work when using Serato. > > > > Some things that bother me: > > > > * Code quality (I'm not proud of it). > > * Jog wheels, especially scratch mode is missing. > > * Soft takeover is not working for the effects knobs. > > * Most knobs send two MIDI messages when their position changes, but > > I'm currently using just the most significant one, losing precision. > > * And some other smaller issues. > > > > I'll be glad if someone can take a look at the mapping and maybe even > > try it out if you have access to a DDJ-SB. Comments and criticism are > > more than welcome. > > > > > > > > If someone is able to give me a hint, I'll explain the problem with the > > effects knobs: soft takeover is not working or not working properly for > > those. The controls look like this: > > > > http://i.ytimg.com/vi/D1gvHsyoSBQ/maxresdefault.jpg > > > > In Serato, pressing one of the FX buttons lights it up. If the knob is > > then turned, it changes the "main parameter" for that effect, allowing > > to control three effects at once if all three FX buttons are lit. > > > > I took a different approach: turning the knob changes the mix parameter > > of the effect. But if the knob is turned while one of the buttons is > > kept pressed, it changes one of the parameters of that effect, allowing > > control of up to three parameters this way. Yet, even though I'm > > activating soft takeover for those controls (see the > > function PioneerDDJSB.setFXSoftTakeover), sudden changes on those > > controls happen. Am I doing something wrong? > > > > Kind regards, > > Joan > > > > > > > -- > > > > > > > > ___ > > Get Mixxx, the #1 Free MP3 DJ Mixing software Today > > http://mixxx.org > > > > > > Mixxx-devel mailing list > > Mixxx-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/mixxx-devel > > > > > -- > ___ > Get Mixxx, the #1 Free MP3 DJ Mixing software Today > http://mixxx.org > > > Mixxx-devel mailing list > Mixxx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mixxx-devel > -- ___ Get Mixxx, the #1 Free MP3 DJ Mixing software Today http://mixxx.org Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel
[Mixxx-devel] Pioneer DDJ-SB mapping
Hello, I just pushed the current state of my work on the Pioneer DDJ-SB mapping to my fork in github: https://github.com/jardiacaj/mixxx/commit/9f479f3e7d31b9faec755153cfe7a2f5f3f5de03 Please note this is unfinished work in a "works for me" state, I would like to continue working on it. I mostly tried to reproduce the way the controller is intended to work when using Serato. Some things that bother me: - Code quality (I'm not proud of it). - Jog wheels, especially scratch mode is missing. - Soft takeover is not working for the effects knobs. - Most knobs send two MIDI messages when their position changes, but I'm currently using just the most significant one, losing precision. - And some other smaller issues. I'll be glad if someone can take a look at the mapping and maybe even try it out if you have access to a DDJ-SB. Comments and criticism are more than welcome. If someone is able to give me a hint, I'll explain the problem with the effects knobs: soft takeover is not working or not working properly for those. The controls look like this: http://i.ytimg.com/vi/D1gvHsyoSBQ/maxresdefault.jpg In Serato, pressing one of the FX buttons lights it up. If the knob is then turned, it changes the "main parameter" for that effect, allowing to control three effects at once if all three FX buttons are lit. I took a different approach: turning the knob changes the mix parameter of the effect. But if the knob is turned while one of the buttons is kept pressed, it changes one of the parameters of that effect, allowing control of up to three parameters this way. Yet, even though I'm activating soft takeover for those controls (see the function PioneerDDJSB.setFXSoftTakeover), sudden changes on those controls happen. Am I doing something wrong? Kind regards, Joan -- ___ Get Mixxx, the #1 Free MP3 DJ Mixing software Today http://mixxx.org Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel
Re: [Mixxx-devel] Mapping effect parameters
Thank you Daniel, that does exaclty what I need :) Now I just have to polish some details and the mapping will be done. 2015-07-03 7:15 GMT+02:00, Daniel Schürmann : > Hi Joan, > > I have just updated: > http://www.mixxx.org/wiki/doku.php/effects_framework > > The _value and _value_normalized COs were removed during development > because they were > redundant. You can uses setValue() and setParameter() instead. > > Hope that helps. > > Kind regards, > > Daniel > > > > Am 03.07.2015 um 02:59 schrieb Joan Ardiaca Jové: >> Hi, >> >> I'm trying to map the effects buttons and knobs on the Pioneer DDJ-SB >> controller and I have the problem that when values are set with >> engine.setValue() for the effects parameters, these are not >> normalized, making each parameter behave differently. I read in the >> documentation that there should be a parameterK_value_normalized >> control, but I have not been able to find out how to use it in the >> javascript file (if it's implemented at all). I am using the latest >> git master. >> >> Can someone give me a hint? >> >> -- >> Don't Limit Your Business. Reach for the Cloud. >> GigeNET's Cloud Solutions provide you with the tools and support that >> you need to offload your IT needs and focus on growing your business. >> Configured For All Businesses. Start Your Cloud Today. >> https://www.gigenetcloud.com/ >> ___ >> Get Mixxx, the #1 Free MP3 DJ Mixing software Today >> http://mixxx.org >> >> >> Mixxx-devel mailing list >> Mixxx-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/mixxx-devel > > > -- > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > ___ > Get Mixxx, the #1 Free MP3 DJ Mixing software Today > http://mixxx.org > > > Mixxx-devel mailing list > Mixxx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mixxx-devel > -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Get Mixxx, the #1 Free MP3 DJ Mixing software Today http://mixxx.org Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel
[Mixxx-devel] Mapping effect parameters
Hi, I'm trying to map the effects buttons and knobs on the Pioneer DDJ-SB controller and I have the problem that when values are set with engine.setValue() for the effects parameters, these are not normalized, making each parameter behave differently. I read in the documentation that there should be a parameterK_value_normalized control, but I have not been able to find out how to use it in the javascript file (if it's implemented at all). I am using the latest git master. Can someone give me a hint? -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Get Mixxx, the #1 Free MP3 DJ Mixing software Today http://mixxx.org Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel
Re: [Mixxx-devel] Pioneer DDJ-SB mapping
I also removed the 2 RCA input in the list, I think that info was not correct. 2015-06-18 20:58 GMT+02:00 Joan Ardiaca Jové : > Yes! It works flawlessly on my box (Arch Linux). I will change it in the > wiki. > > I had a difficult time setting it up, until I found out I needed to load > the snd-seq-midi kernel module. I think most distros have this module > loaded by default, otherwise it could help other people a lot to have this > documented. > > 2015-06-18 20:47 GMT+02:00 Be : > >> Do you know if the sound card in this controller works on Linux? It >> would be great if you could add this information to >> >> http://mixxx.org/wiki/doku.php/hardware_compatibility#sound_cards_integrated_into_controllers >> . If you do not have a GNU/Linux distribution installed on your >> computer, you could try using your controller with Crossfade >> (http://nongnu.org/crossfade/ ). >> >> On 06/18/2015 01:43 PM, Be wrote: >> > Hello and welcome. Thanks for working on the mapping. 1.12 has a >> > completely reworked effects engine with new controls documented on >> > http://mixxx.org/wiki/doku.php/effects_framework . I just added a link >> > to this page to the mixxxcontrols wiki page. >> > >> > On 06/18/2015 01:13 PM, Joan Ardiaca Jové wrote: >> >> Hi! I have been lurking for some time in this mailing list, this is my >> >> first time writing so I just wanted to say: hello! >> >> >> >> I am improving the mapping for the Pioneer DDJ-SB that can be found in >> >> the forums and I wasted some time trying to find out how to map the >> >> effects until I found out how well the MIDI learning feature works :) >> >> >> >> I thought it would be nice for other contributors to have it documented >> >> in the wiki. I would do it myself if that's okay, but I don't know in >> >> what version those controls were introduced. I'm guessing 1.12.0, but >> >> can anyone confirm it? >> > >> > >> -- >> > ___ >> > Get Mixxx, the #1 Free MP3 DJ Mixing software Today >> > http://mixxx.org >> > >> > >> > Mixxx-devel mailing list >> > Mixxx-devel@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/mixxx-devel >> > >> >> >> -- >> ___ >> Get Mixxx, the #1 Free MP3 DJ Mixing software Today >> http://mixxx.org >> >> >> Mixxx-devel mailing list >> Mixxx-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/mixxx-devel > > > -- ___ Get Mixxx, the #1 Free MP3 DJ Mixing software Today http://mixxx.org Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel
Re: [Mixxx-devel] Pioneer DDJ-SB mapping
Yes! It works flawlessly on my box (Arch Linux). I will change it in the wiki. I had a difficult time setting it up, until I found out I needed to load the snd-seq-midi kernel module. I think most distros have this module loaded by default, otherwise it could help other people a lot to have this documented. 2015-06-18 20:47 GMT+02:00 Be : > Do you know if the sound card in this controller works on Linux? It > would be great if you could add this information to > > http://mixxx.org/wiki/doku.php/hardware_compatibility#sound_cards_integrated_into_controllers > . If you do not have a GNU/Linux distribution installed on your > computer, you could try using your controller with Crossfade > (http://nongnu.org/crossfade/ ). > > On 06/18/2015 01:43 PM, Be wrote: > > Hello and welcome. Thanks for working on the mapping. 1.12 has a > > completely reworked effects engine with new controls documented on > > http://mixxx.org/wiki/doku.php/effects_framework . I just added a link > > to this page to the mixxxcontrols wiki page. > > > > On 06/18/2015 01:13 PM, Joan Ardiaca Jové wrote: > >> Hi! I have been lurking for some time in this mailing list, this is my > >> first time writing so I just wanted to say: hello! > >> > >> I am improving the mapping for the Pioneer DDJ-SB that can be found in > >> the forums and I wasted some time trying to find out how to map the > >> effects until I found out how well the MIDI learning feature works :) > >> > >> I thought it would be nice for other contributors to have it documented > >> in the wiki. I would do it myself if that's okay, but I don't know in > >> what version those controls were introduced. I'm guessing 1.12.0, but > >> can anyone confirm it? > > > > > -- > > ___ > > Get Mixxx, the #1 Free MP3 DJ Mixing software Today > > http://mixxx.org > > > > > > Mixxx-devel mailing list > > Mixxx-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/mixxx-devel > > > > > -- > ___ > Get Mixxx, the #1 Free MP3 DJ Mixing software Today > http://mixxx.org > > > Mixxx-devel mailing list > Mixxx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mixxx-devel -- ___ Get Mixxx, the #1 Free MP3 DJ Mixing software Today http://mixxx.org Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel
Re: [Mixxx-devel] wiki overhaul
Hi! I have been lurking for some time in this mailing list, this is my first time writing so I just wanted to say: hello! I am improving the mapping for the Pioneer DDJ-SB that can be found in the forums and I wasted some time trying to find out how to map the effects until I found out how well the MIDI learning feature works :) I thought it would be nice for other contributors to have it documented in the wiki. I would do it myself if that's okay, but I don't know in what version those controls were introduced. I'm guessing 1.12.0, but can anyone confirm it? 2015-06-18 8:11 GMT+02:00 Be : > I added another example to the MIDI scripting page. It'd be nice if > others proofread it. > > I split the giant table on the control objects page into subsections. > > On 06/15/2015 11:24 PM, Be wrote: > > I have reorganized the MIDI scripting page. I added links to JavaScript > > tutorials at the top. I added examples to the bottom that show how to > > handle button presses, how to implement modifier keys, and how to > > implement deck toggle buttons. Hopefully we'll see more people turning 2 > > deck mappings into 4 deck mappings now. > > > > On 06/10/2015 05:01 PM, Be wrote: > >> I have started overhauling the wiki. Take a look and feel free to edit. > >> > >> On the front page, I: > >> * moved the info about GSoC to its own page, > >> * moved the links to old meeting minutes to their own page, > >> * removed the outdated and confusing link about the Hercules driver, > >> * updated the manual link to the current online manual, and > >> * reorganized a lot of other links. > >> On other pages, I: > >> * added Crossfade to the page about live GNU/Linux distros > >> * removed outdated info about MixxxOS > >> * added info about Native Instruments Traktor controllers to the > >> hardware compatibility page > >> * updated compilation instructions for Fedora. > >> * updated info about using two sound cards in the FAQ > >> > >> To do: > >> * Rewrite beginner's guide considering info that is already in manual. I > >> am also working on revising the manual, especially chapter 3. > >> * Add prices to hardware compatibility tables > >> * Update info about controllers where info is available > >> * Organize sound cards on hardware compatibility page into a table with > >> info about each OS and the capabilities of the hardware > >> * add more sound cards > >> * undicate which controllers bundle sound cards > >> > >> > -- > >> ___ > >> Get Mixxx, the #1 Free MP3 DJ Mixing software Today > >> http://mixxx.org > >> > >> > >> Mixxx-devel mailing list > >> Mixxx-devel@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/mixxx-devel > >> > > > > > -- > > ___ > > Get Mixxx, the #1 Free MP3 DJ Mixing software Today > > http://mixxx.org > > > > > > Mixxx-devel mailing list > > Mixxx-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/mixxx-devel > > > > > -- > ___ > Get Mixxx, the #1 Free MP3 DJ Mixing software Today > http://mixxx.org > > > Mixxx-devel mailing list > Mixxx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mixxx-devel > -- ___ Get Mixxx, the #1 Free MP3 DJ Mixing software Today http://mixxx.org Mixxx-devel mailing list Mixxx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mixxx-devel