Coder Social home page Coder Social logo

pyknon's People

Contributors

adamobeng avatar automata avatar eric-brechemier avatar fliiiix avatar kroger avatar palmerev avatar pysquared avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyknon's Issues

typo in NoteSeq class

one of the methods in NoteSeq in the pyknon.music package has what I think is a typo:
NoteSeq.stretch_in v erval(...)
when I think it should be
NoteSeq.stretch_in t erval(...)
it's a "t" instead of a "v"

volume vs velocity

i’m trying to affect each particular note’s velocity. i thought maybe you were using ‘volume’ where you meant ‘velocity’, but that appears to not be the case.

i have a loop that is generating new Note() instances, but i can’t seem to affect the velocity or volume. the result is basically the following:

Note(value=A, octave=3, volume=101)
Note(value=B, octave=5, volume=68)
Note(value=E, octave=4, volume=86)
Note(value=C, octave=5, volume=71)
Note(value=E, octave=3, volume=104)
Note(value=B, octave=5, volume=65)
Note(value=C, octave=3, volume=85)
Note(value=A, octave=5, volume=74)

however, when the midi file is written out (see attached) and opened in Logic Pro X all the notes are correct, however they all have a velocity of 120 and no indication of change in volume anywhere.

where is the velocity being set to a value of 120? and where is the volume value being used?

tracks.mid.zip

Add abc notation

Thank you for creating this great package!

I did some experiments with the current notation for creating music. It works well, though it doesn't seem very intuitive as the note octave is dependent on previous modifiers.

Is the abc notation within the scope of this package? (maybe adding it as an alternative notation?)

Playing on the fly

Hi,

I am using Pyknon for a project, where I don't want to waste time with I/O, and hence do not want to write the Midi data into a file before using Pygame to play it. Is there any way for Pyknon to play the Midi object directly?

This is also a consideration because I plan to do this repetitively. Thanks for your reply.

Multiple Instruments doesn't work?

I am trying to make a multi-track MIDI file using a different instrument per track using the following code:

midi = Midi(2, tempo=100, instrument=[5,117])
midi.seq_notes(obs_notes, track=0)
midi.seq_notes(day_beat, track=1)
midi.write("temps.mid")

Both tracks play instrument 117, instead of track 0 playing instrument 5. Is this expected? Is my code correct? Or is this an issue? Thanks so much!

MIDI with octaves not working?

MIDI with octave specification (or maybe NoteSeq itself) or something else is broken.

For example, using the demo in the README creates a midi file that plays back with all notes in octave 4, whereas I would expect to hear the F# in octave 8.

Am I missing something, or is it truly broken?

Is it possible to harmonize a melody generated from a sequence of numbers?

I found that c.harmonize() returns the chords from a given note.

My question is if there is a way to generate chords to harmonize a given sequence of notes (melody) automatically in Pyknon?

For instance, a sequence of Fibonacci as a melody, looking for a function to automatically harmonize it, so that the pieces sound more beautiful?

Thanks.

microtonal branch

The branch 'microtonal' has a few small changes that look like they're ready to merge to the master branch, and would be really useful! I plan to use this library in teaching, and it would be great to have the microtonal changes added to the main branch.

what happened to this project?

this project seems really cool.

i'm sad its not maintained anymore. does it live on in any form?

which other musical programming language / framework / library would you recommend ?

Chords?

Is there any plan to add chords?

Also harmonize() for Note and NoteSeq classes appears to be broken

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.