Page 1 of 1

The Gambas Intro Music

Posted: Sunday 04th April 2021 9:47am
by stevedee
I must admit that the musical intro from the first Gambas screen freaks me out a bit...I always wonder where it is coming from.

I know it plays on Christmas day and Easter Sunday; has anyone noticed it on other days of the year?

Re: The Gambas Intro Music

Posted: Sunday 04th April 2021 1:31pm
by cogier
So that was what it was!

Re: The Gambas Intro Music

Posted: Monday 05th April 2021 1:22pm
by BruceSteers
stevedee wrote:
Sunday 04th April 2021 9:47am
I must admit that the musical intro from the first Gambas screen freaks me out a bit...I always wonder where it is coming from.

I know it plays on Christmas day and Easter Sunday; has anyone noticed it on other days of the year?
i've seen the code.
25 Dec
15 Aug (Assumption day)
Easter and Easter + lent

  dNow = Date(Now)
  'dNow = Date(2020, 12, 25)
  iYear = Year(dNow)
  dEaster = Date.EasterDay(iYear)
  
  If dNow = Date(iYear, 12, 25) Then
    sPlay = "bells.mp3"
  Else If dNow = Date(iYear, 8, 15) Or If dNow = dEaster Or If dNow = dEaster + 39 Then
    sPlay = "spiritus.mp3"
    bHasTear = True
  Else
    Return
  Endif




Re: The Gambas Intro Music

Posted: Saturday 10th April 2021 12:37am
by Technopeasant
Yeah, it can be a little startling at times.