Skip to content

Text File Check #198

Mar 2, 2021 · 2 comments · 7 replies
Discussion options

You must be logged in to vote

Are you trying to read a sysex or a text file?
If sysex then use this code:

--
-- Called when a modulator value changes
-- @mod   http://ctrlr.org/api/class_ctrlr_modulator.html
-- @value    new numeric value of the modulator
--
Load_OnChange = function(--[[ CtrlrModulator --]] mod, --[[ number --]] value, --[[ number --]] source)

	-- No action while loading a program or if the panel is in bootstrap or program states
	if bLoadingProgram or not isPanelReady() then
		return
	end	

--	Load_OnClick(mod:getComponent())

	-- Load a .syx file
	file = utils.openFileWindow ("Load program", File(""), "*.syx", true)
	if file:isValid() then	-- A file has been selected and the user pressed Open
		if …

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@Godlike-Productions
Comment options

Answer selected by Godlike-Productions
Comment options

You must be logged in to vote
6 replies
@dnaldoog
Comment options

@Godlike-Productions
Comment options

@dnaldoog
Comment options

@Godlike-Productions
Comment options

@Godlike-Productions
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants