Git Product home page Git Product logo

otomadhelper's Introduction

  • 👋 Hi, I’m Ranne (@otomad).
  • 👀 I’m interested in Ancient Chinese Characters Research, Ancient Chinese Cultural Customs Research...
  • 🌱 I’m currently learning Mathematical Principles of Calculus, Probability Theory and Mathematical Statistics, Signals and Systems, Microwave Technology and Antennas, Optical fiber mobile communication principle...
  • 💞️ I’m looking to collaborate on Web and App User Interface Design, Video and Animation VFX Production, Music Arranging and Mixing, Font Style Design, Embedded Technology Development...
  • 📫 How to reach me? You can reach me on Twitter and Discord (@Ranne#5774).

count
Visitor count
Otomad's github stats
Top Langs contributions


OS

IDE

Language

Platform

Tools

Proficient



otomadhelper's People

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

otomadhelper's Issues

Optimize MessageBox for customize

Image

The WinForm default MessageBox cannot change the font, so in some languages, characters may not display properly or the text may extend beyond the buttons.

Script not working on Vegas Pro 20

I have Sony Vegas pro 20, but when I try to execute the script, it crashes the entire program. I tried tweaking with MiDi settings in both FL Studio and the script UI.

在Vegas 17下通过 工具--脚本化中选择OtomadHelper时报错

如题,已解压OtomadHelper对应版本至脚本目录下,已安装数据抹失扩展包

Vegas提示:错误:未知异常
详细信息:
System.ArgumentNullException: 值不能为 null。
参数名: v1
在 System.Version.op_LessThan(Version v1, Version v2)
在 Otomad.VegasScript.OtomadHelper.V4.ConfigForm..ctor(EntryPoint entryPoint) 位置 c:\Users\Administrator\AppData\Local\Temp\5g1gaqv4\5g1gaqv4.0.cs:行号 26013
在 Otomad.VegasScript.OtomadHelper.V4.EntryPoint.ShowConfigForm() 位置 c:\Users\Administrator\AppData\Local\Temp\5g1gaqv4\5g1gaqv4.0.cs:行号 285
在 Otomad.VegasScript.OtomadHelper.V4.EntryPoint.FromVegas(Vegas myVegas) 位置 c:\Users\Administrator\AppData\Local\Temp\5g1gaqv4\5g1gaqv4.0.cs:行号 2674

系统:Windows 10专业版

New YTPMV+

Hi mody let you otomad my turn libytpmv it is called up the new ytpmv+ beta 1 coming your back on soon as the a visually and effect and audio and 3d and on day audio source and modules sources and videos sources and tune github pitched generator and audio and video and chiptune a all more future release feature betas and enjoy

Picture in Picture plugin issue

Vegas Pro Version

Vegas Pro 14

Otomad Helper Version

No response

Describe the bug

My VEGAS 14 says that the "Picture in Picture" plugin is not availlable and it thinks that it's not supported for my VEGAS version

Logs

No response

Screenshot or screencast

bandicam 2023-07-27 11-26-11-987
The error.

Additional

No response

FAQ / Common Questions

What do these "specific" features do? / Where is "feature".

My Documentation elaborates and indicates what each feature does and their respective functions. You should read there if you're confused about what features do what and how they work.

My MIDI File isn't working.

Make sure you have exported the MIDI file with a compatible program (e.g. FL Studio) and it has MIDI Channels/Tracks. A MIDI file that has no channels or tracks in it will not load or not correctly work with the script. If the MIDI is the MIDI file itself, try re-exporting the MIDI by re-importing it into the same program it was exported from and exporting it again.

If you're unsure on how to properly export a MIDI file and get it to load on Otomad Helper. Section 9: How to Do will show you exactly what to do

If it still doesn't work, it may likely be Velocity Error! or Could not load file or assembly "NAudio"

I'm seeing white shapes and not the visual.

This is being generated by the Sonar feature. Sonar will automatically turn on if your MIDI detects or has a drum track/channel and is selected. If you do not wish to have these types of visuals, promptly disable the feature in your configuation.

Otomad Helper doesn't work when I run it.

Make sure you have the latest and corresponding version for the Vegas Pro version you have. 13, 14+, and 16+ each have their own different version. Download the version that matches your Vegas Pro version. You also need NAudio installed alongside it, which comes with the script, this is required. Make sure NAudio has its respective folder in the script menu folder.

Could not load file or assembly "NAudio" / Operation is not supported

Make sure you have unblocked the NAudio.dll. Go to the DLL Folder, right-click the DLL, go to properties. if you see it says it's blocked, unblock it.

Velocity Error!

System.DivideByZeroException: Attempted to divide by zero.

This is caused by the input values of the mapping velocity feature to be set the same. Make sure the value inputs are not the same

System.FormatException: Got an off without an on 0 NoteOn

Your MIDI file has a note that has a velocity of 0. Check to make sure there isn't any notes that have a velocity value of 0 (aka notes that have no volume)

Example!
image

Translation? / Contribute?

Ranne is gladly accepting contributions for the project. Make a pull request if you wanna add to the project. Make an issue if you got something to request or report.

This will be expanded when needed

I Can't Fix This

Vegas Pro Version

Vegas Pro 20+

Otomad Helper Version

Latest

Describe the bug

Gives Me An Unknown Expectation Error`

Logs

No response

Screenshot or screencast

Untitled _ - VEGAS Pro 20 0 7_1_2023 2_42_05 AM

Additional

Can Anyone Help Me?

V7 Iteration Plan

以下是即将在 v7 支持的新功能。此处只是给我自己提个醒,因此懒得翻译了。


优先考虑

  • 焕新的界面(WinUI 3)。#38
  • 更改为扩展(Vegas 自定义命令),而不再是脚本,使用方式将会更自由。
  • 原音系战法(Shupelunker 战法)。#44
  • Flow(让 Vegas 支持更多运动曲线)。#45
  • 对参数部分支持条件匹配事件,包括:
    • 奇偶性或指定倍数的第几个到第几个事件时;
    • 指定当事件的持续时间小于、大于、小于或等于、大于或等于、等于某个时长时。#53
  • 手动指定数据抹失扩展包的文件路径,而并非固定在脚本文件的同目录下。#58
  • 解决 #51
  • 指定当音高超出算法音域范围后,使用的替代算法。
  • 与 Miscz 插件的无缝体验,将会将关键帧参数添加到该插件的 TransformOFX 效果插件中。 zzzzzz9125/Miscz#1
  • 合并“快速间隔选择”与“查找轨道素材”工具,同时整合 Vegasaur 扩展中的 Select Events 工具。
  • “更改调音算法”工具将支持弹性/古典调音算法与移调效果插件之间的转换。
  • “批量生成字幕”工具将整合 Vegasaur 同源工具的更多功能,如:Create counter。
  • 新工具,将平移/裁切中的关键帧转换到 Miscz 中的 TransformOFX 插件中。
  • “自动轨道布局 - 网格布局”将支持完全自定义行列数目并占据整个屏幕的新布局。即行数将不再根据列数自动改变。
  • 新增“首页”,可用于快速切换到音MAD / YTPMV、YTP、原音系战法模式。同时可添加常用工具、转换工具、抹失工具到首页。
  • 在开启“五线谱视觉效果”时,允许同时开启“映像节奏视觉效果”。
  • 允许在多轨模式为不同轨道使用随机的素材偏移量。
  • 允许视频拉伸值同步音频拉伸值。
  • 原映像节奏视觉效果“斜向扩缩”更名为“斜下扩缩”,并新增新效果“斜上扩缩”。
  • 不再仅允许使用 MIDI 格式来获取音符,将新增 UST / USTX 格式(UTAU / OpenUTAU 项目格式)#37、引用来自其它轨道事件的音符、纯音符(持续时间的四分音符、八分音符等,与 om midi 同名功能类似)。
  • 支持指定 MIDI、UST、USTX 格式的文本编码,以防乱码。
  • MIDI 裁剪改成筛选/过滤,然后新增选取音域范围、指定倍数(奇偶性)的音符。
  • 筛选/过滤只提供小于或小于等于,可只填写一边(左侧0,右侧无穷大),两者填一样表示等于。
  • 新增“科学音高记号”新栏目。
  • 乐曲新增“文字转语音”(输入文字自动说话)
  • 人力Vocaloid / Rap 功能。正准备开发一个视频音源制作器,等到制作器做完之后才能开发本功能。不然连我自己都没法调试。#43 查看详情 >
  • 新工具,在当前位置创建一个空文本媒体发生器(隔壁om midi同样要新增)。
  • 在报错对话框显示当前Vegas版本和Otomad Helper版本。
  • 画面的”禁止延长“也更改为下拉框选择,包含以下选项:
    • 可延长
    • 冻结尾帧
    • 截断尾帧
    • 分割后冻结
    • 冻结至黑白
  • 原关闭禁止延长时的效果为“可延长”,原开启禁止延长时的效果为“冻结尾帧”
  • 如为音频时则仅有“可延长”与“截断尾帧”可用。
  • 人力功能允许指定一个音节来代替音源中所有缺失的音节。
  • 歌词 / 卡拉OK 字幕功能。#42
  • “转换音乐节拍”更改为“耙爪器”,参考自FL Studio的功能。
  • “自定渐入增益”新增来自CustomFades的功能。

积压工作

以下功能在首个版本发布时暂时不考虑新增,等后续版本跟进。

  • 写一个新的 MIDI 解析器,辅助现有 MIDI 解析器 NAudio。以便支持某些特殊格式的 MIDI 文件,而不再需要使用 FL Studio 转换 MIDI 格式。同时方便 Reaper 用户更好地支持 MIDI 格式。#39

暂不支持

至少短时间内不会有下述功能。

  • 编辑 MIDI 文件中各轨道的音符。#40
  • 编辑 UST / USTX 文件中的音符和歌词。
  • 商城功能。#41

视频音源制作器

将会开发一个视频音源制作器,预计支持以下功能。

  • 允许导入 mp4、mov 等常见视频格式,并且也支持 wav、mp3 等音频格式。
  • 输出文件格式为 yaml,以记录各音节在视频中对应的时间码是多少。
    • 文件应声明版本号,防止以后更新遇到棘手的兼容性文件。
    • 编码固定 UTF-8。
    • 允许支持多素材,即一个 yaml 可包含多个视频文件,在每个音节声明中指定来自哪个视频。
    • 允许设置偏移量,类似 LRC 歌词文件的 [offset:],可将视频时间码与声明中的时间码的时间补偿,以防错位问题。
    • 允许插入注释
    • 每个音节可包含多个范围,下游可通过以下顺序来决定选择哪个范围的素材:
      1. 与前一个音节相同的源素材,以保持句子的连贯性。
      2. 与所需音高更接近的素材,从而减小调整音高以减少声音发生扭曲。
      3. 此外随机选择素材。
    • 各音节的范围需包含以下参数:开始时间、结束时间、原始音高、源素材编号。
      可选的参数:视频的偏移时间(用来表示当音画不同步,或者想让画面使用与音频不同的时间范围;需包含以下参数:开始时间、结束时间)。
      同时允许扩展自定义参数以便未来添加其它参数。
    • 每个音节可扩展自定义变体,如原音节为 a,可添加特殊语态如喊叫变体 a_shout、轻声变体 a_whisper
      也可用于表示素材中的不同人说的话,如“讲(港)”字由刘醒说的 gang_lx,由梁非凡说的 gang_lff
      自定义变体亦可多种连用,如 gang_lx_shout
      下游会根据 UST / USTX 中的歌词优先选择指定的变体,如缺少对应变体则会回退到更少变体或者原音节。

使用例:

# This is a comment.
sources:
  1: "D:/videos/video1.mp4"
  2: "D:/videos/video2.mp4"
offset: 0:00.000
syllables:
  a:
    - start: 00:00.000
      end: 00:01.000
      pitch: E#5
      source: 1
    - start: 00:01.000
      end: 00:02.000
      pitch: B#4
      source: 1
      videoOffset:
        start: 00:01.500
        end: 00:03.000
  a_whisper:
    - start: 00:02.000
    - end: 00:03.000
    - pitch: C6
    - source: 2

其中,路径使用正斜杠而不是反斜杠是因为省去转义双写的麻烦,反正不管是改正斜杠还是转义双写你都得改,都一样。

  • 软件界面显示视频和音频波形以及语谱图。可改变进度条或点击音频波形来更改时间。
  • 拖动音频区域以创建一个音节,拖动完成后框选区域左上角的输入框立即聚焦,以填写音节名称。
  • 按下 Ctrl 播放一次当前音节音频,同时按下 Ctrl + Alt 以 0.5 倍速播放一次当前音节音频。按空格键播放/暂停音视频,同时音节名称里不允许有空格。
  • 自动生成音频的原始音高,且允许手动修正。
  • 保存为 yaml 文件格式,下次亦可继续编辑。
  • 可为每个音节输出为单个音频文件(wav),以方便其它虚拟歌手软件(如:UTAU、OpenUTAU、袅袅)使用音源。
    • 在设置中可开启是否将输出音频格式修改为 44100Hz、单声道、16Bit,以免其它软件不支持音频格式。
  • 可输出和导入 zip 压缩文件格式,其中包含有 yaml 配置,以及各视频素材文件,方便打包和分享。

Is there a way to use the visual effects on selected tracks?

I noticed that the Video tab only works if you are trying to generate a YTPMV with a midi file. I have a project where I already created the YTPMV but all I need is to add the visual effects like horizontal flips. Is this a feature of the script? If not, can I request it to be added?

certain vegas projects will cause the script to error out

loading some specific video projects will cause the "C:\Program Files\VEGAS\VEGAS Pro 14.0\Script Menu\Otomad Helper.cs : Metadata file 'Microsoft.WindowsAPICodePack.Shell.dll' could not be found" error to pop up every single time i try to load the script. restarting vegas does not fix this as the error only starts showing up every time the project is loaded, making the script entirely impossible to use within that exact project.

Vegas 14 incompatible

Hi, you state that Vegas 14 is compatible with the script but I run into this error. If you could fix that, it would be greatly appreciated. The sparta remix community just noticed your script package here and it's incredible, but most of us use 14 so we would really like it if you fixed this bug. Thank you
Screenshot 2022-05-08 191125
!

Flow

#36

Integrate VegasFlow into script

Vegas Flow

Apply pre-made curves from LIBRARY or make your own in the CUSTOM tab

Vegas 14 script still incompatible

Hi, thank you for your response! It does look like, unfortunately that the 14-15 specific script is still having this issue. It could maybe be an naming error? Thank you!
unknown-119

能否设置成能够手动指定datamosh的_internal文件夹路径,而非强制要求将_internal文件夹放置到与Otomadhelper脚本同路径下?

Vegas Pro Version

Vegas Pro 20

Otomad Helper Version

Latest

Describe the bug

刚刚想尝试使用datamosh看看效果,突然发现把_internal文件夹放进去后,我的其他脚本基本上都不见了(包括Otomadhelper脚本)。仔细研究了一番,发现Vegas对能够扫描的脚本数量是有限制的,数量限制大概是按照文件名称排序,能够正常扫描前200个不到一点。我这边原本除了Otomadhelper,还安装过HOS系列的37个免费脚本(HOS脚本相关介绍可见https://www.vegascreativesoftware.info/us/forum/posts--113922/),当然也包括Vegas本身自带的21个脚本。如果将datamosh的_internal文件夹放进脚本扫描路径,那么会直接占用将近140个脚本位置,并且按照扫描顺序,它总排第一,导致其他的脚本根本没法正常扫描出来了。

以下是图示:
截图20231027115539
我原本安装的脚本,包括HOS系列免费脚本、Otomadhelper以及Vegas自带的脚本。能够全部正常显示。

截图20231027115640
将_internal文件夹放进去后,Otomadhelper脚本和Vegas自带的脚本全部消失,HOS系列脚本只扫描到一半就没扫描下去了。可见_internal文件夹内的脚本会占用大量脚本位置。

截图20231027115902
尝试将各个文件夹重命名,由于脚本扫描是按文件名称顺序的,所以其他的脚本能够正常扫描出来,而Z_internal文件夹内扫描不全。
但这样的思路并不能解决问题,因为_internal文件夹必须跟Otomadhelper脚本放一起并且不能乱改名字,而_internal文件夹按照文件名称顺序在otomadhelper.cs上面。如果_internal文件夹扫描不全了,那说明Otomadhelper脚本必然无法扫描到。

我也尝试过更换Script Menu路径(C:\ProgramData\VEGAS Pro\Script Menu\、C:\Program Files\VEGAS\VEGAS Pro 20.0\Script Menu\、C:\Users[用户名]\Documents\Vegas Script Menu\),但无论是把我安装的所有脚本都挪过去,还是把脚本分开来放好几个文件夹,都没法解决这种扫描限制的问题。

截图20231027120803
如果我把HOS系列的脚本全删了,倒是恰好能全部扫描完整,但是感觉HOS脚本还是很实用的,不想删,想从_internal文件夹这边解决问题。但是_internal文件夹又必须放在Otomadhelper脚本旁边,所以不知道该怎么整了。

因此我觉得只能从Otomadhelper这边改,可以允许我把_internal文件夹放到其他地方,不让Vegas扫描到,然后在Otomadhelper内手动指定datamosh的_internal文件夹路径,这样才能解决这个问题。
我不太懂脚本这方面,所以也不清楚这样子是否是可行的(

Logs

No response

Screenshot or screencast

No response

Additional

No response

Vegas

Vegas Pro Version

Vegas Pro 20

Otomad Helper Version

Latest

Describe the bug

脚本可以正常生成视频,但是生成音频会报错
System.Runtime.InteropServices.COMException (0x8000FFFF): 灾难性故障 (异常来自 HRESULT:0x8000FFFF (E_UNEXPECTED))
在 ScriptPortal.Vegas.IEventCOM.Copy(UInt32 trackID, Int64 eventID, UInt32 destTrackID, Int64 ntStart, Int64& newEventID)
在 ScriptPortal.Vegas.TrackEvent.Copy(Track destination, Timecode startTime)
在 Otomad.VegasScript.OtomadHelper.V4.TrackHelper2.AddEvent[T](T trackEvent, Timecode start, Timecode length, IEnumerable1 exceptTracks, Boolean isSampleEvent) 位置 c:\Users\DELL\AppData\Local\Temp\yozgvcjk.0.cs:行号 11166
在 Otomad.VegasScript.OtomadHelper.V4.EntryPoint.GenerateOtomad() 位置 c:\Users\DELL\AppData\Local\Temp\yozgvcjk.0.cs:行号 1239
在 Otomad.VegasScript.OtomadHelper.V4.EntryPoint.Generate() 位置 c:\Users\DELL\AppData\Local\Temp\yozgvcjk.0.cs:行号 2605
在 Otomad.VegasScript.OtomadHelper.V4.EntryPoint.FromVegas(Vegas myVegas) 位置 c:\Users\DELL\AppData\Local\Temp\yozgvcjk.0.cs:行号 2773

屏幕截图 2024-02-07 024851
在之后的操作里经常会大量弹出“处理重做缓冲区时发生错误”的窗口,关掉后会继续出现10次左右
屏幕截图 2024-02-07 025129
这种情况要怎么处理

Logs

No response

Screenshot or screencast

No response

Additional

No response

Help! how do i fix this?

Vegas Pro Version

Vegas Pro 14

Otomad Helper Version

Latest

Describe the bug

its method is not supported!
bandicam 2023-09-03 16-43-09-348

Logs

No response

Screenshot or screencast

No response

Additional

No response

Where do i even put everything

Vegas Pro Version

Vegas Pro 20+

Otomad Helper Version

Latest

Describe the bug

Idk where to put the whole thing in

Logs

No response

Screenshot or screencast

No response

Additional

No response

Multiple Video Events/Tracks for Chords?

So the Otomad Script is insanely astonishing for what it has. Everything about it is borderline excellent.
I do have a suggestion. It's based on how audio generates the chords from the MIDI file selected. I think it should do the same thing with video, with an option to toggle the visual generation for chords. Like when the script generates the visuals, it should have the ability to make chord video tracks as well, making it easier to create chord visuals in the YTPMV/Otomad.

I also have created a Google Doc that's essentially an index for the majority of Otomad Helper, made to guide users on what to do and what features do what. This was intentionally made for another community so some things might sound odd or biased, so I apologize for that.

And yeah, keep doing what you're doing, your work is absolutely amazing.

Store

Store, to download templates uploaded by other users.

Always uses vegas solid color 1

Vegas Pro Version

Vegas Pro 21

Otomad Helper Version

Latest

Describe the bug

Basically when i get a drum sample for the drum kit it always uses vegas solid color 1

Logs

No response

Screenshot or screencast

No response

Additional

No response

Script isn't doing anything

Hi, using the latest version of Otomad, when I configure my settings and hit "Complete" nothing happens. using Vegas 19

Error

The error goes to something like this.

System.DivideByZeroException: Attempted to divide by zero.
at System.Decimal.FCallDivide(Decimal& d1, Decimal& d2)
at Otomad.VegasScript.OtomadHelper.V4.EntryPoint.MapVelocityToGain(Int32 velocity, MediaType media) in c:\Users\thepa\AppData\Local\Temp\3fktpn5n.0.cs:line 2339
at Otomad.VegasScript.OtomadHelper.V4.EntryPoint.GenerateOtomad() in c:\Users\thepa\AppData\Local\Temp\3fktpn5n.0.cs:line 1372
at Otomad.VegasScript.OtomadHelper.V4.EntryPoint.FromVegas(Vegas myVegas) in c:\Users\thepa\AppData\Local\Temp\3fktpn5n.0.cs:line 2659

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.