Shop OBEX P1 Docs P2 Docs Learn Events
Need Examples codes — Parallax Forums

Need Examples codes

wb7076wb7076 Posts: 29
edited 2010-01-06 22:37 in Propeller 1
I'am trying to make my own drum machine. i need some example code so i can learn how to do this.
ive come up with this write up of where iam going with it. any one give me a hand.
514 x 576 - 41K
Dh1.png 40.5K

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2010-01-06 17:36
    Browse through the Object Exchange. There are WAV players, display drivers, SD card I/O drivers, etc. Pick the pieces that sound like they may be useful, then try them out. Most come with demo programs to show how they might be used.
  • Bill HenningBill Henning Posts: 6,445
    edited 2010-01-06 17:41
    Is this a school/homework assignment?
    wb7076 said...
    I'am trying to make my own drum machine. i need some example code so i can learn how to do this.
    ive come up with this write up of where iam going with it. any one give me a hand.
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.mikronauts.com Please use mikronauts _at_ gmail _dot_ com to contact me off-forum, my PM is almost totally full
    Morpheusdual Prop SBC w/ 512KB kit $119.95, Mem+2MB memory IO board kit $89.95, both kits $189.95
    Propteus and Proteus for Propeller prototyping 6.250MHz custom Crystals run Propellers at 100MHz
    Las - Large model assembler for the Propeller Largos - a feature full nano operating system for the Propeller
  • wb7076wb7076 Posts: 29
    edited 2010-01-06 18:42
    no not for school a hobby, i am trying to bond with my step son he's 13 loves the drums. can you help? iam finding it difficult to grasp the concept of what to do. the examples in spin are cool. but very limited. the manual is awesome! but feels like it wasn't enough concept wize. i've bought, 2 propeller boards, a developement board, chips, and more. Iam getting nervous that i wasted my money and time with this chip, and now i have to spend more money to buy another development board. any help? books i should check out ? links?
  • CassLanCassLan Posts: 586
    edited 2010-01-06 18:52
    wb7076 said...
    no not for school a hobby, i am trying to bond with my step son he's 13 loves the drums. can you help? iam finding it difficult to grasp the concept of what to do. the examples in spin are cool. but very limited. the manual is awesome! but feels like it wasn't enough concept wize. i've bought, 2 propeller boards, a developement board, chips, and more. Iam getting nervous that i wasted my money and time with this chip, and now i have to spend more money to buy another development board. any help? books i should check out ? links?
    Welcome!! You didn't waste any money, sounds like you have most if not all of what you need to get started.

    From your write up it seems there are a few pieces to this project, you should start with one piece, then build on in after your solid on that.
    I would suggest the display as a good starting point, what kind of display did you plan on using? TV, VGA Monitor, LCD?

    Also what hardware (prop boards etc) do you have?

    Rick

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    NYC Area Prop Club

    Prop Forum Search (Via Google)

    ·
  • Bill HenningBill Henning Posts: 6,445
    edited 2010-01-06 19:00
    Glad to hear you are trying to get your step son into computers smile.gif

    I STRONGLY recommend going through the labs in the PE Kit manual, they will teach you all you need to do.

    Instead of touch pads for the drums, initially just use pushbuttons, you can get fancier later.

    Use existing objects at first to play back WAV's, later use the SID object to synthesize the drum sounds.

    Start with TV_Text for TV output, and the keyboard object for keyboad input.

    And welcome to the Propeller [noparse]:)[/noparse]
    wb7076 said...
    no not for school a hobby, i am trying to bond with my step son he's 13 loves the drums. can you help? iam finding it difficult to grasp the concept of what to do. the examples in spin are cool. but very limited. the manual is awesome! but feels like it wasn't enough concept wize. i've bought, 2 propeller boards, a developement board, chips, and more. Iam getting nervous that i wasted my money and time with this chip, and now i have to spend more money to buy another development board. any help? books i should check out ? links?
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.mikronauts.com Please use mikronauts _at_ gmail _dot_ com to contact me off-forum, my PM is almost totally full
    Morpheusdual Prop SBC w/ 512KB kit $119.95, Mem+2MB memory IO board kit $89.95, both kits $189.95
    Propteus and Proteus for Propeller prototyping 6.250MHz custom Crystals run Propellers at 100MHz
    Las - Large model assembler for the Propeller Largos - a feature full nano operating system for the Propeller
  • TonyWaiteTonyWaite Posts: 219
    edited 2010-01-06 19:06
    Hi,
    You've made a great choice with the Prop!
    There are many brilliant sound-synthesis tools in the Obex to get started with and to whet your
    appetite.
    Stick with us and you will get there much faster than by any other route. The kit is good, but the _advice_
    from this forum makes all the difference.
    T o n y
  • wb7076wb7076 Posts: 29
    edited 2010-01-06 19:28
    thanx's. iam going lcd. i bought the serial 2 line lcd for parallax

    is thier any books i should read to make me better at spin, i bought c, python, pbasic. but the prop chip is a different beast. by the way i didn't learn any of those languages
    . just know little parts of them. when i learned electronics they tough us how to fix tv's becouse they contain every possible circuit in electronics. made it a great starting place. where is that starting place in programing?
  • CassLanCassLan Posts: 586
    edited 2010-01-06 19:43
    The starting place is almost evey language is having "Hello World" on your display.
    With Microcontrollers most would say its having an LED blink. You can do both [noparse]:)[/noparse]

    I would suggest getting your LCD working as a good starting point, have it display #'s, Words etc.

    I think once you start working with it a little, you will understand it better, and the manual will become more usefull.

    What other hardware do you have?

    Rick

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    NYC Area Prop Club

    Prop Forum Search (Via Google)

    ·
  • wb7076wb7076 Posts: 29
    edited 2010-01-06 20:15
    i dont think you get what i mean. i get "hello world", I need more complicated well explained examples that are well written. all the code in the cool projects have no code to view and i have no teacher. i need some good reading that teaches.

    i own

    arduino 328 sheild x2
    ardunio ethernet shield
    yb0x2
    basic stamp development board
    boe bot
    parallax usb scope (black one)
    servos ,stepper motors
    light to freq chip
    1602 x4
    fm transmitters
    gps modules
    lots of stuff even bought the sx chip a while back.
  • wb7076wb7076 Posts: 29
    edited 2010-01-06 20:20
    just talking to you guys has cleared my vision and tough me how to connect those missing dots. thank you all
  • mparkmpark Posts: 1,305
    edited 2010-01-06 22:37
    Keep us apprised of your progress. I like Prop+music projects so I'd love to see what you come up with.
Sign In or Register to comment.