Skip to content

Commit

Permalink
chore: autopublish 2024-07-20T14:08:54Z
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 20, 2024
1 parent 4a629ad commit 2e613fd
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion dist/lyrics_openai_hyphenation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5335,7 +5335,7 @@ local osutils = require("luaosutils")
local https = osutils.internet
local config =
{
api_model = "gpt-4",
api_model = "gpt-4o",
temperature = 0.2,
add_hyphens_prompt = [[
Hyphenate the following text, delimiting words with spaces and syllables with hyphens.
Expand Down
20 changes: 12 additions & 8 deletions dist/playback_unmute_all_staves.lua
Original file line number Diff line number Diff line change
Expand Up @@ -93,29 +93,33 @@ package.preload["library.layer"] = package.preload["library.layer"] or function(
return layer
end
function plugindef()
finaleplugin.RequireSelection = true
finaleplugin.RequireSelection = false
finaleplugin.Author = "Nick Mazuk"
finaleplugin.Copyright = "CC0 https://creativecommons.org/publicdomain/zero/1.0/"
finaleplugin.Version = "1.0.3"
finaleplugin.Date = "March 16, 2023"
finaleplugin.Version = "1.0.4"
finaleplugin.Date = "June 12, 2024"
finaleplugin.CategoryTags = "Playback"
finaleplugin.AuthorURL = "https://nickmazuk.com"
finaleplugin.Notes = [[
Run this script and all staves will be unmuted.
Run this script and all staves will be unmuted and all solos will be cleared.
]]
finaleplugin.RTFNotes = [[
{\rtf1\ansi\deff0{\fonttbl{\f0 \fswiss Helvetica;}{\f1 \fmodern Courier New;}}
{\colortbl;\red255\green0\blue0;\red0\green0\blue255;}
\widowctrl\hyphauto
\fs18
{\info{\comment "os":"mac","fs18":"fs24","fs26":"fs32","fs23":"fs29","fs20":"fs26"}}
{\pard \sl264 \slmult1 \ql \f0 \sa180 \li0 \fi0 Run this script and all staves will be unmuted.\par}
{\pard \sl264 \slmult1 \ql \f0 \sa180 \li0 \fi0 Run this script and all staves will be unmuted and all solos will be cleared.\par}
}
]]
finaleplugin.HashURL = "https://raw.githubusercontent.com/finale-lua/lua-scripts/master/hash/playback_unmute_all_staves.hash"
return "Unmute all staves", "Unmute all staves", "Unmutes all staves"
end
local layer = require("library.layer")
function set_layer_playback_data(layer_playback_data)
layer_playback_data.Play = true
layer_playback_data.Solo = false
end
function playback_unmute_all_staves()
local full_doc_region = finale.FCMusicRegion()
full_doc_region:SetFullDocument()
Expand All @@ -126,10 +130,10 @@ function playback_unmute_all_staves()
staff:Load(staff_number)
local playback_data = staff:CreateInstrumentPlaybackData()
for this_layer = 1, layer.max_layers() do
playback_data:GetNoteLayerData(this_layer).Play = true
set_layer_playback_data(playback_data:GetNoteLayerData(this_layer))
end
playback_data:GetChordLayerData().Play = true
playback_data:GetMidiExpressionLayerData().Play = true
set_layer_playback_data(playback_data:GetChordLayerData())
set_layer_playback_data(playback_data:GetMidiExpressionLayerData())
playback_data:Save()
end
end
Expand Down
2 changes: 1 addition & 1 deletion hash/lyrics_openai_hyphenation.hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5ee52ef020fc3e6c5e1a2578aac3af31e58597de5d5826c3e2f83285fe05e10db5f387173e3cc8346be6e95be216f9de50d2ef9724eb5e46888aa11e986e392b lyrics_openai_hyphenation.lua
a0b1cee9dcfc4741acc9497b327f38155c495ad7936e71548f9c1277d4a2fcf5736d88d24773e3bc43e5c746add33c93ac08de51f2963bd47109082b99c091b3 lyrics_openai_hyphenation.lua
2 changes: 1 addition & 1 deletion hash/playback_unmute_all_staves.hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a9bf6d5a85efd72a34f1253d6cd62d9246a28cf4b33936eb0d50e4ddf0b1c2aefc6bb53fdc9825171e4a3be061dceac57108573767149d87c499d596c56d1cfc playback_unmute_all_staves.lua
c05c2806b8f7b983a08cd5da489df406649ef2b526fa094b2766465871612d20869aa600ba0f501352caefb686fa1fb6c2d7387575baac2699f0ee149f7bf342 playback_unmute_all_staves.lua

0 comments on commit 2e613fd

Please sign in to comment.