C# library for reading, writing, and manipulating MIDI (*.mid) files.
stephentoub / midisharp Goto Github PK
View Code? Open in Web Editor NEWC# library for reading, writing, and manipulating MIDI (*.mid) files.
License: MIT License
C# library for reading, writing, and manipulating MIDI (*.mid) files.
License: MIT License
Note 60 is C4, but in your library they said it is C5.
Not only C, but also other pitches have one more octave.
Could you check this one?
I wasn't sure how to email you to thank you for making this library so I will just post it here. I used the library code to create a web app that generates riff's where you can download the midi file and import it into any Digital Audio Workstation (DAW) or Guitar Pro for that matter. It was a fun little project and I wouldn't have been able to accomplish without your code. So thank you.
If you'd like to check it out it's located at: http://tuneis.ddns.net
I put a reference to your repository in the footer.
Is there a way to manipulate tempo?
Loving this midisharp reader!
I am trying to get the length of a miditrack, so am grabbing the EndOfTrackMidiEvent (which exists in the track), however the deltaTime is always zero.
Not sure if it is intentional, but hoping to somehow get the position of the EndOfTrackMidiEvent , or is there currently any to get the full length of a track?
Hi Stephen! I'm embedding this lib into my midi-related project, and I came up with the need to render a timeline of events from a midi file. This is easy if the midi file is timestamp-based, but for bpm-based timing it gets tricky, especially if tempo changes throughout the file. I think it would be great if a function is added to convert MidiSequence timing format from ticks to absolute timestamps. I understand this is a lossy operation, but still a great feature is some cases. If I happen to do this myself I will submit a review, though I'm not sure I'll be able to make this in a robust fashion. At least sharing the idea is already a good step :)
Thank you for sharing this library. For my current use case, this looks like a good foundation to start building upon. Would it be possible to expose a nuget package for the library? Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.