• Lucid Dreaming - Dream Views




    Results 1 to 25 of 28
    Like Tree2Likes

    Thread: Ask me about Python

    Hybrid View

    DrunkenArse Ask me about Python 09-30-2010, 08:12 AM
    mattbrox Okay this is just a simple... 09-30-2010, 09:06 AM
    DrunkenArse Python is an easier language... 09-30-2010, 09:47 AM
    DrunkenArse According to this site... 09-30-2010, 12:49 PM
    ninja9578 Is it possible to shut off... 10-01-2010, 05:20 PM
    DrunkenArse Professionals don't hate... 10-01-2010, 10:43 PM
    ninja9578 No I wasn't; I was... 10-02-2010, 03:55 AM
    DrunkenArse What I don't get is why C++... 10-02-2010, 04:29 AM
    DuB I need to write a python... 10-01-2010, 08:50 PM
    DrunkenArse I haven't done any audio... 10-02-2010, 12:50 AM
    DuB Thanks, I'll look into pyo. ... 10-03-2010, 10:19 AM
    Xei Where'd my damn post go? 10-02-2010, 01:15 AM
    DrunkenArse Seriously. You've been around... 10-02-2010, 02:19 AM
    Xei It was a joke. Monty Python?... 10-02-2010, 12:45 PM
    DrunkenArse Hey, I said I knew python ;)... 10-02-2010, 01:21 PM
    Xei I don't think jokes should be... 10-02-2010, 01:48 PM
    Jorge What does it do? And how can... 10-04-2010, 04:32 AM
    DrunkenArse it's a programming language.... 10-04-2010, 06:53 AM
    ninja9578 C++ is not loosely typed,... 10-14-2010, 02:25 PM
    DrunkenArse Of course polymorphism isn't... 10-14-2010, 02:40 PM
    ninja9578 You are confusing terms. ... 07-20-2011, 04:49 PM
    khh I was looking for some python... 07-19-2011, 12:06 PM
    DrunkenArse It's kinda tough for me to... 07-19-2011, 11:33 PM
    DrunkenArse Oh yeah. I just remembered... 07-20-2011, 02:46 AM
    DrunkenArse Damn I'm rusty. I wouldn't... 07-20-2011, 08:29 PM
    khh Thanks, it looks like it's... 07-23-2011, 11:45 AM
    1. #1
      Rational Spiritualist DrunkenArse's Avatar
      Join Date
      May 2009
      Gender
      Location
      Da Aina
      Posts
      2,941
      Likes
      1092
      Quote Originally Posted by DuB View Post
      I need to write a python program soon which generates simple musical sequences (monophonic) in real-time according to various parameters. Tone quality is not essential but reliability and efficiency are (and ease of use is a bonus). Do you have any recommendations on libraries etc.?
      I haven't done any audio programming but it looks like pyo is your best bet. It's written in C so it should be very low overhead to call into. If you write correct python code, then efficiency and reliability shouldn't be a problem. I can surely help with that but It's hard to say more without knowing what your parameters are and how they map to output.
      Last edited by PhilosopherStoned; 10-02-2010 at 12:53 AM.
      DuB likes this.
      Previously PhilosopherStoned

    2. #2
      DuB
      DuB is offline
      Distinct among snowflakes DuB's Avatar
      Join Date
      Sep 2005
      Gender
      Posts
      2,399
      Likes
      362
      Quote Originally Posted by PhilosopherStoned View Post
      I haven't done any audio programming but it looks like pyo is your best bet. It's written in C so it should be very low overhead to call into. If you write correct python code, then efficiency and reliability shouldn't be a problem. I can surely help with that but It's hard to say more without knowing what your parameters are and how they map to output.
      Thanks, I'll look into pyo.

      To answer your question about the parameters I'm planning on using, I recently wrote a very brief paper (~1500 words) for some of the faculty in my department which summarizes the experiment I'll be using the program for. I think it offers enough detail to give a sufficient picture of the kind of requirements I'm looking at. As a one-line summary, it is meant to investigate a potential feature of musical melodies which causes people to judge them as interesting and/or pleasing. That's right, we're doing science on music now, bitches; nothing is sacred. Anyway, I've uploaded a PDF of the paper here, to a site called filedropper.com, which I've never used before. Let me know if you have any problems accessing the paper.

    Similar Threads

    1. Pass Variables Between JavaScript and C++/Python?
      By youssarian in forum Tech Talk
      Replies: 6
      Last Post: 01-12-2010, 04:27 AM
    2. Halp! (Python)
      By ThreeLetterSyndrom in forum Tech Talk
      Replies: 5
      Last Post: 06-23-2009, 09:43 PM
    3. Tell me about Python
      By DuB in forum Tech Talk
      Replies: 9
      Last Post: 04-29-2009, 04:55 PM
    4. Python Reality Check Tester
      By Wesley_Gray in forum Lucid Aids
      Replies: 10
      Last Post: 08-01-2008, 02:16 AM
    5. Fav Python Quotes
      By Mystical_Journey in forum The Lounge
      Replies: 20
      Last Post: 05-12-2005, 09:50 PM

    Bookmarks

    Posting Permissions

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