panup
Max Output Level: -50 dBFS
- Total Posts : 2538
- Joined: 2006/05/23 09:34:35
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/10 05:45:23
(permalink)
Screen capture: Theme properties window (yeah, thats' me) Preferred theme preview size seems to be 517 x 310 pixels (that's how SONAR shows it in preferences). I made loading preview image a bit easier - Source image is not restricted to PNG. Use any image format Windows supports, including JPG. - If image is larger than 517 x 310, you can click the Fit button to scale it down. Image proportions are preserved and possible empty areas are filled with transparent ink. - There's a also a clear button to remove preview image. Future plan: automatic preview image generator.
|
panup
Max Output Level: -50 dBFS
- Total Posts : 2538
- Joined: 2006/05/23 09:34:35
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/10 17:28:00
(permalink)
There will be a Control Bar in the Theme Editor. It can be hidden / shown by pressing the C button, just like in SONAR. I also added a status bar. It shows always the active item name + other useful info. Behind the scenes: almost every basic feature is now working. There are still glitches in the GUI but not anything severe. Editor seems to be pretty stable; I have added a lot of preventing checks to avoid unwanted states in the code. I want to make a push button editor/composing tool to help making new 5-state (and others, too) buttons. In my vision user draws one button image and then the tool generates buttons based on color settings, extra layers etc. There are probably many good and free button creators on the net but not a single one dedicated for SONAR (as far as I know). Coming: I'll add Adjustment module in the Control bar for hue, saturation, lightness etc. tweaking for selected colors & images. --- Example of one of "not so severe things to fix": ---clip--- Dim msg As String = "You have not saved " & ThemeProperties.Name & "." & vbCrLf & "Do you want to save it now?" ---clip--- This looks fine if theme already has a name. Otherwise it shows: "You have not saved . Do you want to save it now?" --- This is still fun --> project continues. :)
|
Lord Tim
Max Output Level: -74 dBFS
- Total Posts : 837
- Joined: 2003/11/10 10:33:43
- Location: Australia
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/10 18:06:51
(permalink)
panup OK, I got it. I'll see what I can do... Maybe user theme needs to be marked internally as "Mercury factory theme". That's rude thing to do but may actually work. :)
I asked Noel about this a while back and he said that Mercury uses a completely different internal way to show track colour overlays, but they may revisit that in the future so custom themes can use it too. Great work on your editor, man - looks amazing! :)
|
soens
Max Output Level: -23.5 dBFS
- Total Posts : 5154
- Joined: 2005/09/16 03:19:55
- Location: Location: Location
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/11 05:11:36
(permalink)
A guess would be the default theme (Mercury) is controlled, as in the past, internally in the .exe file. Whereas Tungsten and created themes are controlled separately in the respective .fth file putting them outside the realm of track color capability.
|
southpaw3473
Max Output Level: -75 dBFS
- Total Posts : 782
- Joined: 2008/04/22 16:50:41
- Location: Western MA
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/11 10:44:58
(permalink)
☄ Helpfulby FCCfirstclass 2016/09/11 11:44:18
Thank you for all you've done for us Sonarites over the years, Panu!! I've been a dedicated user of your mods for years and years now and I really appreciate all the hard work you do!
We'll not risk another frontal assault-that rabbit's dynamite!!! Tommy Byrnes Sonar Platinum Win 10 Pro x64 AMD FX 8350 Eight-Core 4.00GHz/ ASRock 970 Extreme4/ 16 gigs RAMUA Apollo Firewire/UA 2 Quad Satellite/ Focusrite OctoPre/Makie Onyx1220i Mixer THANK YOU!!!
|
Zargg
Max Output Level: 0 dBFS
- Total Posts : 10666
- Joined: 2014/09/28 04:20:14
- Location: Norway
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/11 15:23:23
(permalink)
Looking more and more forwards to this, Panu  Looks really nice
Ken Nilsen ZarggBBZWin 10 Pro X64, Cakewalk by Bandlab, SPlat X64, AMD AM3+ fx-8320, 16Gb RAM, RME Ucx (+ ARC), Tascam FW 1884, M-Audio Keystation 61es, *AKAI MPK Pro 25, *Softube Console1, Alesis DM6 USB, Maschine MkII Laptop setup: Win 10 X64, i5 2.4ghz, 8gb RAM, 320gb 7200 RPM HD, Focusrite Solo, + *
|
mettelus
Max Output Level: -22 dBFS
- Total Posts : 5321
- Joined: 2005/08/05 03:19:25
- Location: Maryland, USA
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/11 15:35:05
(permalink)
Batch processing... What a novel concept. Very nice work as always!
The hacker comment gave me a nice chuckle due to a single comment posted long ago.
ASUS ROG Maximus X Hero (Wi-Fi AC), i7-8700k, 16GB RAM, GTX-1070Ti, Win 10 Pro, Saffire PRO 24 DSP, A-300 PRO, plus numerous gadgets and gizmos that make or manipulate sound in some way.
|
panup
Max Output Level: -50 dBFS
- Total Posts : 2538
- Joined: 2006/05/23 09:34:35
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/11 16:54:19
(permalink)
The first test with the brand new Hue adjustment tool was successfull! Now the real fun is beginning!  You can select any number of items (graphics / colors) and batch edit hue, saturation, lightness etc. in seconds. This is a HUGE timesaver compared to manual editing in external editor (unless you've got similar batch processing tools). The standard Windows trackbar looks aged and ugly. I'll design custom control for that later. Screen capture: The first Hue tool test.
|
panup
Max Output Level: -50 dBFS
- Total Posts : 2538
- Joined: 2006/05/23 09:34:35
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/13 11:36:50
(permalink)
Windows Trackbars are now replaced with self-made sliders. Style and behavior is copied directly from Photoshop. My control is not as smooth as Photoshop's - hopefully it's the debug mode that has weaker performance.
|
patm300e
Max Output Level: -74 dBFS
- Total Posts : 845
- Joined: 2007/09/28 09:14:18
- Location: USA - Maryland
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/13 13:56:32
(permalink)
Nice! BTW, Dim msg As String = "You have not saved " & ThemeProperties.Name & "." & vbCrLf & "Do you want to save it now?" Dim msg AsString = "You have not saved " & IIf(String.IsNullOrEmpty(ThemeProperties.Name), ", You will need to name the file." , ThemeProperties.Name & "." & vbCrLf & "Do you want to save it now?") Or Something similar! I realize you already know this
post edited by patm300e - 2016/09/13 14:18:00
SPLAT on a Home built i3 16 GB RAM 64-bit Windows 10 Home Premium 120GB SSD (OS) 2TB Data Drive. Behringer XR-18 USB 2.0 Interface. FaderPort control.
|
jbraner
Max Output Level: -57 dBFS
- Total Posts : 1830
- Joined: 2003/11/06 14:38:35
- Location: Edinburgh, Scotland
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/13 16:48:54
(permalink)
This is a good thread - but it's not "day 1" anymore
|
soens
Max Output Level: -23.5 dBFS
- Total Posts : 5154
- Joined: 2005/09/16 03:19:55
- Location: Location: Location
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/13 17:16:35
(permalink)
Maybe his days are longer....
|
panup
Max Output Level: -50 dBFS
- Total Posts : 2538
- Joined: 2006/05/23 09:34:35
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/13 17:41:40
(permalink)
Here in north one day is many months in summer. :D But hey, I saw .NET coders here... Please help me with this if you can. How to set default values as Drawing.Color and Image (I set integers already): Public Class SliderBar Public Event Value_Changed()
Dim m_Value As Integer = 0 <System.ComponentModel.DefaultValue(0)> Public Property Value As Integer Get Return m_Value End Get Set(value As Integer) m_Value = value CheckRange() End Set End Property
Dim m_Min As Integer = -100 <System.ComponentModel.DefaultValue(-100)> Public Property Min As Integer Get Return m_Min End Get Set(value As Integer) m_Min = Min End Set End Property
Private m_Max As Integer = 100 <System.ComponentModel.DefaultValue(100)> Public Property Max As Integer Get Return m_Max End Get Set(value As Integer) m_Max = value End Set End Property
Public Property TextColor As Color Get Return txtValue.ForeColor End Get Set(value As Color) txtValue.ForeColor = value End Set End Property
Public Property ScaleImage As Image Get Return picScale.BackgroundImage End Get Set(value As Image) picScale.BackgroundImage = value End Set End Property
Public Property Pointer As Image Get Return picPointer.BackgroundImage End Get Set(value As Image) picPointer.BackgroundImage = value End Set End Property
<System.ComponentModel.DefaultValue(3)> Public Property ScaleHeight As Integer Get Return picScale.Height End Get Set(value As Integer) picScale.Height = value End Set End Property
<System.ComponentModel.DefaultValue(25)> Public Property PointerY As Integer Get Return picPointer.Location.Y End Get Set(value As Integer) picPointer.Location = New Point(picPointer.Location.X, value) End Set End Property
|
BRainbow
Max Output Level: -83 dBFS
- Total Posts : 399
- Joined: 2004/03/14 01:39:12
- Location: Honolulu, Hawai'i
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/25 01:51:54
(permalink)
You geeks are very cool. Sorry I made fun of you in high school. Thanks to all you guys: Panu, the Bakers , et al.
post edited by BRainbow - 2016/09/25 02:13:16
Cakewalk (forever), Two WIN10 64-bit DAWs: home-brew ASRock x299 Taichi / i7 7820x w/ 64GB RAM and ASUS X99A-II / i7-5820K w/ 32GB RAM, ZOOM UAC 8, Mackie ONYX 1640i FW Mixer/Interface, Mackie ONYX 1200F, Avalon U5 PreAmp, NI Komplete 11 Ultimate, EastWest Composer CloudX, Yamaha MOTIF XS8, Ensoniq SD-1 and ESQ-1, Korg M1rEX, Yamaha TX-81Z, Roland D110, Line6 HELIX Rack and Native, POD HD-Pro, POD Farm 2.5, Yamaha NS-10 and Presonus Eris E8 monitors, Yamaha Disklavier Upright Piano, mics, guitars, basses, and the cutest little tambourine.
|
panup
Max Output Level: -50 dBFS
- Total Posts : 2538
- Joined: 2006/05/23 09:34:35
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/25 12:38:39
(permalink)
|
southpaw3473
Max Output Level: -75 dBFS
- Total Posts : 782
- Joined: 2008/04/22 16:50:41
- Location: Western MA
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/25 13:45:21
(permalink)
This looks amazing, Panu!!! Thanks again for all the hard work you put in on Duckbar
We'll not risk another frontal assault-that rabbit's dynamite!!! Tommy Byrnes Sonar Platinum Win 10 Pro x64 AMD FX 8350 Eight-Core 4.00GHz/ ASRock 970 Extreme4/ 16 gigs RAMUA Apollo Firewire/UA 2 Quad Satellite/ Focusrite OctoPre/Makie Onyx1220i Mixer THANK YOU!!!
|
panup
Max Output Level: -50 dBFS
- Total Posts : 2538
- Joined: 2006/05/23 09:34:35
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/25 14:06:29
(permalink)
Thanks southpaw3473! And BRainbow, I forgive you what happened in school. :)
|
Zargg
Max Output Level: 0 dBFS
- Total Posts : 10666
- Joined: 2014/09/28 04:20:14
- Location: Norway
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/25 14:30:04
(permalink)
This is looking awesome, Panu  Really cool of you to do this, and share it  Looking forwards to the finished version. All the best.
Ken Nilsen ZarggBBZWin 10 Pro X64, Cakewalk by Bandlab, SPlat X64, AMD AM3+ fx-8320, 16Gb RAM, RME Ucx (+ ARC), Tascam FW 1884, M-Audio Keystation 61es, *AKAI MPK Pro 25, *Softube Console1, Alesis DM6 USB, Maschine MkII Laptop setup: Win 10 X64, i5 2.4ghz, 8gb RAM, 320gb 7200 RPM HD, Focusrite Solo, + *
|
mudgel
Max Output Level: 0 dBFS
- Total Posts : 12010
- Joined: 2004/08/13 00:56:05
- Location: Linton Victoria (Near Ballarat)
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/25 19:12:25
(permalink)
HeyPanu, Not around here much anymore but want to say well done dude. Thanks for all you give to this community.
Mike V. (MUDGEL) STUDIO: Win 10 Pro x64, SPlat & CbB x64, PC: ASUS Z370-A, INTEL i7 8700k, 32GIG DDR4 2400, OC 4.7Ghz. Storage: 7 TB SATA III, 750GiG SSD & Samsung 500 Gig 960 EVO NVMe M.2. Monitors: Adam A7X, JBL 10” Sub. Audio I/O & DSP Server: DIGIGRID IOS & IOX. Screen: Raven MTi + 43" HD 4K TV Monitor. Keyboard Controller: Native Instruments Komplete Kontrol S88.
|
skinnybones lampshade
Max Output Level: -80 dBFS
- Total Posts : 530
- Joined: 2012/09/04 14:37:30
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/25 21:54:15
(permalink)
What you are doing is fantastic, Panu! Many sincere thanks from here. I'm wondering (well, harping) about whether you think it would ever be possible to have the fader cap automatically follow the colour selected for the track? My eyesight is maybe not perfect :) and that would be such a help, I can't stop going on about it. If not, never mind, thanks again so much for all you do. LJ
|
panup
Max Output Level: -50 dBFS
- Total Posts : 2538
- Joined: 2006/05/23 09:34:35
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/26 07:43:06
(permalink)
skinnybones lampshade I'm wondering (well, harping) about whether you think it would ever be possible to have the fader cap automatically follow the colour selected for the track?
This is not possible from outside SONAR. You should sent a feature request to Cakewalk instead.
|
patm300e
Max Output Level: -74 dBFS
- Total Posts : 845
- Joined: 2007/09/28 09:14:18
- Location: USA - Maryland
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/28 08:44:45
(permalink)
panup Here in north one day is many months in summer. :D But hey, I saw .NET coders here... Please help me with this if you can. How to set default values as Drawing.Color and Image (I set integers already): Public Class SliderBar Public Event Value_Changed()
Dim m_Value As Integer = 0 <System.ComponentModel.DefaultValue(0)> Public Property Value As Integer Get Return m_Value End Get Set(value As Integer) m_Value = value CheckRange() End Set End Property
Dim m_Min As Integer = -100 <System.ComponentModel.DefaultValue(-100)> Public Property Min As Integer Get Return m_Min End Get Set(value As Integer) m_Min = Min End Set End Property
Private m_Max As Integer = 100 <System.ComponentModel.DefaultValue(100)> Public Property Max As Integer Get Return m_Max End Get Set(value As Integer) m_Max = value End Set End Property
Public Property TextColor As Color Get Return txtValue.ForeColor End Get Set(value As Color) txtValue.ForeColor = value End Set End Property
Public Property ScaleImage As Image Get Return picScale.BackgroundImage End Get Set(value As Image) picScale.BackgroundImage = value End Set End Property
Public Property Pointer As Image Get Return picPointer.BackgroundImage End Get Set(value As Image) picPointer.BackgroundImage = value End Set End Property
<System.ComponentModel.DefaultValue(3)> Public Property ScaleHeight As Integer Get Return picScale.Height End Get Set(value As Integer) picScale.Height = value End Set End Property
<System.ComponentModel.DefaultValue(25)> Public Property PointerY As Integer Get Return picPointer.Location.Y End Get Set(value As Integer) picPointer.Location = New Point(picPointer.Location.X, value) End Set End Property
What I would do is create a Public Sub New(defaultpointer as Image,DefaultScale as Image, defaultColor as Color) ScaleImage = defaultScale Pointer = defaultImage TextColor= defaultColor End Sub And pass them in on instantiation...One note. I do try to separate class library code from form code. I never set form values in class libraries, it makes them less "portable" for reuse. Just a thought. You do great work!
SPLAT on a Home built i3 16 GB RAM 64-bit Windows 10 Home Premium 120GB SSD (OS) 2TB Data Drive. Behringer XR-18 USB 2.0 Interface. FaderPort control.
|
Mesh
Max Output Level: 0 dBFS
- Total Posts : 27360
- Joined: 2009/11/27 14:08:08
- Location: Online right here!
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/28 08:55:28
(permalink)
Thanks Panu, I'm definitely looking forward to this and appreciate all that you've been doing for us since the X1 days. Cheers!!
Platinum Gaming DAW: AsRock Z77 Overclock FormulaI7 3770k @ 4.5GHz : 16GB RAM G.Skill Ripjaws X 250GB OS SSD : 3TB HDD : 1TB Sample HDDWin 10 Pro x 64 : NH-D14 CPU Cooler HIS IceQ 2GB HD 7870Focusrite Scarlett 2i4The_Forum_Monkeys
|
panup
Max Output Level: -50 dBFS
- Total Posts : 2538
- Joined: 2006/05/23 09:34:35
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/28 10:45:00
(permalink)
What I would do is create a Public Sub New(defaultpointer as Image,DefaultScale as Image, defaultColor as Color) ScaleImage = defaultScale Pointer = defaultImage TextColor= defaultColor End Sub And pass them in on instantiation...One note. I do try to separate class library code from form code. I never set form values in class libraries, it makes them less "portable" for reuse. Just a thought. You do great work!
Thanks for the tips!
|
panup
Max Output Level: -50 dBFS
- Total Posts : 2538
- Joined: 2006/05/23 09:34:35
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/28 10:45:37
(permalink)
Thanks for your support (all these years), Mesh! :)
|
patm300e
Max Output Level: -74 dBFS
- Total Posts : 845
- Joined: 2007/09/28 09:14:18
- Location: USA - Maryland
- Status: offline
Re: Just for fun ... Duckbar Theme Editor, day 1
2016/09/28 12:12:05
(permalink)
I hope that in some small way helps you, can't wait to see final project! Let me know if you need anything else...You can PM if you need to keep it private. Pat
SPLAT on a Home built i3 16 GB RAM 64-bit Windows 10 Home Premium 120GB SSD (OS) 2TB Data Drive. Behringer XR-18 USB 2.0 Interface. FaderPort control.
|