Comments (9)
Was able do reproduce. Can be fixed with apt-get install libasound2
, but it better work without it. I'll see what I can do.
The libasound
is needed to play a beep sound (NASA quindar tone) on conditional action (trigger): https://github.com/sqshq/sampler#triggers
from sampler.
1.0.1
was released, the fix for this issue included. Could you please update Sampler and try again?
sudo wget https://github.com/sqshq/sampler/releases/download/v1.0.1/sampler-1.0.1-linux-amd64 -O /usr/local/bin/sampler
from sampler.
didn't work
why does the sampler need libasound?
from sampler.
I'm using it on my personal Windows 10 (1903) computer, you can use VM to test it
https://developer.microsoft.com/en-us/windows/downloads/virtual-machines
from sampler.
Was able do reproduce. Can be fixed with
apt-get install libasound2
, but it better work without it. I'll see what I can do.The
libasound
is needed to play a beep sound (NASA quindar tone) on conditional action (trigger): https://github.com/sqshq/sampler#triggers
that solved the issue, maybe you should add it to the README?
from sampler.
Done.
from sampler.
Struggling to solve this dependency on RedHat. Is it possible to make it optional?
from sampler.
Yes, that's the plan. I'll try to figure out how to do that without removing sound tone functionality completely. Right now the binary needs to dynamically load libasound
at runtime, that's why we are failing on startup.
Any ideas are welcome.
Oto player also causes me troubles with cross-compilation for ARM.
Need to do something with it.
from sampler.
I ran into the same issue on a system I am not the admin of. To have an option to disable the sound feature altogether would be handy.
Wrote a small wrapper script that sets the LD_LIBRARY_PATH to include the directory that the sampler binary is located in and copied over the libasound.so.2 from another linux system. Then at least I can run sampler.
Didn't test using a trigger to get a sound, I assume it would break as the lib file by itself might not be enough for it to work...
sampler.sh :
#!/bin/sh
if [ -n "$LD_LIBRARY_PATH" ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./
else
LD_LIBRARY_PATH=./
fi
export LD_LIBRARY_PATH
exec ./sampler-1.0.2-linux-amd64 "$@"
from sampler.
Related Issues (20)
- Sampler freezes after spawing a lot of processes (on server)
- Feature request: Dynamic items or Dictionnary items
- Variables unavailable in trigger conditions HOT 2
- Why $label rotation in conditions? HOT 3
- Failed to parse a number HOT 1
- Possibility to use deltas between samples
- Macos ssh pty error HOT 8
- Strange behavior on asciiboxes > sample command not well interpreted (bad yaml ?) HOT 1
- :grey_question: Layout question (jq | column) inside textboxes (deal with t ad \t)
- wrong results of sample commands
- Conditional color for textbox
- textbox keeps previous output after getting empty result from jq
- 500th fork!
- Configuration Error Ubuntu 21.10 HOT 1
- how to show two digit number in windows? HOT 1
- Can no longer compile from Source - Missing oto HOT 2
- Vulnerability of dependency "gopkg.in/yaml.v3"
- windows textboxes newline not working
- Paycode
- Cmder: bad link on website HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sampler.