Cortinas V1-12

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

correohs

Re: Cortinas V1-6

Post by correohs »

Ray:

oh! ok! couple of other things....

Default settings:
Cortina OFF
Numbers of track to use for the Cortina Play-List: 1
Random for Cortina is good
Fadein time: 3

When a Cortina track is playing I’d like to see the left over time,
Or how many seconds had already passed. (related with the timer that the user has set )

At the Playing Now:
It is possible to add something like different background color or font color or italic font, bold font, starts or dashes at the beginning of the gender description, something to identify that particular track as part of the Cortina play-list
Thanks!
Murray
raybeau528
Posts: 401
Joined: Thu Sep 27, 2007 4:19 pm
Location: Connecticut

Re: Cortinas V1-7

Post by raybeau528 »

New verstion 1-7 is available. Set default setting per request and added a pop-up form with Cortina Track info as well as Cortina Time Remaining counter. Form displays only when a Cortina track is playing.
correohs

Re: Cortinas V1-7

Post by correohs »

Ray,
Thanks so much for all your help and support. Today, Just for 5 minutes I used the new 1.7 release. It looks good. Feedback for later.

Yesterday I used release 1.6 for a long time and there was a glitch again, I thought that you fixed it before, today I review the 1.7 release code, and there is something that I couldn’t find.

Maybe this will help:
(Murray, I'm not sure what the problem is...I was able to download from Mediafire just fine. I tested it. Here's the code. Just copy it to Cortinas.vbs in the mediamonkey\scripts\auto folder (overwrite existing file).)

Version 1.5 the code had these lines:

' Time interval between Cortina finishes fade-out and next track starts
Dim Gap_Timer : Set Gap_Timer = SDB.CreateTimer ( 1000 * 3)
Gap_Timer.Enabled = False
SDB.Objects("Gap_Timer") = Gap_Timer
Script.RegisterEvent Gap_Timer, "OnTimer", "Event_Gap"
Script.RegisterEvent SDB, "OnPlay", "Event_OnPlay"

. . .

Sub Event_FadeOut ( arg )

If iFadeOutCount > 0 Then
SDB.Player.Volume = SDB.Player.Volume - Volume/10
iFadeOutCount = iFadeOutCount -1
Else
SDB.Objects("FadeOut_Timer").Enabled = False
SDB.Player.stop
SDB.Player.Volume = Volume
SDB.Objects("Gap_Timer").Enabled = True
End If

End Sub

I don’t see those lines on 1.7 release, maybe you re wrote it, I don’t know. (I do not have in this pc the release 1.6 to review the code)

Tonight Tuesday, I can re-load version 1.5 to check if the glitch was gone on that version or not.
Or maybe you can duplicate the Glitch problem using version 1.6 or 1.7

My ‘Playing Now’ list is 3 songs from Master List and 1 Cortina and so on for 3 or 4 hours.
If you play just cortinas, I don’t know if you will hear the glitch, the Cortina has a fade-in. Regular set of songs should start with volume level as it was set before to play the Cortina..
------------------------------------------------------------------
At the end of the Cortina,
Fadeout to = zero.
The volume is coming back to the last level
===> sometime I got a glitch
Start playing the first track of the master list song set.
------------------------------------------------------------------

Thanks again
Murray
raybeau528
Posts: 401
Joined: Thu Sep 27, 2007 4:19 pm
Location: Connecticut

Re: Cortinas V1-7

Post by raybeau528 »

The volume thing is a little tricky. I sample the volume when MM starts but I also check it when Cortina is enabled in the event you manually change the volume when tracks are playing. On some occaisions the volume was getting set to 0 for the non-cortina track. Especially if clicked on Next right in the middle of the cortina fade-in or fade-out to play the next track. I made a couple of changes to avoid this but probably also introduced that glitch you mention. V1-7 should have taken care of that. Yes, I ommitted the gap timer code. Just extended the fade-in/fade-out for the total duration.

Are you intending to use this in a real-live Cortina ? How do you set the volume? Do you use MM or do you use your sound system? The reason I ask is I'm testing a version right now where I set the volume to a preset level. In this case I set it to .75 - 3/4 of the volume. Then I use either the windows volume controller or my amp to adjust the volume. This helps avoid any tricky volume problems. I could add an option for the % volume setting for 1-100 or just pick a pre-set ?
correohs

Re: Cortinas V1-7

Post by correohs »

Ray:
A really big audio system will be connected to the computer to play music. Normally I set the Audio system and I don’t touch it again, I just do it if I really need to.
I normally used my computer to control the audio level. With windows and / or with MM. if the solution is just to use the windows volume level, I can do it easily.

Ray you pick the solution that works best for you or the one that you like to most and I’ll adapt myself to it. I’d like to give it a try. I’ll keep sending my feedback

