Git Product home page Git Product logo

reaper-reascripts's Introduction

X-Raym's ReaScripts for Cockos REAPER


Pack Content

  • Scripts written by X-Raym
  • Scripts written for X-Raym
  • Scripts moded by X-Raym
  • Scripts needed for other scripts on this repository

ReaPack Download Instructions

This repository is now linked natively in the ReaPack REAPER extension, the free scripts/packages download manager made by cfillion. This means that you don't need to download and install the scripts manually anymore, you can simply use ReaPack to batch download all scripts or scripts of your choice right from REAPER! More, you will get auto-update each time your synchronize packages!

Manual ReaPack Installation

If for some reasons you deleted the link to this repo from ReaPack, you can add it back by importing the following index.xml link from the Import a repository window.

https://github.com/X-Raym/REAPER-ReaScripts/raw/master/index.xml

Manual Download Instructions

Please download the whole archive on my website → My REAPER Scripts.

If you want download scripts on this repo anyway:

  • The whole archive can also be downloaded from here by clicking on the Download Master button.
  • For one script in particular: click on one script, then click on the Raw button, then File > Save (via Menu, Right Click or CTRL/CMD +S).

Support

Please consider making a donation if you like my work and if you use some of these scripts in your projects, or consider buying some of my premium scripts. This will help me continue sharing and maintaining these scripts for free, and even code new ones.

Detailed Articles

Contributors

Helpers

reaper-reascripts's People

Contributors

abaco avatar alexhayes avatar buy-one avatar cfillion avatar gyulalaszlo avatar jalovatt avatar michaelpilyavskiy avatar nicola-lunghi avatar tauvic avatar x-raym 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  avatar  avatar  avatar  avatar

reaper-reascripts's Issues

Bug: X-Raym_Move selected tracks down on visible track list.lua can occasionally nuke folders

Hi X-Raym,

Just stumbled across a workflow that seems to cause this script to zap a folder from existence. Try this:

  1. Create 3 tracks.

  2. Name tracks 1-3 "Uno", "Dos" and "Tres" respectively (just seems easier to describe this with track names instead of numbers).

  3. Make Uno a folder, and Tres the end of the folder.

  4. Select Dos and run "Move selected tracks down on visible track list.lua". The track moves down as expected, and the end of folder is correctly reassigned to Tres, which is now track 2. But...

  5. Now select Tres and run "Move selected tracks down on visible track list.lua" again. This time, Tres moves down as expected, but the folder routing disappears entirely.

Thanks in advance if there's anything you can do to tighten this up.

Feature request for advanced workflow and tools for editing lyrics

Im working on creating karaoke style song movies for my 10 year old daughter to help her practice singing. Im looking for a solution to improve a lyrics editing workflow. Imagine you have midi notes for the melody and the lyrics in a file.

  • Organize your lyrics by seperating phrases on seperate lines (use a text editor)
  • Manually assign markers in Reaper to indicate end of each song phrase
  • Manually organize song into regions for verses, refrain etcetera
  • Import lyrics in project notes (or from text file)
  • Run script to assign lyrics for each phrase to each note in that phrase based on phrase markers
  • please note that not all notes will have lyrics
  • Use a custom toolbar to help me move and assign the lyrics within each phrase to the correct note
  • Done

Im looking for a toolbar where i can do something like

  • Move to next / previous phrase
  • Move to a specific note within the phrase (higlight the note so we can get visual feedback)
  • Insert empty lyrics (or ~) for notes without lyric text
  • Select a specific lyric
  • Move this lyric and all the following in this phrase left (or right) one note
  • Play the phrase to verify my lyrics are correct

Im also thinking how to use regions in this workflow.
I now use regios to organize the song in different parts. I would like to work on a part that contains several phrases. Then i might reuse the lyrics assigned in a part and apply the lyrics to another part with slightly different notes and timing.

Im new to Reaper Scripting so this will be hard for me to realise. So some help or suggestions are more than welcome

Bug: "Search and replace in selected active takes names" doesn't add selected item number at start or end

When you insert "/E" in the "Insert at start" or "Insert at end" boxes the script doesn't add selected item numbers but instead adds "/E".
It only works if I comment out the 3rd and 4th lines in the code block below (copied from the script):
ins_start = ins_start_in:gsub("/E", tostring(i + 1)) ins_end = ins_end_in:gsub("/E", tostring(i + 1)) ins_start = ins_start_in:gsub("/T", track_name) ins_end = ins_end_in:gsub("/T", track_name)
That of course prevents adding the track name and isn't really a solution to this bug.

