Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER General Discussion Forum

Reply
 
Thread Tools Display Modes
Old 06-27-2017, 03:54 PM   #1
arneka
Human being with feelings
 
Join Date: Jun 2017
Posts: 6
Default How can I export the Length of Midi Notes from the event List?

Hey dear Reaper-Community,

I am working with Frequency to Midi for a composition and now I need the total lenght of every note (when a certain note appears x times, I sum the different lenghts up.)
In the end I need for every note a number, how long it was sounding.

I think the most easy way is to do the calculation external? but for that I need the numbers. It could be so easy but I can't just copy it from the event list, or am I doing something wrong?
I could use the raw midi data, but then there is one extra step, because there isn't the lenght directly shown. And I am a little bit confused, because sometimes the numbers for the pitch are like "4A" for example.

Can someone give me any advice?

This would be so nice! Thank you very much!!
arneka is offline   Reply With Quote
Old 06-28-2017, 01:13 AM   #2
Nip
Human being with feelings
 
Join Date: Jun 2010
Location: Sweden
Posts: 1,541
Default

It's a new approach so forgive me if I get it wrong.

Piano roll would show notes where they start and stop.

If anything overlapping and getting unwanted legato stuff - is that what you try to avoid?

I think it is easy to just remove notes not wanted in prv and extend the one left to last end position of last note.
__________________
-- Windows 11 Pro, i7-12700F 2.1GHz 32G, RME Digiface USB Audient ASP800 Lexicon MX200, Reaper 4.78 --
Nip is offline   Reply With Quote
Old 06-28-2017, 01:55 AM   #3
arneka
Human being with feelings
 
Join Date: Jun 2017
Posts: 6
Default how to copy/export values from midi event list

Hey People,

I already asked this, but I hope my question is more clear now:

Is there a way to copy/export all values of one parameter (in my case "lenght") from the midi event list? It seems, like I can only copy one value a time.

I need the values to do some calculations with them.

I would appreciate any help! Thank you very much!!
arneka is offline   Reply With Quote
Old 06-28-2017, 02:00 AM   #4
arneka
Human being with feelings
 
Join Date: Jun 2017
Posts: 6
Default

Hey Nip,

thank you very much for your answer. I need the values to do some calculations with them. strange contemporary music stuff

I wrote the question again, I hope it is more clear this time?
arneka is offline   Reply With Quote
Old 06-28-2017, 06:14 AM   #5
RobU
Human being with feelings
 
RobU's Avatar
 
Join Date: Sep 2009
Posts: 863
Default

Quote:
Originally Posted by arneka View Post
Hey Nip,

thank you very much for your answer. I need the values to do some calculations with them. strange contemporary music stuff

I wrote the question again, I hope it is more clear this time?
Hello and welcome

Try this: https://stash.reaper.fm/v/31016/getnotes.lua

Download the script, and run it from the MIDI Editor
Actions / Show action list... / ReaScript - Load (select file)... then Run

It will print all notes in the editor to the Reaper console. You can cut and paste from there

Hope that helps, but let me know if you get stuck

Cheers
Rob
__________________
Return of the Dub Cadet - https://open.spotify.com/album/2t98A...lQ&dl_branch=1
RobU is offline   Reply With Quote
Old 06-28-2017, 07:38 AM   #6
Outboarder
Human being with feelings
 
Outboarder's Avatar
 
Join Date: Feb 2014
Posts: 834
Default

Quote:
Originally Posted by RobU View Post
Very good, Thank you sir
__________________
Outboarder Scripts
Outboarder is offline   Reply With Quote
Old 06-28-2017, 01:33 PM   #7
arneka
Human being with feelings
 
Join Date: Jun 2017
Posts: 6
Default

Quote:
Originally Posted by RobU View Post

Hope that helps, but let me know if you get stuck

Cheers
Rob
Rob, thank you so much!
That is exactly what I needed. So nice! Life can be beautiful.
arneka is offline   Reply With Quote
Old 12-05-2022, 06:57 AM   #8
abnegative
Human being with feelings
 
Join Date: Sep 2022
Posts: 222
Default

Quote:
Originally Posted by RobU View Post
Hello and welcome

Try this: https://stash.reaper.fm/v/31016/getnotes.lua

Download the script, and run it from the MIDI Editor
Actions / Show action list... / ReaScript - Load (select file)... then Run

It will print all notes in the editor to the Reaper console. You can cut and paste from there

Hope that helps, but let me know if you get stuck

Cheers
Rob
Thank You!
abnegative is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:55 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.