Plugins-soundui

From Bcontrol
Revision as of 11:08, 20 July 2007 by Jerlich (talk | contribs) (@soundui - SoundInterface)

@soundui - SoundInterface

This plugin lets you call a single command:

 [x,y]=SoundInterface(obj,'add','mysound',x,y)

This will create the following SoloUIParams starting at position x,y

 mysoundStyle : menu:{'Tone', 'Bups', 'ToneSweep','BupsSweep','File'}  
 mysoundSndsMenu : menu of files in Sounds_directory. (see below).
 mysoundVol, mySoundBal
 mysoundFreq1, mysoundFreq2 
 mysoundDur1, mysoundDur2
 mysoundTau, mysoundGap
  • Added a Play button, so that you can listen to your sounds as you change the settings!
  • Elements are enabled and disabled as appropriate for their Style.
  • Checks sounds manager to see if sound has actually changed before uploading new sounds. This prevents overhead from accidental callbacks from user navigation (mouse clicks, tabs).
  • Changes to any of the elements will automatically generate the new sound and make the appropriate call to the SoundManagerSection.
  • Future development will pretty up the interface, and add new sound styles, like Chords, Clicks.
  • The plugin will try to get a relative directory for the sounds from the Settings object. Otherwise it guesses that sounds are in Solo_rootdir/../CNMC/Sounds. It looks for mat files which must contain
  1. samp_rate
  2. either mono_snd or stereo_snd

Jerlich 07:53, 18 July 2007 (EDT)