Merge lp:~oberling/mixxx/feature_first-beat-in-bar into lp:~mixxxdevelopers/mixxx/trunk
- feature_first-beat-in-bar
- Merge into trunk
Status: | Needs review | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Proposed branch: | lp:~oberling/mixxx/feature_first-beat-in-bar | ||||||||||||
Merge into: | lp:~mixxxdevelopers/mixxx/trunk | ||||||||||||
Diff against target: |
660 lines (+97/-12) 29 files modified
mixxx/res/skins/Deere1280x1024-SXGA/skin.xml (+2/-0) mixxx/res/skins/Deere1280x800-WXGA/skin.xml (+2/-0) mixxx/res/skins/Deere1366x768-WXGA/skin.xml (+2/-0) mixxx/res/skins/Deere1440x900-WXGA+/skin.xml (+2/-0) mixxx/res/skins/Deere1920x1080-FullHD/skin.xml (+2/-0) mixxx/res/skins/Deere1920x1200-WUXGA/skin.xml (+2/-0) mixxx/res/skins/DeereSamplegrid1280x800-WXGA/skin.xml (+2/-0) mixxx/res/skins/LateNight1280x1024-SXGA/skin.xml (+2/-0) mixxx/res/skins/LateNight1280x800-WXGA/skin.xml (+2/-0) mixxx/res/skins/LateNight1366x768-WXGA/skin.xml (+2/-0) mixxx/res/skins/LateNightBlues1280x1024-SXGA/skin.xml (+2/-0) mixxx/res/skins/LateNightBlues1280x800-WXGA/skin.xml (+2/-0) mixxx/res/skins/LateNightBlues1366x768-WXGA/skin.xml (+2/-0) mixxx/res/skins/Outline1024x600-Netbook/skin.xml (+2/-0) mixxx/res/skins/Outline1024x768-XGA/skin.xml (+2/-0) mixxx/res/skins/Outline800x480-WVGA/skin.xml (+2/-0) mixxx/res/skins/Phoney1600x1200-UXGA/skin.xml (+2/-0) mixxx/res/skins/Phoney1680x1050-WSXGA/skin.xml (+2/-0) mixxx/res/skins/PhoneyDark1600x1200-UXGA/skin.xml (+2/-0) mixxx/res/skins/PhoneyDark1680x1050-WSXGA/skin.xml (+2/-0) mixxx/res/skins/Shade1024x600-Netbook/skin.xml (+2/-0) mixxx/res/skins/Shade1024x768-XGA/skin.xml (+2/-0) mixxx/res/skins/ShadeDark1024x600-Netbook/skin.xml (+2/-0) mixxx/res/skins/ShadeDark1024x768-XGA/skin.xml (+2/-0) mixxx/src/track/beatgrid.cpp (+17/-5) mixxx/src/track/beatmap.cpp (+11/-3) mixxx/src/track/beats.h (+1/-0) mixxx/src/waveform/renderers/waveformrenderbeat.cpp (+19/-4) mixxx/src/waveform/renderers/waveformrenderbeat.h (+1/-0) |
||||||||||||
To merge this branch: | bzr merge lp:~oberling/mixxx/feature_first-beat-in-bar | ||||||||||||
Related bugs: |
|
||||||||||||
Related blueprints: |
Song Structure Awareness
(Undefined)
mark every 4 or 16 beats
(Undefined)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Schürmann | Abstain | ||
Review via email: mp+155096@code.launchpad.net |
Commit message
Added a highlight on every first beat in a bar.
Description of the change
Added a highlight on every first beat in a bar.
This fixes one part of bug #753301 as it gives a usefull visual indicator for mixing tracks.
I also added a color for this highlighted beat to each existing theme.
- 3337. By Stephan Bergemann <email address hidden>
-
fixed firstBeatInBar-
Calculation in BeatMap
- 3338. By Stephan Bergemann <email address hidden>
-
made first beat bar less bold; added a little efficiency;
Stephan Bergemann (oberling) wrote : | # |
Hi Daniel,
thanks a lot for the review and kind advices.
I made the first beat bar a little less thick and integrated my if-clause with the existing ones. As i'm no designer i just chose the colors that fitted the most for me - may Jus feel free to change them all :-) .
I just don't get what you mean by "missing detection support". The missing phase-sync from the cited bug report was already implemented before my branch. At least one can click on sync and when not in vinyl control mode it should sync the bpm as well as the phase to the nearest detected beat. However it does not sync to the first beat of a bar - that's right. Was that what you meant?
Kind regards,
Stephan
Daniel Schürmann (daschuer) wrote : | # |
Hi Stephan,
thank you again. IMHO it looks fine now.
Please don’t kill me if the following paragraphs are totally rubbish :-) ...
I am not an expert in music theory but for a lot of my tracks it feels to me that the new downbeat makers are simply placed at the wrong position.
I have just read:
http://
http://
As far as I understand (please correct me) a downbeat marker should be placed at least at theme changes or when a chorus starts. Maybe there is an unwritten law that the first beat in a track is always a downbeat like assumed in your patch, but for some of the tracks in my collection this is true but not for the rest.
I cannot evaluate how useful you patch is in the current state. Is the four beat assumption true in general? Do we need a facility to correct the first beat in a bar and the number of beats per bar?
I hope we can answer these questions soon.
Kind regards,
Daniel
Stephan Bergemann (oberling) wrote : | # |
Hi Daniel,
sorry for that taking so long - lots of other stuff to do first.
I thought for some time about your suggestions:
I totally agree with you, that it would be nice to have the "first beat in a bar" adjustable. At the moment it's just the first ever stroke in the grid corresponding to the audio file (which doesn't have to be the first beat of the track - however it (at least for my tracks) is in 90% ;-) ).
The first beat in a bar in my understanding (and if i understood correctly also in your understanding) describes the downbeat (thats also the definition of Downbeat in the wikipedia article "Beat_(music)").
There are a few steps i could try to implement from that point:
* add a "first_downbeat" to the stored track informations
* store the first beat really on a beat (and not the first ever grid-element in the audio file) - that would be quiet hard to distinguish i guess (silent intros and stuff)
* bloat the beat detection to be really highly sophisticated and also detect bars, intros outtros, repeated parts and stuff - that would involve detecting where bars start and end and also a the writing of a PhD thesis :-D
All those changes would however that would (as far as i see) result in the need of a recreateion of the database and i don't know if that would raise my chances of getting this branch merged ;-) .
That's the main reason why i didn't do it that way in the first place.
As of the four beat assumption: this is adjustable but defaults to 4 (see the Constructors of the BeatGridIterator and BeatMapIterator) in the current state of development to give an idea.
When extending this idea we would have to think about storing this information as well in the Trackinformation.
And... in general (although i can not remember having seen that in other DJ Software) all the beat detection is voulnerable to time changes.
Kind regards,
Stephan
> Hi Stephan,
>
> thank you again. IMHO it looks fine now.
>
> Please don’t kill me if the following paragraphs are totally rubbish :-) ...
>
> I am not an expert in music theory but for a lot of my tracks it feels to me
> that the new downbeat makers are simply placed at the wrong position.
>
> I have just read:
> http://
> http://
>
> As far as I understand (please correct me) a downbeat marker should be placed
> at least at theme changes or when a chorus starts. Maybe there is an unwritten
> law that the first beat in a track is always a downbeat like assumed in your
> patch, but for some of the tracks in my collection this is true but not for
> the rest.
>
> I cannot evaluate how useful you patch is in the current state. Is the four
> beat assumption true in general? Do we need a facility to correct the first
> beat in a bar and the number of beats per bar?
>
> I hope we can answer these questions soon.
>
> Kind regards,
>
> Daniel
Daniel Schürmann (daschuer) wrote : | # |
Hi Stephan,
first of all: I am sure your branch will get merged.
I personaly not like informaton that "might" be right. So the bars schould not be displayed by default if they are not valid. But you might introduce a waveform preference to enable them.
An other option is to introduce a new Cue point type "first bar". The database schma already supports different cue point types. lp:~smstewart91/mixxx/advanced_autodj makes use of it. I think it is common for many DJs to place the normal cue point at this place so you might deal with it.
We could probably adjust it by rightclick to the "Adjust Beatgrid" button.
The third option is to activate the bar detection which already lives in the mixxx source. mixxx/vamp-
Kind regards
Daniel
Unmerged revisions
- 3338. By Stephan Bergemann <email address hidden>
-
made first beat bar less bold; added a little efficiency;
- 3337. By Stephan Bergemann <email address hidden>
-
fixed firstBeatInBar-
Calculation in BeatMap - 3336. By Stephan Bergemann <email address hidden>
-
added new colour to every theme
- 3335. By Stephan Bergemann <email address hidden>
-
added red highlight for first beat of each bar
Preview Diff
1 | === modified file 'mixxx/res/skins/Deere1280x1024-SXGA/skin.xml' | |||
2 | --- mixxx/res/skins/Deere1280x1024-SXGA/skin.xml 2013-02-16 15:03:32 +0000 | |||
3 | +++ mixxx/res/skins/Deere1280x1024-SXGA/skin.xml 2013-03-24 00:04:23 +0000 | |||
4 | @@ -3958,6 +3958,7 @@ | |||
5 | 3958 | <SignalLowColor></SignalLowColor> | 3958 | <SignalLowColor></SignalLowColor> |
6 | 3959 | <SignalColor>#0099FF</SignalColor> | 3959 | <SignalColor>#0099FF</SignalColor> |
7 | 3960 | <BeatColor>#ffffff</BeatColor> | 3960 | <BeatColor>#ffffff</BeatColor> |
8 | 3961 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
9 | 3961 | <BeatHighlightColor></BeatHighlightColor> | 3962 | <BeatHighlightColor></BeatHighlightColor> |
10 | 3962 | <PlayPosColor>#00FF00</PlayPosColor> | 3963 | <PlayPosColor>#00FF00</PlayPosColor> |
11 | 3963 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 3964 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
12 | @@ -5057,6 +5058,7 @@ | |||
13 | 5057 | <SignalLowColor></SignalLowColor> | 5058 | <SignalLowColor></SignalLowColor> |
14 | 5058 | <SignalColor>#E17800</SignalColor> | 5059 | <SignalColor>#E17800</SignalColor> |
15 | 5059 | <BeatColor>#ffffff</BeatColor> | 5060 | <BeatColor>#ffffff</BeatColor> |
16 | 5061 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
17 | 5060 | <BeatHighlightColor></BeatHighlightColor> | 5062 | <BeatHighlightColor></BeatHighlightColor> |
18 | 5061 | <PlayPosColor>#00FF00</PlayPosColor> | 5063 | <PlayPosColor>#00FF00</PlayPosColor> |
19 | 5062 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 5064 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
20 | 5063 | 5065 | ||
21 | === modified file 'mixxx/res/skins/Deere1280x800-WXGA/skin.xml' | |||
22 | --- mixxx/res/skins/Deere1280x800-WXGA/skin.xml 2013-02-16 15:03:32 +0000 | |||
23 | +++ mixxx/res/skins/Deere1280x800-WXGA/skin.xml 2013-03-24 00:04:23 +0000 | |||
24 | @@ -3958,6 +3958,7 @@ | |||
25 | 3958 | <SignalLowColor></SignalLowColor> | 3958 | <SignalLowColor></SignalLowColor> |
26 | 3959 | <SignalColor>#0099FF</SignalColor> | 3959 | <SignalColor>#0099FF</SignalColor> |
27 | 3960 | <BeatColor>#ffffff</BeatColor> | 3960 | <BeatColor>#ffffff</BeatColor> |
28 | 3961 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
29 | 3961 | <BeatHighlightColor></BeatHighlightColor> | 3962 | <BeatHighlightColor></BeatHighlightColor> |
30 | 3962 | <PlayPosColor>#00FF00</PlayPosColor> | 3963 | <PlayPosColor>#00FF00</PlayPosColor> |
31 | 3963 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 3964 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
32 | @@ -5057,6 +5058,7 @@ | |||
33 | 5057 | <SignalLowColor></SignalLowColor> | 5058 | <SignalLowColor></SignalLowColor> |
34 | 5058 | <SignalColor>#E17800</SignalColor> | 5059 | <SignalColor>#E17800</SignalColor> |
35 | 5059 | <BeatColor>#ffffff</BeatColor> | 5060 | <BeatColor>#ffffff</BeatColor> |
36 | 5061 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
37 | 5060 | <BeatHighlightColor></BeatHighlightColor> | 5062 | <BeatHighlightColor></BeatHighlightColor> |
38 | 5061 | <PlayPosColor>#00FF00</PlayPosColor> | 5063 | <PlayPosColor>#00FF00</PlayPosColor> |
39 | 5062 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 5064 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
40 | 5063 | 5065 | ||
41 | === modified file 'mixxx/res/skins/Deere1366x768-WXGA/skin.xml' | |||
42 | --- mixxx/res/skins/Deere1366x768-WXGA/skin.xml 2013-02-16 15:03:32 +0000 | |||
43 | +++ mixxx/res/skins/Deere1366x768-WXGA/skin.xml 2013-03-24 00:04:23 +0000 | |||
44 | @@ -3958,6 +3958,7 @@ | |||
45 | 3958 | <SignalLowColor></SignalLowColor> | 3958 | <SignalLowColor></SignalLowColor> |
46 | 3959 | <SignalColor>#0099FF</SignalColor> | 3959 | <SignalColor>#0099FF</SignalColor> |
47 | 3960 | <BeatColor>#ffffff</BeatColor> | 3960 | <BeatColor>#ffffff</BeatColor> |
48 | 3961 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
49 | 3961 | <BeatHighlightColor></BeatHighlightColor> | 3962 | <BeatHighlightColor></BeatHighlightColor> |
50 | 3962 | <PlayPosColor>#00FF00</PlayPosColor> | 3963 | <PlayPosColor>#00FF00</PlayPosColor> |
51 | 3963 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 3964 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
52 | @@ -5057,6 +5058,7 @@ | |||
53 | 5057 | <SignalLowColor></SignalLowColor> | 5058 | <SignalLowColor></SignalLowColor> |
54 | 5058 | <SignalColor>#E17800</SignalColor> | 5059 | <SignalColor>#E17800</SignalColor> |
55 | 5059 | <BeatColor>#ffffff</BeatColor> | 5060 | <BeatColor>#ffffff</BeatColor> |
56 | 5061 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
57 | 5060 | <BeatHighlightColor></BeatHighlightColor> | 5062 | <BeatHighlightColor></BeatHighlightColor> |
58 | 5061 | <PlayPosColor>#00FF00</PlayPosColor> | 5063 | <PlayPosColor>#00FF00</PlayPosColor> |
59 | 5062 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 5064 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
60 | 5063 | 5065 | ||
61 | === modified file 'mixxx/res/skins/Deere1440x900-WXGA+/skin.xml' | |||
62 | --- mixxx/res/skins/Deere1440x900-WXGA+/skin.xml 2013-02-16 15:03:32 +0000 | |||
63 | +++ mixxx/res/skins/Deere1440x900-WXGA+/skin.xml 2013-03-24 00:04:23 +0000 | |||
64 | @@ -3958,6 +3958,7 @@ | |||
65 | 3958 | <SignalLowColor></SignalLowColor> | 3958 | <SignalLowColor></SignalLowColor> |
66 | 3959 | <SignalColor>#0099FF</SignalColor> | 3959 | <SignalColor>#0099FF</SignalColor> |
67 | 3960 | <BeatColor>#ffffff</BeatColor> | 3960 | <BeatColor>#ffffff</BeatColor> |
68 | 3961 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
69 | 3961 | <BeatHighlightColor></BeatHighlightColor> | 3962 | <BeatHighlightColor></BeatHighlightColor> |
70 | 3962 | <PlayPosColor>#00FF00</PlayPosColor> | 3963 | <PlayPosColor>#00FF00</PlayPosColor> |
71 | 3963 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 3964 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
72 | @@ -5057,6 +5058,7 @@ | |||
73 | 5057 | <SignalLowColor></SignalLowColor> | 5058 | <SignalLowColor></SignalLowColor> |
74 | 5058 | <SignalColor>#E17800</SignalColor> | 5059 | <SignalColor>#E17800</SignalColor> |
75 | 5059 | <BeatColor>#ffffff</BeatColor> | 5060 | <BeatColor>#ffffff</BeatColor> |
76 | 5061 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
77 | 5060 | <BeatHighlightColor></BeatHighlightColor> | 5062 | <BeatHighlightColor></BeatHighlightColor> |
78 | 5061 | <PlayPosColor>#00FF00</PlayPosColor> | 5063 | <PlayPosColor>#00FF00</PlayPosColor> |
79 | 5062 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 5064 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
80 | 5063 | 5065 | ||
81 | === modified file 'mixxx/res/skins/Deere1920x1080-FullHD/skin.xml' | |||
82 | --- mixxx/res/skins/Deere1920x1080-FullHD/skin.xml 2013-02-16 15:03:32 +0000 | |||
83 | +++ mixxx/res/skins/Deere1920x1080-FullHD/skin.xml 2013-03-24 00:04:23 +0000 | |||
84 | @@ -4986,6 +4986,7 @@ | |||
85 | 4986 | <SignalLowColor></SignalLowColor> | 4986 | <SignalLowColor></SignalLowColor> |
86 | 4987 | <SignalColor>#0099FF</SignalColor> | 4987 | <SignalColor>#0099FF</SignalColor> |
87 | 4988 | <BeatColor>#ffffff</BeatColor> | 4988 | <BeatColor>#ffffff</BeatColor> |
88 | 4989 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
89 | 4989 | <BeatHighlightColor></BeatHighlightColor> | 4990 | <BeatHighlightColor></BeatHighlightColor> |
90 | 4990 | <PlayPosColor>#00FF00</PlayPosColor> | 4991 | <PlayPosColor>#00FF00</PlayPosColor> |
91 | 4991 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 4992 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
92 | @@ -6085,6 +6086,7 @@ | |||
93 | 6085 | <SignalLowColor></SignalLowColor> | 6086 | <SignalLowColor></SignalLowColor> |
94 | 6086 | <SignalColor>#E17800</SignalColor> | 6087 | <SignalColor>#E17800</SignalColor> |
95 | 6087 | <BeatColor>#ffffff</BeatColor> | 6088 | <BeatColor>#ffffff</BeatColor> |
96 | 6089 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
97 | 6088 | <BeatHighlightColor></BeatHighlightColor> | 6090 | <BeatHighlightColor></BeatHighlightColor> |
98 | 6089 | <PlayPosColor>#00FF00</PlayPosColor> | 6091 | <PlayPosColor>#00FF00</PlayPosColor> |
99 | 6090 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 6092 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
100 | 6091 | 6093 | ||
101 | === modified file 'mixxx/res/skins/Deere1920x1200-WUXGA/skin.xml' | |||
102 | --- mixxx/res/skins/Deere1920x1200-WUXGA/skin.xml 2013-02-16 15:03:32 +0000 | |||
103 | +++ mixxx/res/skins/Deere1920x1200-WUXGA/skin.xml 2013-03-24 00:04:23 +0000 | |||
104 | @@ -4986,6 +4986,7 @@ | |||
105 | 4986 | <SignalLowColor></SignalLowColor> | 4986 | <SignalLowColor></SignalLowColor> |
106 | 4987 | <SignalColor>#0099FF</SignalColor> | 4987 | <SignalColor>#0099FF</SignalColor> |
107 | 4988 | <BeatColor>#ffffff</BeatColor> | 4988 | <BeatColor>#ffffff</BeatColor> |
108 | 4989 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
109 | 4989 | <BeatHighlightColor></BeatHighlightColor> | 4990 | <BeatHighlightColor></BeatHighlightColor> |
110 | 4990 | <PlayPosColor>#00FF00</PlayPosColor> | 4991 | <PlayPosColor>#00FF00</PlayPosColor> |
111 | 4991 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 4992 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
112 | @@ -6085,6 +6086,7 @@ | |||
113 | 6085 | <SignalLowColor></SignalLowColor> | 6086 | <SignalLowColor></SignalLowColor> |
114 | 6086 | <SignalColor>#E17800</SignalColor> | 6087 | <SignalColor>#E17800</SignalColor> |
115 | 6087 | <BeatColor>#ffffff</BeatColor> | 6088 | <BeatColor>#ffffff</BeatColor> |
116 | 6089 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
117 | 6088 | <BeatHighlightColor></BeatHighlightColor> | 6090 | <BeatHighlightColor></BeatHighlightColor> |
118 | 6089 | <PlayPosColor>#00FF00</PlayPosColor> | 6091 | <PlayPosColor>#00FF00</PlayPosColor> |
119 | 6090 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 6092 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
120 | 6091 | 6093 | ||
121 | === modified file 'mixxx/res/skins/DeereSamplegrid1280x800-WXGA/skin.xml' | |||
122 | --- mixxx/res/skins/DeereSamplegrid1280x800-WXGA/skin.xml 2013-02-16 15:03:32 +0000 | |||
123 | +++ mixxx/res/skins/DeereSamplegrid1280x800-WXGA/skin.xml 2013-03-24 00:04:23 +0000 | |||
124 | @@ -5622,6 +5622,7 @@ | |||
125 | 5622 | <SignalLowColor></SignalLowColor> | 5622 | <SignalLowColor></SignalLowColor> |
126 | 5623 | <SignalColor>#0099FF</SignalColor> | 5623 | <SignalColor>#0099FF</SignalColor> |
127 | 5624 | <BeatColor>#ffffff</BeatColor> | 5624 | <BeatColor>#ffffff</BeatColor> |
128 | 5625 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
129 | 5625 | <BeatHighlightColor></BeatHighlightColor> | 5626 | <BeatHighlightColor></BeatHighlightColor> |
130 | 5626 | <MarkerColor>#00FF00</MarkerColor> | 5627 | <MarkerColor>#00FF00</MarkerColor> |
131 | 5627 | <PlayPosColor>#00FF00</PlayPosColor> | 5628 | <PlayPosColor>#00FF00</PlayPosColor> |
132 | @@ -6723,6 +6724,7 @@ | |||
133 | 6723 | <SignalLowColor></SignalLowColor> | 6724 | <SignalLowColor></SignalLowColor> |
134 | 6724 | <SignalColor>#E17800</SignalColor> | 6725 | <SignalColor>#E17800</SignalColor> |
135 | 6725 | <BeatColor>#ffffff</BeatColor> | 6726 | <BeatColor>#ffffff</BeatColor> |
136 | 6727 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
137 | 6726 | <BeatHighlightColor></BeatHighlightColor> | 6728 | <BeatHighlightColor></BeatHighlightColor> |
138 | 6727 | <MarkerColor>#00FF00</MarkerColor> | 6729 | <MarkerColor>#00FF00</MarkerColor> |
139 | 6728 | <PlayPosColor>#00FF00</PlayPosColor> | 6730 | <PlayPosColor>#00FF00</PlayPosColor> |
140 | 6729 | 6731 | ||
141 | === modified file 'mixxx/res/skins/LateNight1280x1024-SXGA/skin.xml' | |||
142 | --- mixxx/res/skins/LateNight1280x1024-SXGA/skin.xml 2013-02-16 15:03:32 +0000 | |||
143 | +++ mixxx/res/skins/LateNight1280x1024-SXGA/skin.xml 2013-03-24 00:04:23 +0000 | |||
144 | @@ -2817,6 +2817,7 @@ | |||
145 | 2817 | <BgPixmap>style/style_bg_waveform1.png</BgPixmap> | 2817 | <BgPixmap>style/style_bg_waveform1.png</BgPixmap> |
146 | 2818 | <SignalColor>#0099FF</SignalColor> | 2818 | <SignalColor>#0099FF</SignalColor> |
147 | 2819 | <BeatColor>#ffffff</BeatColor> | 2819 | <BeatColor>#ffffff</BeatColor> |
148 | 2820 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
149 | 2820 | <BeatHighlightColor></BeatHighlightColor> | 2821 | <BeatHighlightColor></BeatHighlightColor> |
150 | 2821 | <PlayPosColor>#00FF00</PlayPosColor> | 2822 | <PlayPosColor>#00FF00</PlayPosColor> |
151 | 2822 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 2823 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
152 | @@ -2871,6 +2872,7 @@ | |||
153 | 2871 | <BgPixmap>style/style_bg_waveform2.png</BgPixmap> | 2872 | <BgPixmap>style/style_bg_waveform2.png</BgPixmap> |
154 | 2872 | <SignalColor>#E17800</SignalColor> | 2873 | <SignalColor>#E17800</SignalColor> |
155 | 2873 | <BeatColor>#ffffff</BeatColor> | 2874 | <BeatColor>#ffffff</BeatColor> |
156 | 2875 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
157 | 2874 | <BeatHighlightColor></BeatHighlightColor> | 2876 | <BeatHighlightColor></BeatHighlightColor> |
158 | 2875 | <PlayPosColor>#00FF00</PlayPosColor> | 2877 | <PlayPosColor>#00FF00</PlayPosColor> |
159 | 2876 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 2878 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
160 | 2877 | 2879 | ||
161 | === modified file 'mixxx/res/skins/LateNight1280x800-WXGA/skin.xml' | |||
162 | --- mixxx/res/skins/LateNight1280x800-WXGA/skin.xml 2013-02-16 15:03:32 +0000 | |||
163 | +++ mixxx/res/skins/LateNight1280x800-WXGA/skin.xml 2013-03-24 00:04:23 +0000 | |||
164 | @@ -2817,6 +2817,7 @@ | |||
165 | 2817 | <BgPixmap>style/style_bg_waveform1.png</BgPixmap> | 2817 | <BgPixmap>style/style_bg_waveform1.png</BgPixmap> |
166 | 2818 | <SignalColor>#0099FF</SignalColor> | 2818 | <SignalColor>#0099FF</SignalColor> |
167 | 2819 | <BeatColor>#ffffff</BeatColor> | 2819 | <BeatColor>#ffffff</BeatColor> |
168 | 2820 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
169 | 2820 | <BeatHighlightColor></BeatHighlightColor> | 2821 | <BeatHighlightColor></BeatHighlightColor> |
170 | 2821 | <PlayPosColor>#00FF00</PlayPosColor> | 2822 | <PlayPosColor>#00FF00</PlayPosColor> |
171 | 2822 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 2823 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
172 | @@ -2871,6 +2872,7 @@ | |||
173 | 2871 | <BgPixmap>style/style_bg_waveform2.png</BgPixmap> | 2872 | <BgPixmap>style/style_bg_waveform2.png</BgPixmap> |
174 | 2872 | <SignalColor>#E17800</SignalColor> | 2873 | <SignalColor>#E17800</SignalColor> |
175 | 2873 | <BeatColor>#ffffff</BeatColor> | 2874 | <BeatColor>#ffffff</BeatColor> |
176 | 2875 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
177 | 2874 | <BeatHighlightColor></BeatHighlightColor> | 2876 | <BeatHighlightColor></BeatHighlightColor> |
178 | 2875 | <PlayPosColor>#00FF00</PlayPosColor> | 2877 | <PlayPosColor>#00FF00</PlayPosColor> |
179 | 2876 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 2878 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
180 | 2877 | 2879 | ||
181 | === modified file 'mixxx/res/skins/LateNight1366x768-WXGA/skin.xml' | |||
182 | --- mixxx/res/skins/LateNight1366x768-WXGA/skin.xml 2013-02-16 15:03:32 +0000 | |||
183 | +++ mixxx/res/skins/LateNight1366x768-WXGA/skin.xml 2013-03-24 00:04:23 +0000 | |||
184 | @@ -2817,6 +2817,7 @@ | |||
185 | 2817 | <BgPixmap>style/style_bg_waveform1.png</BgPixmap> | 2817 | <BgPixmap>style/style_bg_waveform1.png</BgPixmap> |
186 | 2818 | <SignalColor>#0099FF</SignalColor> | 2818 | <SignalColor>#0099FF</SignalColor> |
187 | 2819 | <BeatColor>#ffffff</BeatColor> | 2819 | <BeatColor>#ffffff</BeatColor> |
188 | 2820 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
189 | 2820 | <BeatHighlightColor></BeatHighlightColor> | 2821 | <BeatHighlightColor></BeatHighlightColor> |
190 | 2821 | <PlayPosColor>#00FF00</PlayPosColor> | 2822 | <PlayPosColor>#00FF00</PlayPosColor> |
191 | 2822 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 2823 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
192 | @@ -2871,6 +2872,7 @@ | |||
193 | 2871 | <BgPixmap>style/style_bg_waveform2.png</BgPixmap> | 2872 | <BgPixmap>style/style_bg_waveform2.png</BgPixmap> |
194 | 2872 | <SignalColor>#E17800</SignalColor> | 2873 | <SignalColor>#E17800</SignalColor> |
195 | 2873 | <BeatColor>#ffffff</BeatColor> | 2874 | <BeatColor>#ffffff</BeatColor> |
196 | 2875 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
197 | 2874 | <BeatHighlightColor></BeatHighlightColor> | 2876 | <BeatHighlightColor></BeatHighlightColor> |
198 | 2875 | <PlayPosColor>#00FF00</PlayPosColor> | 2877 | <PlayPosColor>#00FF00</PlayPosColor> |
199 | 2876 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 2878 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
200 | 2877 | 2879 | ||
201 | === modified file 'mixxx/res/skins/LateNightBlues1280x1024-SXGA/skin.xml' | |||
202 | --- mixxx/res/skins/LateNightBlues1280x1024-SXGA/skin.xml 2013-02-16 15:03:32 +0000 | |||
203 | +++ mixxx/res/skins/LateNightBlues1280x1024-SXGA/skin.xml 2013-03-24 00:04:23 +0000 | |||
204 | @@ -2817,6 +2817,7 @@ | |||
205 | 2817 | <BgPixmap>style/style_bg_waveform1.png</BgPixmap> | 2817 | <BgPixmap>style/style_bg_waveform1.png</BgPixmap> |
206 | 2818 | <SignalColor>#FBC400</SignalColor> | 2818 | <SignalColor>#FBC400</SignalColor> |
207 | 2819 | <BeatColor>#ffffff</BeatColor> | 2819 | <BeatColor>#ffffff</BeatColor> |
208 | 2820 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
209 | 2820 | <BeatHighlightColor></BeatHighlightColor> | 2821 | <BeatHighlightColor></BeatHighlightColor> |
210 | 2821 | <PlayPosColor>#00FF00</PlayPosColor> | 2822 | <PlayPosColor>#00FF00</PlayPosColor> |
211 | 2822 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 2823 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
212 | @@ -2871,6 +2872,7 @@ | |||
213 | 2871 | <BgPixmap>style/style_bg_waveform2.png</BgPixmap> | 2872 | <BgPixmap>style/style_bg_waveform2.png</BgPixmap> |
214 | 2872 | <SignalColor>#FB9A00</SignalColor> | 2873 | <SignalColor>#FB9A00</SignalColor> |
215 | 2873 | <BeatColor>#ffffff</BeatColor> | 2874 | <BeatColor>#ffffff</BeatColor> |
216 | 2875 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
217 | 2874 | <BeatHighlightColor></BeatHighlightColor> | 2876 | <BeatHighlightColor></BeatHighlightColor> |
218 | 2875 | <PlayPosColor>#00FF00</PlayPosColor> | 2877 | <PlayPosColor>#00FF00</PlayPosColor> |
219 | 2876 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 2878 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
220 | 2877 | 2879 | ||
221 | === modified file 'mixxx/res/skins/LateNightBlues1280x800-WXGA/skin.xml' | |||
222 | --- mixxx/res/skins/LateNightBlues1280x800-WXGA/skin.xml 2013-02-16 15:03:32 +0000 | |||
223 | +++ mixxx/res/skins/LateNightBlues1280x800-WXGA/skin.xml 2013-03-24 00:04:23 +0000 | |||
224 | @@ -2817,6 +2817,7 @@ | |||
225 | 2817 | <BgPixmap>style/style_bg_waveform1.png</BgPixmap> | 2817 | <BgPixmap>style/style_bg_waveform1.png</BgPixmap> |
226 | 2818 | <SignalColor>#FBC400</SignalColor> | 2818 | <SignalColor>#FBC400</SignalColor> |
227 | 2819 | <BeatColor>#ffffff</BeatColor> | 2819 | <BeatColor>#ffffff</BeatColor> |
228 | 2820 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
229 | 2820 | <BeatHighlightColor></BeatHighlightColor> | 2821 | <BeatHighlightColor></BeatHighlightColor> |
230 | 2821 | <PlayPosColor>#00FF00</PlayPosColor> | 2822 | <PlayPosColor>#00FF00</PlayPosColor> |
231 | 2822 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 2823 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
232 | @@ -2871,6 +2872,7 @@ | |||
233 | 2871 | <BgPixmap>style/style_bg_waveform2.png</BgPixmap> | 2872 | <BgPixmap>style/style_bg_waveform2.png</BgPixmap> |
234 | 2872 | <SignalColor>#FB9A00</SignalColor> | 2873 | <SignalColor>#FB9A00</SignalColor> |
235 | 2873 | <BeatColor>#ffffff</BeatColor> | 2874 | <BeatColor>#ffffff</BeatColor> |
236 | 2875 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
237 | 2874 | <BeatHighlightColor></BeatHighlightColor> | 2876 | <BeatHighlightColor></BeatHighlightColor> |
238 | 2875 | <PlayPosColor>#00FF00</PlayPosColor> | 2877 | <PlayPosColor>#00FF00</PlayPosColor> |
239 | 2876 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 2878 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
240 | 2877 | 2879 | ||
241 | === modified file 'mixxx/res/skins/LateNightBlues1366x768-WXGA/skin.xml' | |||
242 | --- mixxx/res/skins/LateNightBlues1366x768-WXGA/skin.xml 2013-02-16 15:03:32 +0000 | |||
243 | +++ mixxx/res/skins/LateNightBlues1366x768-WXGA/skin.xml 2013-03-24 00:04:23 +0000 | |||
244 | @@ -2817,6 +2817,7 @@ | |||
245 | 2817 | <BgPixmap>style/style_bg_waveform1.png</BgPixmap> | 2817 | <BgPixmap>style/style_bg_waveform1.png</BgPixmap> |
246 | 2818 | <SignalColor>#FBC400</SignalColor> | 2818 | <SignalColor>#FBC400</SignalColor> |
247 | 2819 | <BeatColor>#ffffff</BeatColor> | 2819 | <BeatColor>#ffffff</BeatColor> |
248 | 2820 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
249 | 2820 | <BeatHighlightColor></BeatHighlightColor> | 2821 | <BeatHighlightColor></BeatHighlightColor> |
250 | 2821 | <PlayPosColor>#00FF00</PlayPosColor> | 2822 | <PlayPosColor>#00FF00</PlayPosColor> |
251 | 2822 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 2823 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
252 | @@ -2871,6 +2872,7 @@ | |||
253 | 2871 | <BgPixmap>style/style_bg_waveform2.png</BgPixmap> | 2872 | <BgPixmap>style/style_bg_waveform2.png</BgPixmap> |
254 | 2872 | <SignalColor>#FB9A00</SignalColor> | 2873 | <SignalColor>#FB9A00</SignalColor> |
255 | 2873 | <BeatColor>#ffffff</BeatColor> | 2874 | <BeatColor>#ffffff</BeatColor> |
256 | 2875 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
257 | 2874 | <BeatHighlightColor></BeatHighlightColor> | 2876 | <BeatHighlightColor></BeatHighlightColor> |
258 | 2875 | <PlayPosColor>#00FF00</PlayPosColor> | 2877 | <PlayPosColor>#00FF00</PlayPosColor> |
259 | 2876 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 2878 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
260 | 2877 | 2879 | ||
261 | === modified file 'mixxx/res/skins/Outline1024x600-Netbook/skin.xml' | |||
262 | --- mixxx/res/skins/Outline1024x600-Netbook/skin.xml 2013-02-01 17:26:08 +0000 | |||
263 | +++ mixxx/res/skins/Outline1024x600-Netbook/skin.xml 2013-03-24 00:04:23 +0000 | |||
264 | @@ -616,6 +616,7 @@ | |||
265 | 616 | <SignalLowColor>#FF0035</SignalLowColor> | 616 | <SignalLowColor>#FF0035</SignalLowColor> |
266 | 617 | <SignalColor>#19ABFB</SignalColor> | 617 | <SignalColor>#19ABFB</SignalColor> |
267 | 618 | <BeatColor>#191919</BeatColor> | 618 | <BeatColor>#191919</BeatColor> |
268 | 619 | <FirstBeatInBarColor>#000000</FirstBeatInBarColor> | ||
269 | 619 | <BeatHighlightColor></BeatHighlightColor> | 620 | <BeatHighlightColor></BeatHighlightColor> |
270 | 620 | <PlayPosColor>#00FF00</PlayPosColor> | 621 | <PlayPosColor>#00FF00</PlayPosColor> |
271 | 621 | <Align></Align> | 622 | <Align></Align> |
272 | @@ -674,6 +675,7 @@ | |||
273 | 674 | <SignalLowColor>#FF0035</SignalLowColor> | 675 | <SignalLowColor>#FF0035</SignalLowColor> |
274 | 675 | <SignalColor>#FF0000</SignalColor> | 676 | <SignalColor>#FF0000</SignalColor> |
275 | 676 | <BeatColor>#191919</BeatColor> | 677 | <BeatColor>#191919</BeatColor> |
276 | 678 | <FirstBeatInBarColor>#000000</FirstBeatInBarColor> | ||
277 | 677 | <BeatHighlightColor></BeatHighlightColor> | 679 | <BeatHighlightColor></BeatHighlightColor> |
278 | 678 | <PlayPosColor>#00FF00</PlayPosColor> | 680 | <PlayPosColor>#00FF00</PlayPosColor> |
279 | 679 | <Align></Align> | 681 | <Align></Align> |
280 | 680 | 682 | ||
281 | === modified file 'mixxx/res/skins/Outline1024x768-XGA/skin.xml' | |||
282 | --- mixxx/res/skins/Outline1024x768-XGA/skin.xml 2013-02-01 17:26:08 +0000 | |||
283 | +++ mixxx/res/skins/Outline1024x768-XGA/skin.xml 2013-03-24 00:04:23 +0000 | |||
284 | @@ -616,6 +616,7 @@ | |||
285 | 616 | <SignalLowColor>#FF0035</SignalLowColor> | 616 | <SignalLowColor>#FF0035</SignalLowColor> |
286 | 617 | <SignalColor>#19ABFB</SignalColor> | 617 | <SignalColor>#19ABFB</SignalColor> |
287 | 618 | <BeatColor>#191919</BeatColor> | 618 | <BeatColor>#191919</BeatColor> |
288 | 619 | <FirstBeatInBarColor>#000000</FirstBeatInBarColor> | ||
289 | 619 | <BeatHighlightColor></BeatHighlightColor> | 620 | <BeatHighlightColor></BeatHighlightColor> |
290 | 620 | <PlayPosColor>#00FF00</PlayPosColor> | 621 | <PlayPosColor>#00FF00</PlayPosColor> |
291 | 621 | <Align></Align> | 622 | <Align></Align> |
292 | @@ -674,6 +675,7 @@ | |||
293 | 674 | <SignalLowColor>#FF0035</SignalLowColor> | 675 | <SignalLowColor>#FF0035</SignalLowColor> |
294 | 675 | <SignalColor>#FF0000</SignalColor> | 676 | <SignalColor>#FF0000</SignalColor> |
295 | 676 | <BeatColor>#191919</BeatColor> | 677 | <BeatColor>#191919</BeatColor> |
296 | 678 | <FirstBeatInBarColor>#000000</FirstBeatInBarColor> | ||
297 | 677 | <BeatHighlightColor></BeatHighlightColor> | 679 | <BeatHighlightColor></BeatHighlightColor> |
298 | 678 | <PlayPosColor>#00FF00</PlayPosColor> | 680 | <PlayPosColor>#00FF00</PlayPosColor> |
299 | 679 | <Align></Align> | 681 | <Align></Align> |
300 | 680 | 682 | ||
301 | === modified file 'mixxx/res/skins/Outline800x480-WVGA/skin.xml' | |||
302 | --- mixxx/res/skins/Outline800x480-WVGA/skin.xml 2013-02-01 17:26:52 +0000 | |||
303 | +++ mixxx/res/skins/Outline800x480-WVGA/skin.xml 2013-03-24 00:04:23 +0000 | |||
304 | @@ -616,6 +616,7 @@ | |||
305 | 616 | <SignalLowColor>#FF0035</SignalLowColor> | 616 | <SignalLowColor>#FF0035</SignalLowColor> |
306 | 617 | <SignalColor>#19ABFB</SignalColor> | 617 | <SignalColor>#19ABFB</SignalColor> |
307 | 618 | <BeatColor>#191919</BeatColor> | 618 | <BeatColor>#191919</BeatColor> |
308 | 619 | <FirstBeatInBarColor>#000000</FirstBeatInBarColor> | ||
309 | 619 | <BeatHighlightColor></BeatHighlightColor> | 620 | <BeatHighlightColor></BeatHighlightColor> |
310 | 620 | <PlayPosColor>#00FF00</PlayPosColor> | 621 | <PlayPosColor>#00FF00</PlayPosColor> |
311 | 621 | <Align></Align> | 622 | <Align></Align> |
312 | @@ -674,6 +675,7 @@ | |||
313 | 674 | <SignalLowColor>#FF0035</SignalLowColor> | 675 | <SignalLowColor>#FF0035</SignalLowColor> |
314 | 675 | <SignalColor>#FF0000</SignalColor> | 676 | <SignalColor>#FF0000</SignalColor> |
315 | 676 | <BeatColor>#191919</BeatColor> | 677 | <BeatColor>#191919</BeatColor> |
316 | 678 | <FirstBeatInBarColor>#000000</FirstBeatInBarColor> | ||
317 | 677 | <BeatHighlightColor></BeatHighlightColor> | 679 | <BeatHighlightColor></BeatHighlightColor> |
318 | 678 | <PlayPosColor>#00FF00</PlayPosColor> | 680 | <PlayPosColor>#00FF00</PlayPosColor> |
319 | 679 | <Align></Align> | 681 | <Align></Align> |
320 | 680 | 682 | ||
321 | === modified file 'mixxx/res/skins/Phoney1600x1200-UXGA/skin.xml' | |||
322 | --- mixxx/res/skins/Phoney1600x1200-UXGA/skin.xml 2013-01-31 19:48:57 +0000 | |||
323 | +++ mixxx/res/skins/Phoney1600x1200-UXGA/skin.xml 2013-03-24 00:04:23 +0000 | |||
324 | @@ -210,6 +210,7 @@ | |||
325 | 210 | <SignalLowColor></SignalLowColor> | 210 | <SignalLowColor></SignalLowColor> |
326 | 211 | <SignalColor>#0080FF</SignalColor> | 211 | <SignalColor>#0080FF</SignalColor> |
327 | 212 | <BeatColor>#454C53</BeatColor> | 212 | <BeatColor>#454C53</BeatColor> |
328 | 213 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
329 | 213 | <BeatHighlightColor></BeatHighlightColor> | 214 | <BeatHighlightColor></BeatHighlightColor> |
330 | 214 | <PlayPosColor>#FD0564</PlayPosColor> | 215 | <PlayPosColor>#FD0564</PlayPosColor> |
331 | 215 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 216 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
332 | @@ -267,6 +268,7 @@ | |||
333 | 267 | <SignalLowColor></SignalLowColor> | 268 | <SignalLowColor></SignalLowColor> |
334 | 268 | <SignalColor>#E17000</SignalColor> | 269 | <SignalColor>#E17000</SignalColor> |
335 | 269 | <BeatColor>#454C53</BeatColor> | 270 | <BeatColor>#454C53</BeatColor> |
336 | 271 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
337 | 270 | <BeatHighlightColor></BeatHighlightColor> | 272 | <BeatHighlightColor></BeatHighlightColor> |
338 | 271 | <PlayPosColor>#FD0564</PlayPosColor> | 273 | <PlayPosColor>#FD0564</PlayPosColor> |
339 | 272 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 274 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
340 | 273 | 275 | ||
341 | === modified file 'mixxx/res/skins/Phoney1680x1050-WSXGA/skin.xml' | |||
342 | --- mixxx/res/skins/Phoney1680x1050-WSXGA/skin.xml 2013-01-31 19:48:57 +0000 | |||
343 | +++ mixxx/res/skins/Phoney1680x1050-WSXGA/skin.xml 2013-03-24 00:04:23 +0000 | |||
344 | @@ -210,6 +210,7 @@ | |||
345 | 210 | <SignalLowColor></SignalLowColor> | 210 | <SignalLowColor></SignalLowColor> |
346 | 211 | <SignalColor>#0080FF</SignalColor> | 211 | <SignalColor>#0080FF</SignalColor> |
347 | 212 | <BeatColor>#454C53</BeatColor> | 212 | <BeatColor>#454C53</BeatColor> |
348 | 213 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
349 | 213 | <BeatHighlightColor></BeatHighlightColor> | 214 | <BeatHighlightColor></BeatHighlightColor> |
350 | 214 | <PlayPosColor>#FD0564</PlayPosColor> | 215 | <PlayPosColor>#FD0564</PlayPosColor> |
351 | 215 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 216 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
352 | @@ -267,6 +268,7 @@ | |||
353 | 267 | <SignalLowColor></SignalLowColor> | 268 | <SignalLowColor></SignalLowColor> |
354 | 268 | <SignalColor>#E17000</SignalColor> | 269 | <SignalColor>#E17000</SignalColor> |
355 | 269 | <BeatColor>#454C53</BeatColor> | 270 | <BeatColor>#454C53</BeatColor> |
356 | 271 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
357 | 270 | <BeatHighlightColor></BeatHighlightColor> | 272 | <BeatHighlightColor></BeatHighlightColor> |
358 | 271 | <PlayPosColor>#FD0564</PlayPosColor> | 273 | <PlayPosColor>#FD0564</PlayPosColor> |
359 | 272 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 274 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
360 | 273 | 275 | ||
361 | === modified file 'mixxx/res/skins/PhoneyDark1600x1200-UXGA/skin.xml' | |||
362 | --- mixxx/res/skins/PhoneyDark1600x1200-UXGA/skin.xml 2013-01-31 19:48:57 +0000 | |||
363 | +++ mixxx/res/skins/PhoneyDark1600x1200-UXGA/skin.xml 2013-03-24 00:04:23 +0000 | |||
364 | @@ -209,6 +209,7 @@ | |||
365 | 209 | <SignalLowColor></SignalLowColor> | 209 | <SignalLowColor></SignalLowColor> |
366 | 210 | <SignalColor>#0099FF</SignalColor> | 210 | <SignalColor>#0099FF</SignalColor> |
367 | 211 | <BeatColor>#CCCCCC</BeatColor> | 211 | <BeatColor>#CCCCCC</BeatColor> |
368 | 212 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
369 | 212 | <BeatHighlightColor></BeatHighlightColor> | 213 | <BeatHighlightColor></BeatHighlightColor> |
370 | 213 | <PlayPosColor>#00FF00</PlayPosColor> | 214 | <PlayPosColor>#00FF00</PlayPosColor> |
371 | 214 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 215 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
372 | @@ -266,6 +267,7 @@ | |||
373 | 266 | <SignalLowColor></SignalLowColor> | 267 | <SignalLowColor></SignalLowColor> |
374 | 267 | <SignalColor>#CC6600</SignalColor> | 268 | <SignalColor>#CC6600</SignalColor> |
375 | 268 | <BeatColor>#CCCCCC</BeatColor> | 269 | <BeatColor>#CCCCCC</BeatColor> |
376 | 270 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
377 | 269 | <BeatHighlightColor></BeatHighlightColor> | 271 | <BeatHighlightColor></BeatHighlightColor> |
378 | 270 | <PlayPosColor>#00FF00</PlayPosColor> | 272 | <PlayPosColor>#00FF00</PlayPosColor> |
379 | 271 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 273 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
380 | 272 | 274 | ||
381 | === modified file 'mixxx/res/skins/PhoneyDark1680x1050-WSXGA/skin.xml' | |||
382 | --- mixxx/res/skins/PhoneyDark1680x1050-WSXGA/skin.xml 2013-01-31 19:48:57 +0000 | |||
383 | +++ mixxx/res/skins/PhoneyDark1680x1050-WSXGA/skin.xml 2013-03-24 00:04:23 +0000 | |||
384 | @@ -209,6 +209,7 @@ | |||
385 | 209 | <SignalLowColor></SignalLowColor> | 209 | <SignalLowColor></SignalLowColor> |
386 | 210 | <SignalColor>#0099FF</SignalColor> | 210 | <SignalColor>#0099FF</SignalColor> |
387 | 211 | <BeatColor>#CCCCCC</BeatColor> | 211 | <BeatColor>#CCCCCC</BeatColor> |
388 | 212 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
389 | 212 | <BeatHighlightColor></BeatHighlightColor> | 213 | <BeatHighlightColor></BeatHighlightColor> |
390 | 213 | <PlayPosColor>#00FF00</PlayPosColor> | 214 | <PlayPosColor>#00FF00</PlayPosColor> |
391 | 214 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 215 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
392 | @@ -266,6 +267,7 @@ | |||
393 | 266 | <SignalLowColor></SignalLowColor> | 267 | <SignalLowColor></SignalLowColor> |
394 | 267 | <SignalColor>#CC6600</SignalColor> | 268 | <SignalColor>#CC6600</SignalColor> |
395 | 268 | <BeatColor>#CCCCCC</BeatColor> | 269 | <BeatColor>#CCCCCC</BeatColor> |
396 | 270 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
397 | 269 | <BeatHighlightColor></BeatHighlightColor> | 271 | <BeatHighlightColor></BeatHighlightColor> |
398 | 270 | <PlayPosColor>#00FF00</PlayPosColor> | 272 | <PlayPosColor>#00FF00</PlayPosColor> |
399 | 271 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 273 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
400 | 272 | 274 | ||
401 | === modified file 'mixxx/res/skins/Shade1024x600-Netbook/skin.xml' | |||
402 | --- mixxx/res/skins/Shade1024x600-Netbook/skin.xml 2013-03-15 14:15:30 +0000 | |||
403 | +++ mixxx/res/skins/Shade1024x600-Netbook/skin.xml 2013-03-24 00:04:23 +0000 | |||
404 | @@ -3386,6 +3386,7 @@ | |||
405 | 3386 | <SignalLowColor></SignalLowColor> | 3386 | <SignalLowColor></SignalLowColor> |
406 | 3387 | <SignalColor>#191F24</SignalColor> | 3387 | <SignalColor>#191F24</SignalColor> |
407 | 3388 | <BeatColor>#FFFFFF</BeatColor> | 3388 | <BeatColor>#FFFFFF</BeatColor> |
408 | 3389 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
409 | 3389 | <BeatHighlightColor></BeatHighlightColor> | 3390 | <BeatHighlightColor></BeatHighlightColor> |
410 | 3390 | <PlayPosColor>#00FF00</PlayPosColor> | 3391 | <PlayPosColor>#00FF00</PlayPosColor> |
411 | 3391 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 3392 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
412 | @@ -4730,6 +4731,7 @@ | |||
413 | 4730 | <SignalLowColor></SignalLowColor> | 4731 | <SignalLowColor></SignalLowColor> |
414 | 4731 | <SignalColor>#191F24</SignalColor> | 4732 | <SignalColor>#191F24</SignalColor> |
415 | 4732 | <BeatColor>#FFFFFF</BeatColor> | 4733 | <BeatColor>#FFFFFF</BeatColor> |
416 | 4734 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
417 | 4733 | <BeatHighlightColor></BeatHighlightColor> | 4735 | <BeatHighlightColor></BeatHighlightColor> |
418 | 4734 | <PlayPosColor>#00FF00</PlayPosColor> | 4736 | <PlayPosColor>#00FF00</PlayPosColor> |
419 | 4735 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 4737 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
420 | 4736 | 4738 | ||
421 | === modified file 'mixxx/res/skins/Shade1024x768-XGA/skin.xml' | |||
422 | --- mixxx/res/skins/Shade1024x768-XGA/skin.xml 2013-03-15 14:15:30 +0000 | |||
423 | +++ mixxx/res/skins/Shade1024x768-XGA/skin.xml 2013-03-24 00:04:23 +0000 | |||
424 | @@ -3386,6 +3386,7 @@ | |||
425 | 3386 | <SignalLowColor></SignalLowColor> | 3386 | <SignalLowColor></SignalLowColor> |
426 | 3387 | <SignalColor>#191F24</SignalColor> | 3387 | <SignalColor>#191F24</SignalColor> |
427 | 3388 | <BeatColor>#FFFFFF</BeatColor> | 3388 | <BeatColor>#FFFFFF</BeatColor> |
428 | 3389 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
429 | 3389 | <BeatHighlightColor></BeatHighlightColor> | 3390 | <BeatHighlightColor></BeatHighlightColor> |
430 | 3390 | <PlayPosColor>#00FF00</PlayPosColor> | 3391 | <PlayPosColor>#00FF00</PlayPosColor> |
431 | 3391 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 3392 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
432 | @@ -4730,6 +4731,7 @@ | |||
433 | 4730 | <SignalLowColor></SignalLowColor> | 4731 | <SignalLowColor></SignalLowColor> |
434 | 4731 | <SignalColor>#191F24</SignalColor> | 4732 | <SignalColor>#191F24</SignalColor> |
435 | 4732 | <BeatColor>#FFFFFF</BeatColor> | 4733 | <BeatColor>#FFFFFF</BeatColor> |
436 | 4734 | <FirstBeatInBarColor>#bc0a0a</FirstBeatInBarColor> | ||
437 | 4733 | <BeatHighlightColor></BeatHighlightColor> | 4735 | <BeatHighlightColor></BeatHighlightColor> |
438 | 4734 | <PlayPosColor>#00FF00</PlayPosColor> | 4736 | <PlayPosColor>#00FF00</PlayPosColor> |
439 | 4735 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 4737 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
440 | 4736 | 4738 | ||
441 | === modified file 'mixxx/res/skins/ShadeDark1024x600-Netbook/skin.xml' | |||
442 | --- mixxx/res/skins/ShadeDark1024x600-Netbook/skin.xml 2013-03-15 14:15:30 +0000 | |||
443 | +++ mixxx/res/skins/ShadeDark1024x600-Netbook/skin.xml 2013-03-24 00:04:23 +0000 | |||
444 | @@ -3386,6 +3386,7 @@ | |||
445 | 3386 | <SignalLowColor>#FF0035</SignalLowColor> | 3386 | <SignalLowColor>#FF0035</SignalLowColor> |
446 | 3387 | <SignalColor>#FF8000</SignalColor> | 3387 | <SignalColor>#FF8000</SignalColor> |
447 | 3388 | <BeatColor>#E4E4E4</BeatColor> | 3388 | <BeatColor>#E4E4E4</BeatColor> |
448 | 3389 | <FirstBeatInBarColor>#fefefe</FirstBeatInBarColor> | ||
449 | 3389 | <BeatHighlightColor></BeatHighlightColor> | 3390 | <BeatHighlightColor></BeatHighlightColor> |
450 | 3390 | <PlayPosColor>#00FF00</PlayPosColor> | 3391 | <PlayPosColor>#00FF00</PlayPosColor> |
451 | 3391 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 3392 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
452 | @@ -4730,6 +4731,7 @@ | |||
453 | 4730 | <SignalLowColor>#FF0035</SignalLowColor> | 4731 | <SignalLowColor>#FF0035</SignalLowColor> |
454 | 4731 | <SignalColor>#FF8000</SignalColor> | 4732 | <SignalColor>#FF8000</SignalColor> |
455 | 4732 | <BeatColor>#E4E4E4</BeatColor> | 4733 | <BeatColor>#E4E4E4</BeatColor> |
456 | 4734 | <FirstBeatInBarColor>#fefefe</FirstBeatInBarColor> | ||
457 | 4733 | <BeatHighlightColor></BeatHighlightColor> | 4735 | <BeatHighlightColor></BeatHighlightColor> |
458 | 4734 | <PlayPosColor>#00FF00</PlayPosColor> | 4736 | <PlayPosColor>#00FF00</PlayPosColor> |
459 | 4735 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 4737 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
460 | 4736 | 4738 | ||
461 | === modified file 'mixxx/res/skins/ShadeDark1024x768-XGA/skin.xml' | |||
462 | --- mixxx/res/skins/ShadeDark1024x768-XGA/skin.xml 2013-03-15 14:15:30 +0000 | |||
463 | +++ mixxx/res/skins/ShadeDark1024x768-XGA/skin.xml 2013-03-24 00:04:23 +0000 | |||
464 | @@ -3386,6 +3386,7 @@ | |||
465 | 3386 | <SignalLowColor>#FF0035</SignalLowColor> | 3386 | <SignalLowColor>#FF0035</SignalLowColor> |
466 | 3387 | <SignalColor>#FF8000</SignalColor> | 3387 | <SignalColor>#FF8000</SignalColor> |
467 | 3388 | <BeatColor>#E4E4E4</BeatColor> | 3388 | <BeatColor>#E4E4E4</BeatColor> |
468 | 3389 | <FirstBeatInBarColor>#fefefe</FirstBeatInBarColor> | ||
469 | 3389 | <BeatHighlightColor></BeatHighlightColor> | 3390 | <BeatHighlightColor></BeatHighlightColor> |
470 | 3390 | <PlayPosColor>#00FF00</PlayPosColor> | 3391 | <PlayPosColor>#00FF00</PlayPosColor> |
471 | 3391 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 3392 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
472 | @@ -4730,6 +4731,7 @@ | |||
473 | 4730 | <SignalLowColor>#FF0035</SignalLowColor> | 4731 | <SignalLowColor>#FF0035</SignalLowColor> |
474 | 4731 | <SignalColor>#FF8000</SignalColor> | 4732 | <SignalColor>#FF8000</SignalColor> |
475 | 4732 | <BeatColor>#E4E4E4</BeatColor> | 4733 | <BeatColor>#E4E4E4</BeatColor> |
476 | 4734 | <FirstBeatInBarColor>#fefefe</FirstBeatInBarColor> | ||
477 | 4733 | <BeatHighlightColor></BeatHighlightColor> | 4735 | <BeatHighlightColor></BeatHighlightColor> |
478 | 4734 | <PlayPosColor>#00FF00</PlayPosColor> | 4736 | <PlayPosColor>#00FF00</PlayPosColor> |
479 | 4735 | <EndOfTrackColor>#EA0000</EndOfTrackColor> | 4737 | <EndOfTrackColor>#EA0000</EndOfTrackColor> |
480 | 4736 | 4738 | ||
481 | === modified file 'mixxx/src/track/beatgrid.cpp' | |||
482 | --- mixxx/src/track/beatgrid.cpp 2012-11-20 00:40:18 +0000 | |||
483 | +++ mixxx/src/track/beatgrid.cpp 2013-03-24 00:04:23 +0000 | |||
484 | @@ -7,16 +7,19 @@ | |||
485 | 7 | static const int kFrameSize = 2; | 7 | static const int kFrameSize = 2; |
486 | 8 | 8 | ||
487 | 9 | struct BeatGridData { | 9 | struct BeatGridData { |
490 | 10 | double bpm; | 10 | double bpm; |
491 | 11 | double firstBeat; | 11 | double firstBeat; |
492 | 12 | int beatsPerBar; | ||
493 | 12 | }; | 13 | }; |
494 | 13 | 14 | ||
495 | 14 | class BeatGridIterator : public BeatIterator { | 15 | class BeatGridIterator : public BeatIterator { |
496 | 15 | public: | 16 | public: |
498 | 16 | BeatGridIterator(double dBeatLength, double dFirstBeat, double dEndSample) | 17 | BeatGridIterator(double dBeatLength, double dFirstBeat, double dEndSample, double dGlobalFirstBeat, int dBeatsPerBar = 4) |
499 | 17 | : m_dBeatLength(dBeatLength), | 18 | : m_dBeatLength(dBeatLength), |
500 | 18 | m_dCurrentSample(dFirstBeat), | 19 | m_dCurrentSample(dFirstBeat), |
502 | 19 | m_dEndSample(dEndSample) { | 20 | m_dEndSample(dEndSample), |
503 | 21 | m_dFirstBeat(dGlobalFirstBeat), | ||
504 | 22 | m_dBeatsPerBar(dBeatsPerBar) { | ||
505 | 20 | } | 23 | } |
506 | 21 | 24 | ||
507 | 22 | virtual bool hasNext() const { | 25 | virtual bool hasNext() const { |
508 | @@ -29,10 +32,18 @@ | |||
509 | 29 | return beat; | 32 | return beat; |
510 | 30 | } | 33 | } |
511 | 31 | 34 | ||
512 | 35 | virtual bool isFirstInBar() const { | ||
513 | 36 | if(m_dCurrentSample >= m_dFirstBeat) | ||
514 | 37 | return (((int)(((m_dCurrentSample - m_dFirstBeat) / m_dBeatLength)+.5)-1) % m_dBeatsPerBar) == 0; | ||
515 | 38 | return false; | ||
516 | 39 | } | ||
517 | 40 | |||
518 | 32 | private: | 41 | private: |
519 | 33 | double m_dBeatLength; | 42 | double m_dBeatLength; |
520 | 34 | double m_dCurrentSample; | 43 | double m_dCurrentSample; |
521 | 35 | double m_dEndSample; | 44 | double m_dEndSample; |
522 | 45 | double m_dFirstBeat; | ||
523 | 46 | int m_dBeatsPerBar; | ||
524 | 36 | }; | 47 | }; |
525 | 37 | 48 | ||
526 | 38 | BeatGrid::BeatGrid(TrackInfoObject* pTrack, const QByteArray* pByteArray) | 49 | BeatGrid::BeatGrid(TrackInfoObject* pTrack, const QByteArray* pByteArray) |
527 | @@ -188,7 +199,8 @@ | |||
528 | 188 | if (curBeat == -1.0) { | 199 | if (curBeat == -1.0) { |
529 | 189 | return NULL; | 200 | return NULL; |
530 | 190 | } | 201 | } |
532 | 191 | return new BeatGridIterator(m_dBeatLength, curBeat, stopSample); | 202 | double firstBeat = findNextBeat(0); |
533 | 203 | return new BeatGridIterator(m_dBeatLength, curBeat, stopSample, firstBeat); | ||
534 | 192 | } | 204 | } |
535 | 193 | 205 | ||
536 | 194 | bool BeatGrid::hasBeatInRange(double startSample, double stopSample) const { | 206 | bool BeatGrid::hasBeatInRange(double startSample, double stopSample) const { |
537 | 195 | 207 | ||
538 | === modified file 'mixxx/src/track/beatmap.cpp' | |||
539 | --- mixxx/src/track/beatmap.cpp 2012-05-07 05:30:14 +0000 | |||
540 | +++ mixxx/src/track/beatmap.cpp 2013-03-24 00:04:23 +0000 | |||
541 | @@ -29,9 +29,11 @@ | |||
542 | 29 | 29 | ||
543 | 30 | class BeatMapIterator : public BeatIterator { | 30 | class BeatMapIterator : public BeatIterator { |
544 | 31 | public: | 31 | public: |
546 | 32 | BeatMapIterator(BeatList::const_iterator start, BeatList::const_iterator end) | 32 | BeatMapIterator(BeatList::const_iterator start, BeatList::const_iterator end, BeatList::const_iterator first, int beatsPerBar = 4) |
547 | 33 | : m_currentBeat(start), | 33 | : m_currentBeat(start), |
549 | 34 | m_endBeat(end) { | 34 | m_endBeat(end), |
550 | 35 | m_firstBeat(first), | ||
551 | 36 | m_beatsPerBar(beatsPerBar) { | ||
552 | 35 | // Advance to the first enabled beat. | 37 | // Advance to the first enabled beat. |
553 | 36 | while (m_currentBeat != m_endBeat && !m_currentBeat->enabled()) { | 38 | while (m_currentBeat != m_endBeat && !m_currentBeat->enabled()) { |
554 | 37 | m_currentBeat++; | 39 | m_currentBeat++; |
555 | @@ -51,9 +53,15 @@ | |||
556 | 51 | return beat; | 53 | return beat; |
557 | 52 | } | 54 | } |
558 | 53 | 55 | ||
559 | 56 | virtual bool isFirstInBar() const { | ||
560 | 57 | return (m_currentBeat - m_firstBeat) % m_beatsPerBar == 0; | ||
561 | 58 | } | ||
562 | 59 | |||
563 | 54 | private: | 60 | private: |
564 | 55 | BeatList::const_iterator m_currentBeat; | 61 | BeatList::const_iterator m_currentBeat; |
565 | 56 | BeatList::const_iterator m_endBeat; | 62 | BeatList::const_iterator m_endBeat; |
566 | 63 | BeatList::const_iterator m_firstBeat;; | ||
567 | 64 | int m_beatsPerBar; | ||
568 | 57 | }; | 65 | }; |
569 | 58 | 66 | ||
570 | 59 | BeatMap::BeatMap(TrackPointer pTrack, const QByteArray* pByteArray) | 67 | BeatMap::BeatMap(TrackPointer pTrack, const QByteArray* pByteArray) |
571 | @@ -248,7 +256,7 @@ | |||
572 | 248 | if (curBeat >= lastBeat) { | 256 | if (curBeat >= lastBeat) { |
573 | 249 | return NULL; | 257 | return NULL; |
574 | 250 | } | 258 | } |
576 | 251 | return new BeatMapIterator(curBeat, lastBeat); | 259 | return new BeatMapIterator(curBeat, lastBeat, m_beats.begin()); |
577 | 252 | } | 260 | } |
578 | 253 | 261 | ||
579 | 254 | bool BeatMap::hasBeatInRange(double startSample, double stopSample) const { | 262 | bool BeatMap::hasBeatInRange(double startSample, double stopSample) const { |
580 | 255 | 263 | ||
581 | === modified file 'mixxx/src/track/beats.h' | |||
582 | --- mixxx/src/track/beats.h 2013-01-19 12:15:22 +0000 | |||
583 | +++ mixxx/src/track/beats.h 2013-03-24 00:04:23 +0000 | |||
584 | @@ -14,6 +14,7 @@ | |||
585 | 14 | virtual ~BeatIterator() {} | 14 | virtual ~BeatIterator() {} |
586 | 15 | virtual bool hasNext() const = 0; | 15 | virtual bool hasNext() const = 0; |
587 | 16 | virtual double next() = 0; | 16 | virtual double next() = 0; |
588 | 17 | virtual bool isFirstInBar() const = 0; | ||
589 | 17 | }; | 18 | }; |
590 | 18 | 19 | ||
591 | 19 | // Beats is a pure abstract base class for BPM and beat management classes. It | 20 | // Beats is a pure abstract base class for BPM and beat management classes. It |
592 | 20 | 21 | ||
593 | === modified file 'mixxx/src/waveform/renderers/waveformrenderbeat.cpp' | |||
594 | --- mixxx/src/waveform/renderers/waveformrenderbeat.cpp 2012-12-10 02:44:06 +0000 | |||
595 | +++ mixxx/src/waveform/renderers/waveformrenderbeat.cpp 2013-03-24 00:04:23 +0000 | |||
596 | @@ -39,6 +39,14 @@ | |||
597 | 39 | } | 39 | } |
598 | 40 | m_highBeatColor = WSkinColor::getCorrectColor(m_highBeatColor); | 40 | m_highBeatColor = WSkinColor::getCorrectColor(m_highBeatColor); |
599 | 41 | 41 | ||
600 | 42 | m_firstBeatInBarColor = Qt::red; | ||
601 | 43 | QString firstInBar = WWidget::selectNodeQString(node, "FirstBeatInBarColor"); | ||
602 | 44 | if (firstInBar != "") { | ||
603 | 45 | m_firstBeatInBarColor.setNamedColor(firstInBar); | ||
604 | 46 | } | ||
605 | 47 | m_firstBeatInBarColor = WSkinColor::getCorrectColor(m_firstBeatInBarColor); | ||
606 | 48 | |||
607 | 49 | |||
608 | 42 | if (m_beatColor.alphaF() > 0.99) | 50 | if (m_beatColor.alphaF() > 0.99) |
609 | 43 | m_beatColor.setAlphaF(0.8); | 51 | m_beatColor.setAlphaF(0.8); |
610 | 44 | 52 | ||
611 | @@ -55,6 +63,7 @@ | |||
612 | 55 | BeatsPointer trackBeats = trackInfo->getBeats(); | 63 | BeatsPointer trackBeats = trackInfo->getBeats(); |
613 | 56 | if (!trackBeats) | 64 | if (!trackBeats) |
614 | 57 | return; | 65 | return; |
615 | 66 | double firstBeatOfTrack = trackBeats->findNextBeat(0); | ||
616 | 58 | 67 | ||
617 | 59 | const int trackSamples = m_waveformRenderer->getTrackSamples(); | 68 | const int trackSamples = m_waveformRenderer->getTrackSamples(); |
618 | 60 | if (trackSamples <= 0) { | 69 | if (trackSamples <= 0) { |
619 | @@ -83,19 +92,25 @@ | |||
620 | 83 | beatPen.setWidth(1.5); | 92 | beatPen.setWidth(1.5); |
621 | 84 | QPen highBeatPen(m_highBeatColor); | 93 | QPen highBeatPen(m_highBeatColor); |
622 | 85 | highBeatPen.setWidth(1.5); | 94 | highBeatPen.setWidth(1.5); |
623 | 95 | QPen firstBeatInBarPen(m_firstBeatInBarColor); | ||
624 | 96 | firstBeatInBarPen.setWidth(2.5); | ||
625 | 86 | 97 | ||
626 | 87 | while (it->hasNext()) { | 98 | while (it->hasNext()) { |
627 | 88 | int beatPosition = it->next(); | 99 | int beatPosition = it->next(); |
628 | 89 | m_waveformRenderer->regulateVisualSample(beatPosition); | 100 | m_waveformRenderer->regulateVisualSample(beatPosition); |
629 | 90 | double xBeatPoint = m_waveformRenderer->transformSampleIndexInRendererWorld(beatPosition); | 101 | double xBeatPoint = m_waveformRenderer->transformSampleIndexInRendererWorld(beatPosition); |
630 | 91 | 102 | ||
631 | 103 | if (it->isFirstInBar()) { | ||
632 | 104 | painter->setPen(firstBeatInBarPen); | ||
633 | 105 | } | ||
634 | 92 | //NOTE: (vRince) RJ should we keep this ? | 106 | //NOTE: (vRince) RJ should we keep this ? |
637 | 93 | if (m_beatActive && m_beatActive->get() > 0.0 && | 107 | else if (m_beatActive && m_beatActive->get() > 0.0 && |
638 | 94 | abs(xBeatPoint - m_waveformRenderer->getWidth()/2) < 20) | 108 | abs(xBeatPoint - m_waveformRenderer->getWidth()/2) < 20) { |
639 | 95 | painter->setPen(highBeatPen); | 109 | painter->setPen(highBeatPen); |
641 | 96 | else | 110 | } else { |
642 | 97 | painter->setPen(beatPen); | 111 | painter->setPen(beatPen); |
644 | 98 | 112 | } | |
645 | 113 | |||
646 | 99 | painter->drawLine(QPointF(xBeatPoint, 0.f), | 114 | painter->drawLine(QPointF(xBeatPoint, 0.f), |
647 | 100 | QPointF(xBeatPoint, | 115 | QPointF(xBeatPoint, |
648 | 101 | (float)m_waveformRenderer->getHeight())); | 116 | (float)m_waveformRenderer->getHeight())); |
649 | 102 | 117 | ||
650 | === modified file 'mixxx/src/waveform/renderers/waveformrenderbeat.h' | |||
651 | --- mixxx/src/waveform/renderers/waveformrenderbeat.h 2012-09-19 21:04:53 +0000 | |||
652 | +++ mixxx/src/waveform/renderers/waveformrenderbeat.h 2013-03-24 00:04:23 +0000 | |||
653 | @@ -20,6 +20,7 @@ | |||
654 | 20 | private: | 20 | private: |
655 | 21 | QColor m_beatColor; | 21 | QColor m_beatColor; |
656 | 22 | QColor m_highBeatColor; | 22 | QColor m_highBeatColor; |
657 | 23 | QColor m_firstBeatInBarColor; | ||
658 | 23 | ControlObjectThreadMain* m_beatActive; | 24 | ControlObjectThreadMain* m_beatActive; |
659 | 24 | 25 | ||
660 | 25 | DISALLOW_COPY_AND_ASSIGN(WaveformRenderBeat); | 26 | DISALLOW_COPY_AND_ASSIGN(WaveformRenderBeat); |
Hi Stephan,
Thank you very much for your branch. waveform/ renderers/ waveformrenderb eat.cpp line 110 should be combined with the expressions above.
From the coding side it looks good.
Except expression in mixxx/src/
Form the visual point of view IMHO the first beat bar is too highlighted (too red and bold). I would prefer an additional icon on the normal bars. I hope Jus, our design maintainer can also help out here.
While this is a good step to the final goal, I would not merge this branch yet because of the missing detection support.
Kind regards,
Daniel