Giter Site home page Giter Site logo

armenag / improvisation Goto Github PK

View Code? Open in Web Editor NEW
133.0 133.0 15.0 8.61 MB

A program that learns music structure of given midi files and able to generate new melodies by judmental of other compositions. E.g. generate melody in style of Armstrong as negatively judged by Eminem and positively by Bach.

License: Other

C# 100.00%

improvisation's People

Contributors

armenag 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

improvisation's Issues

can't play audio

Sanford.Multimedia.Midi.OutputDeviceException: 'The specified device handle is invalid.'
this appears as an error when i click on the generated melody

Not x64

Any reason why you have "prefer 32bit" enabled in the build options?

I set the architecture to 64bit and built fine, it's now processing much faster too. Just curious if there was a reason why you were only building for 32 bit.

"Load Okay" button retrieves the wrong file names

FinalUICreateNN::loadOkayButton_Click will set "this.okayFiles" to all file names selected from the OpenFileDialog. However, the call to add to "this.okayMidiFilesListView.Items" says to add all the things from "this.files" which is used for the "this.midiFileListView" List Box.

private void loadOkayButton_Click(object sender, EventArgs e)
    {
        OpenFileDialog openFileDialog1 = new OpenFileDialog();

        openFileDialog1.Filter = "Midi Files (*.mid)|*.mid";
        openFileDialog1.Multiselect = true;

        DialogResult result = openFileDialog1.ShowDialog();

        if (result == DialogResult.OK)
        {
            this.okayFiles = openFileDialog1.FileNames;

            try
            {
                // Here is the issue! It should be using "this.okayFiles.Select(..."
                this.okayMidiFilesListView.Items.AddRange(this.files.Select(x => new ListViewItem(FinalUIHelperMethods.FileFriendlyString(x))).ToArray());
            }
            catch (Exception ex)
            {
                MessageBox.Show("Could Not Load Midi Files", ex.Message);
            }
        }
    }

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.