-
-
Spyros
A bit over complicated I think. But it is working. Thank you very much @whale-av
-
Spyros
all these commands work on linux:
ls -la /usr/bin/ | grep ^- | wc -l
ls -1 /usr/bin/ | wc -l
du -a /usr/bin/ | cut -d/ -f2 | sort | uniq -c | sort -nrand many more...
but with shell you just get the file names in the folder like simple ls on linux.
I also tried to get a counter after ggee/shell but that is not working either -
Spyros
Thank you LiamG,
I am trying linux command but does not seem to work:bang
|
ls -1 /usr/bin/ | wc -l
|
ggee/shell
|
print -
Spyros
Hello,
Is there a simple way for pd to read the number of files in a folder?Thank you!
-
Spyros
David just checked with my home speakers and it works perfectly fine! I will check more in depth tomorrow but I am sure that it will be fine.
Thank you very much -
Spyros
Thank you very much for your answer. I will measure tomorrow and get back to you. Thank you again for everything!
-
Spyros
Thank you very much David! I am just curious to understand why you say dB does not mean anything.
If I have a file playing from my speakers and I have a sound level meter and I see 80dB and then I use a wave editor and I amplify it by -3dB then I will see on the meter 77dB. -
Spyros
I am trying to be able to amplify by lets say -20dB or +20dB the played sound file a.wav:
-
Spyros
Thank you so much for your answers. I can understand all that (I have a phd on acoustics), but for example a signal that is 0dB (electroacoustic signal) and I want to reduce that to -3dB, is that doable with a command? Just to give an example wave editors can do ->amplify->-1dB