Main siteMain site  ForumForum  ForumSearch  Private messageEmail contact  RegisterRegister  Log inLog in 
Topic: How do I generate desired MIDI ouput based on a parameter?
Reply to topic
Author Message
Jaxom



Joined: Jun 13, 2015
Posts: 11

PostPosted: Nov 15, 2024 2:03 AM    Post subject: How do I generate desired MIDI ouput based on a parameter?

I have a parameter A varying continuously (i.e., not stepped in value, and also not pulsed in time) from 0 to 10, which is output from an expression evaluator.

I want a MIDI to emit a 0.1 second piano tone every second, where ...

* at A=10 the pitch is C4/C' (the C above middle C), and the volume is X

* at A=0 the pitch is middle C, and the volume is Y

* between A=10 and A=0, the volume varies continuously, and the pitch varies incrementally (note by note, white keys only), linearly with the changes in A.

How do I get from here to there? What's the setup, i.e., what's the MIDI configuration and what are the elements, and their connections and configurations, between the expression evaluator outputting A and the MIDI outputting the sound?

Thank you.

Jaxom
Jaxom



Joined: Jun 13, 2015
Posts: 11

PostPosted: Nov 15, 2024 4:17 PM    Post subject: Modification of my request re. parameter-based MIDI

If you want to tackle my request (thank you!) but haven't started yet, I've reformulated it here to make it more generic. Now your solution could be adapted by almost anyone to their own situation.

My modified request . . .

I have a parameter X varying continuously (i.e., not stepped in value, and also not pulsed in time) between values lower limit A and upper limit B, which is output from an expression evaluator.

I want a MIDI to emit a 0.2 second piano-note tone every second, where ...

* at X=A the pitch is middle C, and the volume is M

* at X=B the pitch is C4/C' (i.e., the C above middle C), and the volume is N

* between X=A and X=B, the volume varies continuously, and the pitch varies incrementally (note by note, white keys only), linearly with the changes in X.

How do I get from here to there? What's the setup, i.e., what's the MIDI configuration and what are the elements, and their connections and configurations, between the expression evaluator outputting A and the MIDI outputting the sound?

Thank you.

Jaxom
Reply to topic