IPB

Welcome Guest ( Log In | Register )

28 Pages V  < 1 2 3 4 > »   
Reply to this topicStart new topic
> beatport.com scripts by stevehero (search & direct) - jaimz mod, rips cover, album, year, date, catalog #, publisher, genre, www + more
stevehero
post Dec 12 2011, 00:33
Post #16


Member


Group: Full Members
Posts: 709
Joined: 3-December 10
From: Ireland
Member No.: 13334
Mp3tag Version: 2.81c



QUOTE (The Sheriff @ Dec 11 2011, 22:29) *
Maybe you can help me with the issue I'm having with the DATE field? It's read in the script in the format MMDD......

To format the DATE in the format DDMM

Enter the following:
CODE
# DATE
outputto "date"
gotoline 1
findline "<dateReleased>"
findinline "<dateReleased>"
findinline "-"
findinline "-"
sayuntil "</"
gotochar 1
findline "<dateReleased>"
findinline "<dateReleased>"
findinline "-"
sayuntil "-"

Replacing:
CODE
# DATE
outputto "date"
gotoline 1
findline "<dateReleased>"
findinline "<dateReleased>"
findinline "-"
sayuntil "-"
findinline "-"
sayuntil "</"


**EDIT**
@pone, not one little bit :] Just seen you posted. Its a cleaner method but both things do the same @The Sheriff.

This post has been edited by stevehero: Dec 12 2011, 00:37


--------------------
Go to the top of the page
 
+Quote Post
The Sheriff
post Dec 12 2011, 01:43
Post #17


Member


Group: Full Members
Posts: 22
Joined: 28-March 09
From: Liverpool, UK
Member No.: 9368
Mp3tag Version: 2.49a



QUOTE (pone @ Dec 11 2011, 23:26) *
put this line
CODE
regexpreplace "(\d\d\d\d)-(\d\d)-(\d\d)" "$1-$3-$2"

after
CODE
findline "<dateReleased>"

at the DATE section.


or


change this
CODE
indinline "-"
sayuntil "-"
findinline "-"
sayuntil "</"

into this
CODE
findinline "-" 2
sayuntil "</"
findinline "-" -1
movechar -1
sayuntil "-"

at the DATE section



@ stevehero:
I hope you don't mind me messing up your script wink.gif



pone, you are a genius. Thanks again.
Go to the top of the page
 
+Quote Post
garves
post Jan 2 2012, 05:02
Post #18


Member


Group: Members
Posts: 2
Joined: 2-January 12
Member No.: 15832
Mp3tag Version: 2.49a



Beatport are now displaying the bpm and song Key info in the API..

Could you please add these tags into the next update of the script?

I've modified my .src files and I now get the bpm.
but I'm struggling with the song key info. (I'm new to this)

thanks


Go to the top of the page
 
+Quote Post
stevehero
post Jan 2 2012, 10:55
Post #19


Member


Group: Full Members
Posts: 709
Joined: 3-December 10
From: Ireland
Member No.: 13334
Mp3tag Version: 2.81c



QUOTE (garves @ Jan 2 2012, 04:02) *
Beatport are now displaying the bpm and song Key info in the API..

Could you please add these tags into the next update of the script?

I've modified my .src files and I now get the bpm.
but I'm struggling with the song key info. (I'm new to this)

thanks

I've taken a quick look on my phone there and its seems they do have it in the API smile.gif. This will be included in the next update of the script very soon as its the most requested feature from you guys.

Thanks for pointing that out garves.


--------------------
Go to the top of the page
 
+Quote Post
stevehero
post Jan 7 2012, 04:54
Post #20


Member


Group: Full Members
Posts: 709
Joined: 3-December 10
From: Ireland
Member No.: 13334
Mp3tag Version: 2.81c



QUOTE (garves @ Jan 2 2012, 04:02) *
Beatport are now displaying the bpm and song Key info in the API..

Could you please add these tags into the next update of the script?...

I've been very busy (my apologies) so those looking for a quick fix to the BPM and INITIALKEY info. Heres goes.

The INITIALKEY tag is formatted as follows:
C Minor
C♯ Major
A♭ Minor

I have tested the special character '♭' in traktor and it shows up. Any problems for now just find where it says 'replace "1" "♭"' in the code below and change the '♭' to a 'b'.

BTW Any suggestions as to how you would like this formatted please let me know. OR maybe its fine the way it is :]

Just so I can update the next version to how you guys like it


Please place whats in italics between whats in bold in the script, like so:
# _LENGTH
outputto "_length"
findline "<trackLength>"
findinline ">"
sayuntil "</"
say "|"

