My mod (seen here: http://community.playstarbound.com/resources/random-instruments.4286/) contains instruments with custom sound effects. With some *.abc files, the instruments don't play, however regular instruments do. How can I fix this?
It seems to be fine. For instance, the Skull Trumpet's code: { "itemName" : "skulltrumpet", "price" : 1, "category" : "musicalInstrument", "inventoryIcon" : "skulltrumpet.png", "maxStack" : 1, "rarity" : "Common", "description" : "A trumpet. Doot doot doot!", "shortdescription" : "Skull Trumpet", "largeImage" : "skulltrumpet.png", "image" : "skulltrumpet.png", "tooltipKind" : "tool", "activeImage" : "skulltrumpet.png", "activeAngle" : 0, "activeHandPosition" : [0.25, 0.375], "handPosition" : [0, 0], "twoHanded" : true, "kind" : "skulltrumpet" }...versus the accordion: { "itemName" : "accordion", "price" : 3000, "category" : "musicalInstrument", "inventoryIcon" : "accordionicon.png", "maxStack" : 1, "rarity" : "Common", "description" : "An accordion. Get those arms working!", "shortdescription" : "Accordion", "largeImage" : "accordion.png", "image" : "accordion.png", "tooltipKind" : "tool", "activeImage" : "accordion.png", "activeAngle" : 0, "activeHandPosition" : [0.2, 0], "handPosition" : [0.2, 0], "twoHanded" : true, "kind" : "accordion" }However, most of the tuning code is tuned to F instead of A (which may or may not be a problem). One notable feature of the tuning.config of the Skull Trumpet is that I changed the fadeout to 0.1 without knowing what it was. Would that have changed anything?
One difference between the accordion's tuning.config and the Skull Trumpet's tuning.config is that the Skull Trumpet's is tuned to F (43.6535, 87.3071, etc.) versus the accordion's A tuning. (55.0000, 110.000, etc.) HOWEVER, this should only affect the tune of the instrument, not its ability to play music. There is one small problem, though. Since F0 would be way out of the range and would sound really bad, I didn't include the file a0.ogg in the files. That may be a problem.