Reaper hang on - Mute selected notes in open MIDI Take randomly

This script hangs when the midi clipped is pooled and playing..

The fix is a tiny one since SetNote must have the nosort option set to true.

reaper.MIDI_SetNote(take, init_notes[j], true, true, startppqposOut, endppqposOut, chan, pitch, vel, true)

When the loop that sets the notes breaks, sort the midi:

reaper.MIDI_Sort(take)

Funny enough it does not hang on non pooled midi items. I guess pooled items trigger the input sort differently somehow.

"X-Raym_Export markers and regions as Davinci Resolve EDL file" fails to import with Resolve 17

Hi,

It seems that either Davinci Resolve 17 is more particular, or Reaper has changed the output of "reaper.format_timestr_pos( ... , ... , 5).

The generated output contained timecodes of the form "0:00:00:00", however DR 17 silently failed to import them. By making the timecode four groups of two digits (into the form "00:00:00:00") it then accepts the timecodes.

An example of a valid edl marker file follows:

TITLE: Wake
FCM: NON-DROP FRAME

1  001      V     C        01:00:00:00 01:00:00:01 01:00:00:00 01:00:00:01  
 |C:ResolveColorGreen |M:Marker 1 |D:1

Cheers,
Pol.

Conditionals by envelope name should use `LocalizeString()`

Hello, thank you for providing tons of cool utilities!

I tried to use X-Raym_Set selected tempo envelope points value.lua, but nothing happened despite the tempo envelope is already selected.

I took a look into the IDE and found that env_name is set to "テンポマップ" on my REAPER v6.83 with Japanese localization.
"テンポマップ" is "tempo map" in Japanese.

So,

the env_name should be compared with reaper.LocalizeString("Tempo map", "env"), or at least reaper.LocalizeString("Tempo map", "common"), instead of bare "Tempo map".

I'm afraid that the same thing would be happening on any other scripts which detect something by name.

Decrease master playrate by 5 and 10 % makes an increase

Thanks for your scripts. It looks like
'Transport/X-Raym_Decrease master playrate by 05%.lua' is a copy of
'Transport/X-Raym_Increase master playrate by 05%.lua'

'Transport/X-Raym_Decrease master playrate by 10%.lua' is a copy of
'Transport/X-Raym_Increase master playrate by 10%.lua'

Both do an increase instead of a decrease and also have the wrong 'Undo_EndBlock' message.

Feature request support for exporting lyrics to ASS/SSA format

Im working on creating karaoke style song movies for my 10 year old daughter to help her practice singing. For that i have a need a script to export the midi lyrics from Reaper to Substation Alpha karaoke format. This format can be edited with Aegisub. Videos can be generated with Handbrake or ffmpeg. Im thinking on building one myself based on the Ultrastar export script.

Add `Set selected tracks record input to audio mono {5..16}.lua`

4 mono inputs can be set by the script below.

* [main] . > X-Raym_Set selected tracks record input to audio mono 4.lua

I have an audio interface with 8 track inputs.
I feel that if I can get up to 16 inputs, it will be fine in most cases.

  • Is it possible to add another 5-16 Inputs?
  • This is a request for another script, is it possible to add Stereo Input up to a combination of '1&2' to '15&16'?

Found an issue with creating seamless loops

Hey!

It seems like your script "X-Raym_Create seamless loops from selected items sections inside time selection.lua" doesn't work anymore since the latest Reaper update.

Whenever I use it I get this error:
"...s from selected items sections inside time selection.lua:129: attempt to call a nil value (field 'BR_SetItemEdges')"

//S

X-Raym_Export markers as YouTube timecode for video description.lua should consider a marker at 00:00

First of all, thanks for this script and so many others that I use every day. Also, your writings helped me get started in REAPER 😀

Anyway, on to the issue:

The YouTube documentation says:

To opt into video chapters, make sure that the first timestamp you list starts with 00:00. Your video should have at least three timestamps listed in ascending order. The minimum length for video chapters is 10 seconds.

So my first marker is at 00:00. But then the action doesn’t include it in the output. This is easy enough to fix by hand on the exported output, of course. But annoying.

Do you think you can fix this? I think it amounts to removing this if

Alternatively, could you please explain the reasoning behind why the script works this way?

To close, one more time: thanks for everything you do!

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.