In [1]:
from ipywidgets import interact, interactive, fixed, interact_manual
import ipywidgets as widgets
from gtts import gTTS
import matplotlib
import numpy 
from traitlets.config.manager import BaseJSONConfigManager
path = "/Users/Kristen/anaconda3/envs/py36/etc/jupyter/nbconfig"
cm = BaseJSONConfigManager(config_dir=path)
cm.update("livereveal", {"autolaunch": True,
                         "theme": "sky",
                        } 
)



#Supress default INFO logging
# The UT Dallas Art Science Lab Training module 
print ("Sonification Training Module v0.5.2")
print("\nDeveloped by the ArtSciLab at UT Dallas")
print("\n")
print("Panned Pulse Exploration Module" )
print("\n")
print("\nBasic Instructions for each cell :")
print('1. Press Shift + Enter to initiate display')
print("2. Press Space Bar to proceed to the next cell")
print("\n")
print("Volume controls are located in the top row of the keyboard if you need to adjust the volume at any time")


Sonification Training Module v0.5.2

Developed by the ArtSciLab at UT Dallas


Panned Pulse Exploration Module



Basic Instructions for each cell :
1. Press Shift + Enter to initiate display
2. Press Space Bar to proceed to the next cell


Volume controls are located in the top row of the keyboard if you need to adjust the volume at any time

In [1]:
%run ./dep/scripts/pan.py

print("Press Shift + Enter to activate cell")
print("\nUse the Slider to set a Value and Click the Sonify Me Button to play a sonification.")
print("\nTry to explore the full range of values and listen carefully:")
print("Notice the variation in pulse rate and panning (left/right) at different values.")

interact (f, percentage=(0,100,1))

button = widgets.Button(description="Sonify Me!")
display(button)
button.on_click(on_button_clicked)

print("You will be tested on your ability to judge the value of sonifications on this scale.")
print("When you are ready, press the Space Bar to proceed.")


Press Shift + Enter to activate cell

Use the Slider to set a Value and Click the Sonify Me Button to play a sonification.

Try to explore the full range of values and listen carefully:
Notice the variation in pulse rate and panning (left/right) at different values.
You will be tested on your ability to judge the value of sonifications on this scale.
When you are ready, press the Space Bar to proceed.

You have completed the Exploration Module

Now that you have explored this sound representation, it is time to move on to the next phase of testing your ability to judge sonifications on this scale.

Please close this tab and open the next module from the list of notebooks:

7. Panned Pulse Testing Module