[JW Lua] FCInstrumentDef feature request
Jan Angermüller
jan at angermueller.com
Thu Jul 9 21:21:42 CEST 2015
Charles and Jari,
all instrument strings are probably already in JW Lua as they are in the
online documentation
(
http://www.finaletips.nu/frameworkref/class_f_c_staff.html#a51b90068fd41fa3b525abcb3a7c303af
)
Maybe Jari could move them from the documentation into constants ?
That would be much easier than adding SQLite support.
I attached a suggestion that I extracted from the FFUUIDs from the
documentation above.
It includes all instrument names that are included in JW Lua. The .lua
file can be used right away.
Example:
print(FFUUID_TEXT[finale.FFUUID_FFUUID_AGUNGATAMLANG] )
Output:
Agung a Tamlang
The c file will need some adjusting for the correct data format.
Best regards,
Jan
Am 09.07.2015 um 20:07 schrieb Charles O. Lawrence:
> Thanks for the info, Jari. The method may not be what I need, as you point
> out.
>
> I would be more interested in being able to use JW Lua together with some
> SQLite module, such as LuaSQLite3. I don't think the 5.1 that you are
> currently using comes with any such package built in, or does it? I have so
> far been unsuccessful in any attempt to use a SQLite module, even though
> there are YouTube videos that demonstrate that it can be done. I know you
> are extremely busy, and using SQLite from within JW Lua is probably not
> something very many JW Lua users would be interested in, but if you could
> provide any guidance on how to do it, it would be greatly appreciated.
>
> Regards,
> Charles
>
> -----Original Message-----
> From: JWLua [mailto:jwlua-bounces at jwmusic.nu] On Behalf Of Jari Williamsson
> Sent: Thursday, July 9, 2015 12:09 PM
> To: The JW Lua script plug-in.
> Subject: Re: [JW Lua] FCInstrumentDef feature request
>
> Charles,
>
> I added that method now for the next beta, but that might not be the string
> you're looking for. I did a quick test, and that resulted in device name
> strings ("SmartMusic SoftSynth 1") instead of a useful instrument name.
>
> I haven't yet researched the reason why this happens, or what this string
> should actually represent. I'll write it down and ask MakeMusic about it.
>
>
> Best regards,
>
> Jari Williamsson
>
>
> On 2015-06-25 16:00, Charles O. Lawrence wrote:
>> Jari,
>>
>> Is it possible to implement the CreateString() method documented in
>> the PDK for the class FCInstrumentDef? I have a need to be able to
>> retrieve the instrument name used for a staff, not necessarily the
>> same as the full staff name. Will this do it, or is there another
>> way. I cannot find a way to correlate the UUID with a text name, only a
> constant
>> name. Would there be a way to use JW Lua to reach back into the
>> Finale.instruments SQLite database?
>>
>> Regards,
>>
>> Charles
>>
>>
>>
>> _______________________________________________
>> JWLua mailing list
>> JWLua at jwmusic.nu
>> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>>
>
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>
--
Jan Angermüller
Jevenstedter Str. 80
22547 Hamburg
Tel. 040 - 28 94 84 82
www.angermueller.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: instrumentstrings.zip
Type: application/x-zip-compressed
Size: 18162 bytes
Desc: not available
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20150709/43387eb3/attachment.bin>
More information about the JWLua
mailing list