• Advertisement


  • Content count

  • Joined

  • Last visited

Community Reputation

117 Neutral

About mbmusicpl

  • Rank

Personal Information

  1. Unity or Unreal engine

    UE4 has blueprint system so You can make most of your game without programming. But if You would like to You can use C++. Unity is better for programmers. Both engines have lots of materials and huge documentations.
  2. Unity AnimationEvent 2D Sound

    Hi, Could You help me with i think easy sound system. I have a chest and want to play sound while animation. I think I should add script (c#) to my chest prefab. Could You help me with the script?
  3. Play Audio Script - Volume adjusting

    Thx Rutin, Somehow i have missed this tutorial with the solution . I have to use mixer snapshots ! I still have a problem with UNITY. I am making 2D game so i changed it on tutorial script: The problem is that i am working on UI panels and colliders doesn't work normaly here. I thing I have to use EventTrigger Componet https://imgur.com/a/hEM59 https://imgur.com/a/YkXuY but what next ??? using UnityEngine; using System.Collections; using UnityEngine.Audio; public class InOutMusic : MonoBehaviour { public AudioMixerSnapshot OutSlot; public AudioMixerSnapshot InSlot; public AudioClip[] stings; public AudioSource stingSource; public float bpm = 128; private float m_TransitionIn; private float m_TransitionOut; private float m_QuarterNote; // Use this for initialization void Start () { m_QuarterNote = 60 / bpm; m_TransitionIn = m_QuarterNote; m_TransitionOut = m_QuarterNote * 32; } void OnTriggerEnter2D (Collider2D other) - i have added 2d { if (other.CompareTag("slotviolin")) { InSlot.TransitionTo(m_TransitionIn); } } void OnTriggerExit2D(Collider2D other) - i have added 2d { if (other.CompareTag("slotviolin")) { OutSlot.TransitionTo(m_TransitionOut); } } }
  4. Hi, I am composer and sound designer that is trying to learn some codeing Could You help me and tell me what should i add to change volume to 1.0F when enter trigger using System.Collections; using System.Collections.Generic; using UnityEngine; public class AudioPlay : MonoBehaviour { public AudioClip strings_1; AudioSource audioSource; // Use this for initialization void Start () { audioSource = GetComponent<AudioSource> (); audioSource.PlayOneShot (strings_1, 0.0F ); - when game starts i want it to start but with 0 volume } // Update is called once per frame void Update () { } void OnTriggerEnter2D (Collider2D other) { if(other.gameObject.tag == "slotviolin") { Debug.Log ("coilder works"); // how can i change volume to 1.0F and if it's possible how to make it smooth ? } } } Thanks
  5. Fmod scripting

    Hi, Could someone help me with script? I am trying to change parametr on UI panel in Unity. It's not that easy and i think it needs code: https://www.fmod.org/questions/question/unity-ui-panel-trigger-enter-with-parametr-change/ thanks, Maciek
  6. Hi, I am still fighting with integration using FMOD in UNITY  I have 2 scenes in Unity: “a” and “b”. There is different music in each scene. I would like to fade out music “a” while i jump to scene “b” There are trigger colliders that are changing my scenes. I am trying with parameters but i dont know if thats good idea. Any clues how to make it work? thx http://imgur.com/a/2c4Qb Edit: This video shows that in one scene trigger zones works fine but when i change scenes i dont know what to do https://www.youtube.com/watch?v=gydgmb9-4Ps&feature=youtu.be
  7. PlayAudio Script

    Thank You Guys!!! I also found a way to use FMOD here, maybe it will be helpfull for someone: Tutorial: https://www.youtube.com/watch?v=qN5lj9QT6Ws Function that allow to use fmod event in "Animation events" using System.Collections; using System.Collections.Generic; using UnityEngine;   public class Footsteps : MonoBehaviour {   // Use this for initialization void PlaySound(string path) { FMODUnity.RuntimeManager.PlayOneShot(path, GetComponent<Transform> ().position); }   // Update is called once per frame void Update () {   } }
  8. PlayAudio Script

    Hi, I am sound designer not programmer and i need Yor help. I am adding footsteps to 3rd person character. I made simple script in Java and put it into animation events as function. It works very well. http://imgur.com/a/JDIPV What i need is someone to help me with adding “random pitch function” to my script. Also is there a tut how to do it with FMOD? Viking Villiage shows only 1st person character
  9. Implementation Tips

    Hi again, I am looking a way to implement audio event from fmod to unity. It's 3 sounds "background music"; "correct answer music"; "wrong answer music" There's a paramter that skips from one to another. I cant find any tutorial how to use it in unity engine. BTW i am not a programmer but i want to help one from my team :)
  10. Implementation Tips

    Thx Kasu, I know that developer is using unreal engine and want me to use FMOD   I made it with FMOD studio: -First i made organ loop -Then i made loop end In Fmod i used parametr that change from loop to loop end
  11. Implementation Tips

    Hi, I need Your help. I am a composer and sound designer but i just begin to learn about implementation techniques. I must figure out how to make church pipe organ loop to a game where You can press a button and hear this sound constantly while pressing.  -Sending just a loop to a programmer will be enough? - Is there a better way to do this? Using FMOD for example? I think after releasing key, there should be some reverb .  Sorry, i just begin in game dev :)
  • Advertisement