# BPM
outputto "BPM"
findline "<trackBpm>"
findinline ">"
sayuntil "</"
say "|"
# KEY
outputto "InitialKey"
findline "<trackKey>"
# LETTER
moveline 2
findinline ">"
sayuntil "</"
# SHARP
moveline 1
replace "1" "♯"
findinline ">"
sayuntil "</"
# FLAT
moveline 1
replace "1" "♭"
findinline ">"
sayuntil "</"
# CHORD
moveline 1
replace "minor" "Minor"
replace "major" "Major"
findinline ">"
Say " "
sayuntil "</"
say "|"

# GENRE
outputto "Genre"
findline "<genre"


--------------------
Go to the top of the page
 
+Quote Post
garves
post Jan 8 2012, 09:10
Post #21


Member


Group: Members
Posts: 2
Joined: 2-January 12
Member No.: 15832
Mp3tag Version: 2.49a



Thanks stevehero, Key and Bpm are working great! biggrin.gif
Go to the top of the page
 
+Quote Post
stevehero
post Jan 9 2012, 21:23
Post #22


Member


Group: Full Members
Posts: 709
Joined: 3-December 10
From: Ireland
Member No.: 13334
Mp3tag Version: 2.81c



Uploaded now is the latest version of 'beatport by stevehero v1.2' scripts (see first post here for full details)

Its includes the BPM and INITIALKEY fields all you you wanted. Along with an action to change the key to the Camelot notation found in the Mixed In Key application. e.g. 'A♭ Minor' would be '1A'. This makes it much easier visually to see what tracks go with what. For all you DJs check the website on how to use this method of mixing.



--------------------
Go to the top of the page
 
+Quote Post
pinknoise
post Jan 26 2012, 07:00
Post #23


Member


Group: Members
Posts: 1
Joined: 26-January 12
Member No.: 15967
Mp3tag Version: 2.94b



Incredible update smile.gif

Registered to say thank you!

are you planning on eventually integrating the Camelot scale into the Main source script? I was trying to figure it out all day but couldn't figure out how to output the formated Key (A Minor) as a temporary value so that I could then run a couple replace actions (replace "A Minor" "8A") and then set that to the InitialKey

Any help would be appreciated!
Go to the top of the page
 
+Quote Post
chriswike
post Jan 28 2012, 02:28
Post #24


Member


Group: Members
Posts: 2
Joined: 4-March 11
From: Saint Louis, MO
Member No.: 13944
Mp3tag Version: 2.49b



Damn stevehero, this last update made my favorite Script even better....

I purchased mixed in key around a year ago and very quickly learned the importance of harmonic mixing. I stuck the Camelot wheel to the top of my controllers flight-case and after a few mixing sessions harmonic mixing was as natural as beat-matching. If there are any other DJ types here give it a shot, stevehero already did the hard part for you biggrin.gif


One Issue I'm having with the action script - the Camelot scale doesn't have a number for G# Minor, A# Minor, or C# Minor, like it does on the Circle of Fifths, so when I use the action script on say, this song it doesn't change.

The correct way to label these on a Camelot wheel is:
A-sharp Minor = B-flat Minor (3A)
G-sharp Minor = A-flat Minor (1A)
C-sharp Minor = D-flat Minor (12A)

I had a look at the Action Script and it looks like I was able to fix it by adding these to it.

