You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Animal enrichment is very important and most tropical animals natural habitats are saturated with sounds. Sounds make animals in terrariums more active and inquisitive.
I would like to request the following functionality:
Time of day. Should be adjustable by user preferences. For example: predawn 4-6, dawn 6-9, day 9-18, evening 18-22, night 22-4. Time of day and time frames should be flexible for better tuning.
Sound files of natural animal habitat should be uploaded to Raspberry Pi, playlists created for each part of day and played randomly and indefinitely(until the time frame is up)
Volume adjustment in % (lower for evening/night, louder for day)
I currently have this functionality achieved with Android phone and Tasker app. Sound files are stored in appropriate directories and Tasker plays them according to automation tasks set in app. Please let me know and thank you for your software.
I made a new branch with an audio player with all the above options. Are you able to test this?
Also I added a web based audio player to control the volume of the current audio
Ok, the latest version in the feature/modules_audio branch does fully work now. It is possible to use USB soundcards instead of internal audio card.
So we can combine PWM dimmers and audio all together now.
Activity
arcticrobot commentedon Nov 2, 2017
theyosh commentedon Nov 2, 2017
Is it possible to upload some example audio files? Not sure what the file limits are for uploading on Github
First attempt to add an audio system with audio files and playlists. #42
theyosh commentedon Nov 7, 2017
I made a new branch with an audio player with all the above options. Are you able to test this?
Also I added a web based audio player to control the volume of the current audio
theyosh commentedon Nov 10, 2017
Major setback: http://www.raspberry-projects.com/pi/programming-in-c/pwm/using-the-pwm-pin
It cost my days to figure out why my audio did had problems. Turns out that audio and dimming hardware does not work together on a Pi :(
theyosh commentedon Nov 12, 2017
Ok, the latest version in the feature/modules_audio branch does fully work now. It is possible to use USB soundcards instead of internal audio card.
So we can combine PWM dimmers and audio all together now.
Merge pull request #47 from theyosh/feature/audio_modules
arcticrobot commentedon Nov 14, 2017
theyosh commentedon Nov 14, 2017
Actually it can! You need an usb soundcard. That's all.
arcticrobot commentedon Nov 15, 2017