-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set audio plugin's parameter when a key is pressed #48
Comments
Hi @JimPapanick -- yes, I'm curious if sending a message into your RNBO device might work better for you here: https://github.com/Cycling74/rnbo.unity.audioplugin/blob/main/docs/MESSAGES.md |
Do I need to change my plugin whatsoever for this to work? Or just the script will do? |
Hi Jim -- yes... you'd need to have a message
and then later send a message to:
according to the document above. Does this make sense? |
why is this approach better than SetParamValue? |
going to close this issue for now as I think you've got things working -- let me know if there is still an issue here |
Hey guys I need to set a parameter from an audio plugin set to 1 from 0 so that it sends a bang and sets some values depending on another objects current value. Here's the screenshot. The desired parameters are on the top right
![image](https://private-user-images.githubusercontent.com/149523020/370202937-5a6487a6-8eaa-40f4-a3d6-71e6a308fab1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5MzU5MDQsIm5iZiI6MTczOTkzNTYwNCwicGF0aCI6Ii8xNDk1MjMwMjAvMzcwMjAyOTM3LTVhNjQ4N2E2LThlYWEtNDBmNC1hM2Q2LTcxZTZhMzA4ZmFiMS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxOVQwMzI2NDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hYmZmZjBmYWI2NzE3ZTNjZjgzY2JhZWI2OTRkY2RkMGJmZTVhZWUyZDZmYzBkZGMyZmRjNDJkMTM5NzNkYjNkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.nn1kvM1vJFK0tVU_JojbhzdIRUGFPk1vTNpN9vS8XRc)
This is the script that controlls the Lowest and Highest parameters that when set to 1 will store the lowest fzero value when u sing a low note and hit L and when you press H it will store another fzero value. But I don't see it logging that it is setting anything. What is going wrong?
`using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KeyParameterPress : MonoBehaviour
{
// Helper and plugin handle for Fzero1234New plugin
Fzero1234NewHelper fzeroHelper;
Fzero1234NewHandle fzeroPlugin;
}
`
The text was updated successfully, but these errors were encountered: