easy? question about note-offs.
hi all –
i’m trying to assign random velocities to notes without messing up the note-off messages and having a difficult time, especially when chords come into the picture. attached is my flawed approach. i know there is something simple that i’m missing here, i just can’t place it..
does this work ?
-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 697.3ocyW9saZCCEF+5vSgkubigrc9a2cauFSSSFhg5tDmnDSGaU8cew1gAk RBNk0SqDPvm3j74e9KGe7CyBvKq1IZwnOi9FJH3gYAA1Pl.A8sCvk7cqJ3s1 tgUheUs7N7b2ozhcZa3kH59XpskRUgPa6O8Pvps5SittRoak+QXiwVP5C65o 920BmxvK4pMXz26OcMWu5VoZyOZDqztdPCi6tZDiFYOjZ+krf7uqQlakYmz+ TB9nmthWZeH3uzH4EXyIdb1LyOyuNfTyW8SDAQNKUX9SExvTYThDGZXPXzMl Cwl6BhlcdfPiGlHnuVUj+RvRonskuQ7Lt7lAjaRWD2YJ54ByzflL.PhdE.x. 9jVQwjLIrIxD6qNyu.a5e8g1CmvQcKL3fyGGHqx+G6hTo8JoRJ4HKyPTgBGU 1pbIWVz8YBIcmpyYcQEWarNt+LJoH1Lto1jMIYiZeHvApOfnj2d+SHI4x9mL 3nRCWkWU9t.MrPqWIgNliIFNzTJykqqZJM99yvlTPXCKKyszMyRExnqcGAKb p4MshIjyIcpqfO+vWCmN6gQgWjMSjagrKvtPXYW2fcBjiLN4Fw2jZqA1wggF 5LXG5R00t4fqIWSZ79sCzgkwqDdBXwd83Bo5z8OYkfI9SYUa01lU60b+9PPG TQtnUKUbsrRcTeheRetUlmKTG6Nxks7kEB6Hfb14LeUiorND8BxIAN4P7PNV MCidx7XxxrOpiz7qobh8QNTvnSjGxAt4pPOrNQfMUYTCyC0v.SMgdnlPvTSj GpIBL0D6gZhASMIdnlDvTyES3Pfa4AeR.FAmbhdes7vIKLNfd.jOTOzSFrEW 30zEP5wC4D9BUiqLUdc88hl19aoUHcEueWUioYxbaSox0zV+MtQbube+CsQ3 McUVq6Jqdaiqt3cYIcED28bdb1eA1yygrB -----------end_max5_patcher-----------
a bit – but it still struggles with chords a bit.. maybe this is a job for borax?
hm, this is odd. Your thing should have worked as well as mine in fact. You could try something with borax but it will maybe be complicated?.. You don’t have any midi problem with chords, when you don’t use that thing ? try linking directly a midiparse to a midiformat ? i don’t think it will change anything, but try placing integer 0’s in place of floating point 0’s in your unpack ? this looks like a midi specific timing related issue…but really, it should not be harder than that…
I think the problem is that individual chord notes are played with different velocities which sounds odd. For playing the chord notes with equal velocity you need to collect them using eg. the [thresh] object.
well, i’m actually using the velocity information for sample-triggering, rather than volume.. but i bet the thresh object will solve this problem…
Forums > MaxMSP