Results 1 to 24 of 24

Thread: Μ2000 Interpreter with Greek and English commands

Hybrid View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    May 2014
    Location
    Kallithea Attikis, Greece
    Posts
    1,309

    Re: Μ2000 Interpreter with Greek and English commands


    This was recording with Kazam, in Ubuntu Studio, and M2000 was running in a VirtualBox. The sound is not so good. Maybe I will find later what is going wrong. I change the music score, and I choose a longer beat duration (2 seconds for 1/1 note). Also i put an overlay title from OpenShot.

    (trimming from first message)
    with the example "some" you can do another example in a module BB you can write that (module some is that on the video, and below in the code box)
    So when BB run, a new module defined the pl and an new thread with handler kk, and then we call SOME (which this module has a MAIN.TASK loop as a leader thread, plus another thread that writes some graphics in the screen). Then you see a blinking number, and that is the running thread from the calling module, and you hear music (terrible I am not a musician), and that music restart after finish. When you press mouse button, the MAIN.TASK complete, and the module SOME terminate, but the wait command allows thrεad on BB to run. After the waiting of 2 seconds, and printing numbers to the screen, the KK thread terminate, but the music threads terminated when all scores time expire.
    "thread this erase" is a command from a thread to kill itself...without knowing the number of this thread handler!

    Code:
    module pl {
    SCORE 3, 1000, "C5F#@2B@2C5F#@2B"
         SCORE 1, 1000, "D@2E@2C#3 @2D5@2V90 @3F#4V127"
                        '/ C C# D D# E F F# G G# A# B
                        '/
         PLAY   1, 19, 3, 22  ' VOICE, INSTRUMENT
         }
         pl
    i=0
    thread { i++
    print i
    if not playscore then pl
    if i>999 then thread this erase } as kk
    thread kk interval 25
    SOME
    wait 2000
    Last edited by georgekar; Jun 2nd, 2014 at 08:05 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width