Can i record music in a music beat box and play it up again and save it.

samnextsamsamnextsam Member Posts: 33
HI
Can i record music in a music beat box and play it up again and save it.

Best regards Sam

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hi Sam, there's no music or sound recording capabilities built into GS, if that's what you mean. Although you can save attributes to trigger certain music you've already stored in GS, like a playlist order, for instance. Hope that helps.

    :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • samnextsamsamnextsam Member Posts: 33
    HI
    Okay thank's :)
    Do you have a idea how i could do that ?
    Regard's Sam
  • old_kipperold_kipper Member Posts: 1,420
    If you were to layout some kind of grid that allowed the user to trigger sounds as some indcator moved across the grid, each position in the gird would be actually turned on by referencing an attribute value. These attributes would be set as on/off by touch to an actor or monitoring the position of a touch on the screen. It would be done this way so when you stored the state of the attribute it could set the switch on/off when loaded from a save. I did it this way and changed the transparency of the actor when it was set on or off.

    Be careful with just how many points you have on the grid as the app may reach the memory limits and crash (I had a 16by 8 gird for iPad and things went belly up when about half the grid was switched on). You may also use a numbering scheme for the various combined on/off states rather than booleans as this will reduce the number of attributes you have to store and load.

    Hope this helps

    Kipper
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Several ways: one way would be (example based on 5 tracks):

    • Put your music into GS

    • make boolean attributes Track1chosen, Track2chosen, etc

    • 5 integer attribnutes T1Num, T2Num, etc

    • 5 integers Track1Length, Track2Length, etc with the actual length of each track

    • Integer WaitTime

    • Make 5 buttons marked with your music titles and images perhaps, put them in the scene

    • Make 5 actors put next to each track on the scene with Display Text = T1Num (via the Expression Editor), T2Num, etc

    • in first button's Rules put:

    When touch is pressed
    When Track1Chosen is false

    change attribute T1Num to TrackNumber +1
    change attribute WaitTime = WaitTime + Track1Length
    change attribute Track1Chosen = true

    ETC, put that in the other 4 tracks' Rules, changing numbers accordingly.

    • make a play button, in it's Rules put:

    When T1Num = 1
    Play Music --- name of track 1

    When T1Num = 2
    Timer After WaitTime
    Play Music --- name of track 1

    ETC........ up to 5

    You can save using the Save attributes and load using Load Attributes, but maybe need different slots to save different version/orders.

    Hope that helps.

    :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • samnextsamsamnextsam Member Posts: 33
    Thank's fore the help :)
    Regard's Sam
  • samnextsamsamnextsam Member Posts: 33
    HI i tried that but it dose not work ?
    If it is not to difficult do you think that you maybe can post a picture how it should look like maybe :)

    Regard's
    Sam
  • FranzKellerFranzKeller Member Posts: 517
    drum machines rule!
Sign In or Register to comment.