CODE
[#25]
T=2
F=INITIALKEY
1=A\u266f Minor
2=3A
3=0|0

[#26]
T=2
F=INITIALKEY
1=C\u266f Minor
2=12A
3=0|0


[#27]
T=5
F=COMMENT
1=%initialkey% - %comment%

[#28]
T=4
F=COMMENT
1=^\\s+-\\s+$|\\s+-\\s+$|\\s+-\\s+\\d{1,2}[A-B]\\s+-\\s+$|\\s+-\\s+\\d{1,2}[A-B]$|^(\\d{1,2}[A-B]\\s+-\\s+)\\d{1,2}[A-B]\\s+-\\s+(\\d{1})
2=$1$2
3=0


I attached my fixed action script as well.

Again, thanks a ton for this awesome script!

This post has been edited by chriswike: Jan 28 2012, 23:40
Attached File(s)
Attached File  Key_to_Camelot_Notation.zip ( 558bytes ) Number of downloads: 621
 
Go to the top of the page
 
+Quote Post
stevehero
post Feb 1 2012, 04:12
Post #25


Member


Group: Full Members
Posts: 709
Joined: 3-December 10
From: Ireland
Member No.: 13334
Mp3tag Version: 2.81c



QUOTE (pinknoise @ Jan 26 2012, 06:00) *
Incredible update smile.gif

Registered to say thank you!

are you planning on eventually integrating the Camelot scale into the Main source script? I was trying to figure it out all day but couldn't figure out how to output the formated Key (A Minor) as a temporary value so that I could then run a couple replace actions (replace "A Minor" "8A") and then set that to the InitialKey....

Thank you 'pinknoise'. I am in the process of doing so. :]

But I need a little help first.

What I have is a list of replaces below in the test script.
CODE
# INITIAL KEY TO CAMELOT NOTATION # DO NOT CHANGE VALUES OR DELETE BETWEEN THESE LINES IF NOT NEEDED #
    replace "A♭ Minor" "1A"
    replace "E♭ Minor" "2A"
    replace "B♭ Minor" "3A"
    replace "F Minor" "4A"
    replace "C Minor" "5A"
    replace "G Minor" "6A"
    replace "D Minor" "7A"
    replace "A Minor" "8A"
    replace "E Minor" "9A"
    replace "B Minor" "10A"
    replace "F# Minor" "11A"
    replace "D♭ Minor" "12A"
    replace "B Major" "1B"
    replace "F# Major" "2B"
    replace "D♭ Major" "3B"
    replace "A♭ Major" "4B"
    replace "E♭ Major" "5B"
    replace "B♭ Major" "6B"
    replace "F Major" "7B"
    replace "C Major" "8B"
    replace "G Major" "9B"
    replace "D Major" "10B"
    replace "A Major" "11B"
    replace "E Major" "12B"
### MISSING CAMELOT SCALES ###
    replace "G# Minor" "1A"
    replace "A# Minor" "3A"
    replace "C# Minor" "12A"
# INITIAL KEY TO CAMELOT NOTATION # DO NOT CHANGE VALUES OR DELETE BETWEEN THESE LINES IF NOT NEEDED #

What I need is all the remaining Camelot notations to match the missing scales. So.....
QUOTE (chriswike @ Jan 28 2012, 01:28) *
Damn stevehero, this last update made my favourite Script even better....

One Issue I'm having with the action script - the Camelot scale doesn't have a number for G# Minor, A# Minor, or C# Minor, like it does on the Circle of Fifths, so when I use the action script on say, this song it doesn't change.

The correct way to label these on a Camelot wheel is:
A-sharp Minor = B-flat Minor (3A)
G-sharp Minor = A-flat Minor (1A)
C-sharp Minor = D-flat Minor (12A)

Thanks 'chriswike' for pointing that out. I had already noticed that but not gotten round to modifying the action which will no longer be needed once I have the script finished. I have everything working.

I just need to find out:
How you came about these values?
The other values I have noticed missing such as 'D# Minor'?
Are there other values that I should be aware of that are missing?


--------------------
Go to the top of the page
 
+Quote Post
DetlevD
post Feb 1 2012, 05:35
Post #26


Member


Group: Full Members
Posts: 6443
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.82



QUOTE (stevehero @ Feb 1 2012, 04:12) *
... I just need to find out:
How you came about these values? The other values I have noticed missing such as 'D# Minor'?
Are there other values that I should be aware of that are missing?

It sounds that You have to learn some basics of musical theory.
There are many sources to hear and read about, e. g. school lessons and ... wikipedia.

The sharp version ...
http://de.wikipedia.org/wiki/Quintenzirkel
http://en.wikipedia.org/wiki/Circle_of_fifths
Especially understand "Relation with chromatic scale" and "Enharmonics".

The flat version ...
http://www.musicians-place.de/harmonielehr...ntenzirkel.html
http://www.musicians-place.com/harmonics/c...-of-fifths.html

DD.20120201.0535.CET

This post has been edited by DetlevD: Feb 1 2012, 05:36


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
chriswike
post Feb 1 2012, 13:02
Post #27


Member


Group: Members
Posts: 2
Joined: 4-March 11
From: Saint Louis, MO
Member No.: 13944
Mp3tag Version: 2.49b



QUOTE (stevehero @ Feb 1 2012, 04:12) *
I just need to find out:
How you came about these values?
The other values I have noticed missing such as 'D# Minor'?
Are there other values that I should be aware of that are missing?

CODE
Major
1B      B/H        
2B      F#      
3B      D♭/C#    
4B      A♭/G#      
5B      E♭/D#    
6B      B♭/A#    
7B      F          
8B      C              
9B      G          
10B     D          
11B     A          
12B     E      

Minor
1A      a♭/g#
2A      e♭/d#  
3A      b♭/a#
4A      f
5A      c    
6A      g
7A      d  
8A      a
9A      e  
10A     b/h
11A     f#  
12A     d♭/c#



Basically, notes that sound the same are written differently because they have a different function beyond just sound.

http://en.wikipedia.org/wiki/Enharmonic_change

That should explain some

Please ask any questions you have about

This post has been edited by chriswike: Feb 1 2012, 13:11
Go to the top of the page
 
+Quote Post
stevehero
post Feb 1 2012, 21:31
Post #28


Member


Group: Full Members
Posts: 709
Joined: 3-December 10
From: Ireland
Member No.: 13334
Mp3tag Version: 2.81c



QUOTE (DetlevD @ Feb 1 2012, 04:35) *
It sounds that You have to learn some basics of musical theory.
There are many sources to hear and read about, e. g. school lessons and ... wikipedia.

The sharp version ...
http://de.wikipedia.org/wiki/Quintenzirkel
http://en.wikipedia.org/wiki/Circle_of_fifths
Especially understand "Relation with chromatic scale" and "Enharmonics".

The flat version ...
http://www.musicians-place.de/harmonielehr...ntenzirkel.html
http://www.musicians-place.com/harmonics/c...-of-fifths.html

DD.20120201.0535.CET

Thanks DetlevD, I have studied music production, only for a 13 weeks on a 1 week basis. Maybe I was asleep during the Music Theory class :] only joking. I got it now its basically the fact that there not listed on the Mixedinkey wheel which threw me slightly.

An example of a beatport lists a track as been in the key
D♯ Minor (Harmonic Scale) = E♭ Minor (Harmonic Scale) = 2A (Camelot Notation)

Its the same root key. Different function. Different name. Its all coming back to me now.

Here is the list I have below in the script (Should be finished tonight 01.02.2012):
replace "A♭ Minor" "1A"
replace "G♯ Minor" "1A" # SAME KEY #
replace "E♭ Minor" "2A"
replace "D♯ Minor" "2A" # SAME KEY #
replace "B♭ Minor" "3A"
replace "A♯ Minor" "3A" # SAME KEY #
replace "F Minor" "4A"
replace "C Minor" "5A"
replace "G Minor" "6A"
replace "D Minor" "7A"
replace "A Minor" "8A"
replace "E Minor" "9A"
replace "B Minor" "10A"
replace "F♯ Minor" "11A"
replace "D♭ Minor" "12A"
replace "C♯ Minor" "12A" # SAME KEY #
replace "B Major" "1B"
replace "F♯ Major" "2B"
replace "D♭ Major" "3B"
replace "C♯ Major" "3B" # SAME KEY #
replace "A♭ Major" "4B"
replace "G♯ Major" "4B" # SAME KEY #
replace "E♭ Major" "5B"
replace "D♯ Major" "5B" # SAME KEY #
replace "B♭ Major" "6B"
replace "A♯ Major" "6B" # SAME KEY #
replace "F Major" "7B"
replace "C Major" "8B"
replace "G Major" "9B"
replace "D Major" "10B"
replace "A Major" "11B"
replace "E Major" "12B"

This post has been edited by stevehero: Feb 2 2012, 04:26


--------------------
Go to the top of the page
 
+Quote Post
stevehero
post Feb 1 2012, 21:37
Post #29


Member


Group: Full Members
Posts: 709
Joined: 3-December 10
From: Ireland
Member No.: 13334
Mp3tag Version: 2.81c



QUOTE (chriswike @ Feb 1 2012, 12:02) *
Basically, notes that sound the same are written differently because they have a different function beyond just sound.

http://en.wikipedia.org/wiki/Enharmonic_change

That should explain some

Please ask any questions you have about

I think my mind had brain freeze. I have studied Electronic music Production. Problem solved. Thanks for your help.


--------------------
Go to the top of the page
 
+Quote Post
lalaland
post Feb 2 2012, 20:24
Post #30


Member


Group: Full Members
Posts: 7
Joined: 2-February 12
Member No.: 16012
Mp3tag Version: 2.49b



QUOTE (stevehero @ Oct 5 2011, 00:07) *
V1.3
ADDED: camelot notation change to INITIAL KEY field. e.g. 'G♯ Minor' becomes '1A'.

Great job, thank you! w00t.gif
But i dont see download link...

This post has been edited by lalaland: Feb 2 2012, 20:28
Go to the top of the page
 
+Quote Post

28 Pages V  < 1 2 3 4 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th May 2017 - 21:27