To have under consideration:
(you don’t need to answer these questions now; I can wait until next stage is done, because I don't know for sure how your idea will work)

- What happen if for what ever reason the MM volume is moved or somebody move it?
- Will it be a problem again?
- Will it be set one way for the whole event/night/party?
- Will you lock the MM volume completely?
- Will you add a reset button to set back volume to the original setting? The setting that the user assigned or the % that we picked

The script need to work perfectly, no margin for error should be there.
We spent a lot of time on it. The time that you put on this script is precious and so my time. If either I or any other users don’t use this script because of the glitch problem, I can say that we wasted our time. We don’t want to do that.

The script and your collaboration have been awesome

Murray
raybeau528
Posts: 401
Joined: Thu Sep 27, 2007 4:19 pm
Location: Connecticut

Re: Cortinas V1-7

Post by raybeau528 »

Murray,

The version I'm testing right now has the volume set to .75 and is working quite well. I haven't seen/heard any glitches and the fade-in/fade-out transitions seem to be fairly smooth. I ran it all night long on a large Cortina-only playlist so it followed the Cortina settings for every song. I'll upload this one which will be v1-8. If you're managing the soundstage and mixer etc. I would consider the PC with MM as a line-in device and adjust the sound system accordingly. At least for the first time. I would like to see this work flawlessly as well.

I'm curious - where are you located and when do you plan to try this live?

Ray
raybeau528
Posts: 401
Joined: Thu Sep 27, 2007 4:19 pm
Location: Connecticut

Re: Cortinas V1-7

Post by raybeau528 »

V1-8 is now available.

Ray
correohs

Re: Cortinas V1-7

Post by correohs »

Ray:
Thanks!
Tonight, I'll try version 1.8 and I'll get back to you soon. how did you set the volume? it is hard coding? or there is an option for it?

Cortina Dialog Option:
- can you add one more option? PopUp Cortina info.: on / off (default) :)

I used the script live last night, and I liked it but I heart 3 or 4 time some glitches :(
I'm in DC area, and I help and support my girlfriend who is a tango dancer.
If you are around let me know! you will be my guest :)
Where are you located at?

Where can I get more info relate to MM Scripting,
I'd like to write something but I don't know where to start for.

Murray
raybeau528
Posts: 401
Joined: Thu Sep 27, 2007 4:19 pm
Location: Connecticut

Re: Cortinas V1-7

Post by raybeau528 »

With v1-8 the volume is hard coded.
This request: PopUp Cortina info.: on / off (default) - you want to set that in the options panel? That shouldn't be too difficult.

Regarding scripting, I hadn't programmed in VBscript until just last year. I started by taking someone's very simple script and worked through it almost line by line trying to understand what it did and then modified it. The only book I got was O'Reilly's VBScript in a NutShell. I also read through the API (Wiki) to try to understand as much as I can about the different functions available. I've created many small scripts to test individual functions to see how they work. Eventually I was able to conceptualize how many of the pieces fit together. I did have some programming experience, albeit about 20 years old, which does help. I (and many others in this forum) are happy to help. Just ask questions, though I feel it would be beneficial to demonstrate that you've attempted it first! :)

I live in Connecticut - Thanks for your offer, I just may take you up on that if I'm in the area!

Ray
correohs
Posts: 12
Joined: Tue Mar 03, 2009 3:02 pm

Re: Cortinas V1-7

Post by correohs »

thanks for your help.
I'm ready to go back home, I'll test the update, and get back to you.

Ray: I just saw something, but I dont know much yet. look
I'd like to investigate this http://shatteredrealmproductions.com/Vi ... plugin.jpg
to see how does it work.
TTL
Murray
raybeau528
Posts: 401
Joined: Thu Sep 27, 2007 4:19 pm
Location: Connecticut

Re: Cortinas V1-7

Post by raybeau528 »

Murray,

You should use whatever best fits your needs!

I did add a checkbox in options to enable the pop-up form. It's in V1-9. I left v1-8 there as well.

Ray
correohs
Posts: 12
Joined: Tue Mar 03, 2009 3:02 pm

Re: Cortinas V1-7

Post by correohs »

Ray:
I tried the version 1.8 and 1.9 and the glitches every time start a new set of songs
I went back to version 1.5 where the fade-in and out are much much better. and I didn't hear any glitch at all.

so far... this one is the one that I like the most ( related to fade in and out and (no) glitches )
I should try to re-test this version and see where we at.
Murray
raybeau528
Posts: 401
Joined: Thu Sep 27, 2007 4:19 pm
Location: Connecticut

Re: Cortinas V1-7

Post by raybeau528 »

Murrary,
I've been running 1-8 and 1-9 and haven't heard any glitches. Can you describe exactly what you hear/see?

When do you hear them ? after a cortina? when a non-cortina track starts? when every track starts?
does the volume slider do anything unusual? Like jump to the setting and back down or anything like that?
What settings do you have for the cortina? What settings for the player? do you use the MM player or Winamp?
Hardware acceleration? Cross-fade? Remove silence? These settings are under Player/output plugins/configure.
Does your music have any silence at the beginning and/or end of the tracks?

Is it more noticeable because your sound system is really loud?

Ray
correohs
Posts: 12
Joined: Tue Mar 03, 2009 3:02 pm

Re: Cortinas V1-7

Post by correohs »

Ray:
version 1.5 no glitches
version 1.6 glitches now and them not too many
version 1.8 / 1.9 in each transition.

You mentioned before the way you test the script is just with cortinas.
Can you use 2 different play list? one that will be the master list and the other will be cortina play list
to send to Now Playing: just for test
I 1 song from the master and 1 from the cortina. the real setting will be 3 song per songs set and one cortina
fade in=3 fadeout=5 and cortina starting point =15 and play time= 10
just to try it

After the cortina is over. The glitch is at the beginning of the first track of the master song set.

Glitch: It repeats just a little part of the song maybe half second of the track or less I dont know. but enough to notice it
I'm at home using my headphones. and I can also hear it with my Laptop's speakers

From Media Monkey / tools / options / output configuration
Not remove Silent at the beginning and end of the song and cross fade is off.

Thanks for the follow up...
Murray
raybeau528
Posts: 401
Joined: Thu Sep 27, 2007 4:19 pm
Location: Connecticut

Re: Cortinas V1-7

Post by raybeau528 »

I have been testing it with almost those exact settings.

What I'll do tomorrow is use a program called audacity and 'record' the output to an mp3 or wave file and 'look' at the wave form to see if there's any noticeable spike. It's free, you can get it here: http://audacity.sourceforge.net/. You might want to do the same and we can compare.

Ray
Post Reply