Audacity audio editor available

Moderator: BarryK

Post Reply
don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

Audacity audio editor available

Post by don570 »

Barry's SFS file available for download...

http://distro.ibiblio.org/easyos/amd64/ ... _amd64.sfs
_______________________________________________
Audacity audio editor available -- audacity-easy_2.2.2_amd64.sfs
-version 2.2.2
-I took binary from slack package originally then added fatdog64 packages
including libjpeg-turbo which is substitution for libjpeg
https://distro.ibiblio.org/fatdog/packa ... 6_64-1.txz

Download available:

Code: Select all

# md5sum audacity-easy_2.2.2_amd64.sfs
84592a2130343f45dc7ac30e73cae0a8	

Size: 45.5 mb
audacity-easy_2.2.2_amd64.sfs
https://drive.google.com/file/d/1mTtqT5 ... sp=sharing

Warning ---> I made package using dir2sfs which BarryK supplies,
but for unknown reasons I can only run the app in front , not in a container.
It doesn't even show up in a container.
_______________________________-

It can load a wav file , edit and save as mp3.

I'll have to check if mp3 can be loaded.???
Edit: It does open mp3 files and edits them. Good!!
_____________________________________

Last edited by don570 on Mon Oct 17, 2022 10:29 pm, edited 3 times in total.
Caramel
Posts: 319
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 78 times
Been thanked: 50 times

Re: Audacity audio editor available

Post by Caramel »

Thanks for the sharing !

To use as a container you need to place the .specs file (created by dir2sfs at the same time as the .sfs was) with the sfs in /mnt/wkg/sfs/easyos/oe/dunfell/

don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

Re: Audacity audio editor available

Post by don570 »

To use as a container you need to place the .specs file

Yes there is hidden files that I didn't realize were in package.
I now run dir2sfs as 'individual'.
Hidden files are now in package . I posted package again. ....but I can't run audacity or blender or shotcut in containers for some reason??
Could you explain how to run them.??
__________________________________________

User avatar
BarryK
Posts: 2267
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 93 times
Been thanked: 562 times

Re: Audacity audio editor available

Post by BarryK »

What Caramel meant is there is a audacity-easy.specs file.

Airdale
Posts: 74
Joined: Wed May 26, 2021 4:59 am
Has thanked: 6 times
Been thanked: 4 times

Re: Audacity audio editor available

Post by Airdale »

don570 wrote: Sat Oct 08, 2022 6:46 pm

Audacity audio editor available -- audacity-easy_2.2.2_amd64.sfs
-version 2.2.2
-I took binary from slack package originally then added fatdog64 packages
including libjpeg-turbo which is substitution for libjpeg
https://distro.ibiblio.org/fatdog/packa ... 6_64-1.txz

Download available:

Code: Select all

# md5sum audacity-easy_2.2.2_amd64.sfs
84592a2130343f45dc7ac30e73cae0a8	

Size: 45.5 mb
audacity-easy_2.2.2_amd64.sfs
https://drive.google.com/file/d/1mTtqT5 ... sp=sharing

Warning ---> I made package using dir2sfs which BarryK supplies,
but for unknown reasons I can only run the app in front , not in a container.
It doesn't even show up in a container.
_______________________________-

It can load a wav file , edit and save as mp3.

I'll have to check if mp3 can be loaded.???
Edit: It does open mp3 files and edits them. Good!!
_____________________________________

Very nice! Great addition. Seems to fire up without problems on my setup... haven't tried the container yet. Thanks!

don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

Re: Audacity audio editor available

Post by don570 »

haven't tried the container yet. Thanks!

I finally figured out how to use a SFS package in a container. :oops: I should ave
read the instructions in the SFS installer app.

So I installed it in a container , but unfortunately it will not launch,because several
dependencies are missing (I used ' ldd ' command in terminal),

Strangely all these dependencies are in the package and are recognized if
audacity is run in main window, rather than a container.

I would love an explanation???
_________________________________________________

User avatar
BarryK
Posts: 2267
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 93 times
Been thanked: 562 times

Re: Audacity audio editor available

Post by BarryK »

I looked at the sfs, same problem that I mentioned before.

You have /usr/lib64, but it should be a symlink

Note, this could have messed up the main filesystem also, even if Audacity works, it may have broken other apps.

You need to uninstall the sfs and fix it, and make sure that /usr/lib64 is restored to a symlink when the sfs is removed -- if not, go to /mnt/wkg/.session/usr/lib and delete lib64 then reboot (without saving if running in ram).

don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

Re: Audacity audio editor available

Post by don570 »

Barry's SFS file available for download...

http://distro.ibiblio.org/easyos/amd64/ ... _amd64.sfs
___________________________________________________________________________________

Caramel
Posts: 319
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 78 times
Been thanked: 50 times

Audacity 3.1.3 don't start in container

Post by Caramel »

I wanted to test Audacity 3.1.3 on Easy 4.4.1 fr

It starts in main filesystem but don't in container.

There was a message. This is the english version :
"The Audacity IPC server failed to initialize.
This is likely due to a resource shortage and a reboot may be required."

I found the same message on the net with "firejail audacity" : https://github.com/netblue30/firejail/issues/4659

(Sorry for my English)

jimboo
Posts: 1
Joined: Tue Oct 18, 2022 3:58 pm

Re: Audacity audio editor available

Post by jimboo »

Nice audio editor, I like it.

I am new to astrology and recently from the Leo compatibility chart I realized that my best partner is Sagittarius. Now I'm looking for my Sagittarius!

don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

Re: Audacity audio editor available

Post by don570 »

There was a message. This is the english version :
"The Audacity IPC server failed to initialize.
This is likely due to a resource shortage and a reboot may be required."

I found the same problem :roll:
and I was careful to start with a fresh frugal install.
I does create the dunfell icon on the desktop, but it won't run the app when I click it.
BarryK desires that the computer be hooked to internet and then
download the SFS package using script i.e. container management system

I didn't do that. Is that the problem???? because BarryK new blog says that he tested it properly...

The 'audacity_3.1.3_amd64.sfs' file (23MB) is available by clicking on the "sfs" icon.
It works great, both in the main filesystem and in a container.

____________________________________________________

There was lots of dependencies not met....

Code: Select all

ldd /usr/lib/audacity/audacity
lib-uuid.so => not found
	lib-screen-geometry.so => not found
	lib-project-rate.so => not found
	lib-ffmpeg-support.so => not found
	lib-theme.so => not found
	libatomic.so.1 => /usr/lib/libatomic.so.1 (0x00007fceab598000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007fceab593000)
	libz.so.1 => /lib/libz.so.1 (0x00007fceab57a000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007fceab55a000)
	lib-audio-devices.so => not found
	libasound.so.2 => /usr/lib/libasound.so.2 (0x00007fceab46c000)
	lib-project.so => not found
	lib-registries.so => not found
	lib-xml.so => not found
	lib-string-utils.so => not found
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fceab43c000)
	lib-math.so => not found
	lib-files.so => not found
	lib-exceptions.so => not found
	lib-preferences.so => not found
	lib-utility.so => not found
	lib-components.so => not found
	lib-basic-ui.so => not found
	lib-strings.so => not found
	libwx_gtk2u_adv-3.1.so => not found
	libwx_baseu_net-3.1.so => not found
	libwx_gtk2u_aui-3.1.so => not found
	libwx_gtk2u_qa-3.1.so => not found
	libwx_gtk2u_xrc-3.1.so => not found
	libwx_baseu_xml-3.1.so => not found
	libwx_gtk2u_html-3.1.so => not found
	libwx_gtk2u_core-3.1.so => not found
	libwx_baseu-3.1.so => not found
	libportmidi.so => not found
	
	

There are no problems when running in main window.

User avatar
BarryK
Posts: 2267
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 93 times
Been thanked: 562 times

Re: Audacity audio editor available

Post by BarryK »

don570 wrote: Tue Oct 18, 2022 9:24 pm

There was lots of dependencies not met....

Code: Select all

ldd /usr/lib/audacity/audacity
lib-uuid.so => not found
	lib-screen-geometry.so => not found
	lib-project-rate.so => not found
	lib-ffmpeg-support.so => not found
	lib-theme.so => not found
	libatomic.so.1 => /usr/lib/libatomic.so.1 (0x00007fceab598000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007fceab593000)
	libz.so.1 => /lib/libz.so.1 (0x00007fceab57a000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007fceab55a000)
	lib-audio-devices.so => not found
	libasound.so.2 => /usr/lib/libasound.so.2 (0x00007fceab46c000)
	lib-project.so => not found
	lib-registries.so => not found
	lib-xml.so => not found
	lib-string-utils.so => not found
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fceab43c000)
	lib-math.so => not found
	lib-files.so => not found
	lib-exceptions.so => not found
	lib-preferences.so => not found
	lib-utility.so => not found
	lib-components.so => not found
	lib-basic-ui.so => not found
	lib-strings.so => not found
	libwx_gtk2u_adv-3.1.so => not found
	libwx_baseu_net-3.1.so => not found
	libwx_gtk2u_aui-3.1.so => not found
	libwx_gtk2u_qa-3.1.so => not found
	libwx_gtk2u_xrc-3.1.so => not found
	libwx_baseu_xml-3.1.so => not found
	libwx_gtk2u_html-3.1.so => not found
	libwx_gtk2u_core-3.1.so => not found
	libwx_baseu-3.1.so => not found
	libportmidi.so => not found
	
	

There are no problems when running in main window.

The SFS has /usr/bin/audacity script, that is how you run it. That is a script that sets the environment variable so all the libraries are found when it executes /usr/lib/audacity/audacity.

This is the content of /usr/bin/audacity:

Code: Select all

#!/bin/sh

export LD_LIBRARY_PATH="/usr/lib/audacity"
export AUDACITY_MODULES_PATH="/usr/lib/audacity/modules"
export AUDACITY_PATH="/usr/share/audacity"

exec /usr/lib/audacity/audacity "$@"

You can try running it in container from a terminal:

Code: Select all

# ec-chroot audacity

...see any error messages.

If it aborts, see any error messages here:

Code: Select all

/mnt/wkg/containers/audacity/.session/tmp/xerrors-audacity.log
OR:
/mnt/.easy_rw/audacity/tmp/xerrors-audacity.log 
User avatar
BarryK
Posts: 2267
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 93 times
Been thanked: 562 times

Re: Audacity audio editor available

Post by BarryK »

I just now tested. Booted pristine 4.4.2, downloaded and installed audacity SFS as a container, then started it from a terminal:

Code: Select all

# ec-chroot audacity
Executing: DISPLAY=:0  pflask --mount=bind:/files/shared:/files/shared --keepenv --mount=bind:/tmp/.X11-unix/X0:/tmp/.X11-unix/X0 --no-ipcns --no-netns --mount=bind:/dev/snd:/dev/snd --mount=bind:/tmp/pulse-socket:/tmp/pulse-socket --mount=bind:/dev/dri:/dev/dri --caps=all,-sys_mount,-sys_admin,-sys_boot,-sys_chroot,-sys_ptrace,-sys_time,-sys_tty_config,-chown,-kill,-dac_override,-dac_read_search,-fowner,-setfcap,-setpcap,-net_admin,-mknod,-sys_module,-sys_nice,-sys_resource --no-userns --chroot=/mnt/sdb2/easyos/containers/audacity/container --  /.control/ec-run audacity

Works great!

Caramel
Posts: 319
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 78 times
Been thanked: 50 times

Re: Audacity audio editor available

Post by Caramel »

I tested again,
Audacity starts in container when my internet cable is disconnected or if the network is not allowed in the configuration of the container.

Otherwise there is the pop-up.

Output of the comand in a terminal

Code: Select all

# ec-chroot audacity
forked to background, child pid 13455
Executing: DISPLAY=:0 ip netns exec audacity1ns pflask --mount=bind:/files/shared:/files/shared --keepenv --mount=bind:/tmp/.X11-unix/X0:/tmp/.X11-unix/X0 --no-ipcns --no-netns --mount=bind:/dev/snd:/dev/snd --mount=bind:/tmp/pulse-socket:/tmp/pulse-socket  --caps=all,-sys_mount,-sys_admin,-sys_boot,-sys_chroot,-sys_ptrace,-sys_time,-sys_tty_config,-chown,-kill,-dac_override,-dac_read_search,-fowner,-setfcap,-setpcap,-net_admin,-mknod,-sys_module,-sys_nice,-sys_resource --no-userns --chroot=/mnt/sda21/easyos3/containers/audacity/container --  /.control/ec-run audacity 
don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

Re: Audacity audio editor available

Post by don570 »

Some notes...

I tested installing audacity on Easy 4.4.1 and 4.4.
I don't have internet access , so I download audacity from a nearby library.
I do have a home network but that doesn't seem to matter.

First thing I found out...
When installing the audacity SFS is important to install in the main window using the bootmanage app.
If I skip that step and install first in a container then my install becomes corrupted badly ----> xorgwizard con't even install the nouveau driver.

_____________________________________________________

If I install in the main window and then in a container (such as dunfell)
it appears to be installed correctly. The app is in the right place and the scripts appear correct ...
For instance here is script to launch audacity

Code: Select all

#!/bin/sh

mkdir -p /files/media/audio/audacity

WHOIAM="$(whoami)"
if [ "$WHOIAM" != "root" ];then
 if [ ! -d /home/${WHOIAM}/.audacity-data ];then
  mkdir -p /home/${WHOIAM}/.audacity-data
  echo '[Directories/Open]
LastUsed=/files/media/audio/audacity
[Directories/Save]
LastUsed=/files/media/audio/audacity' > /home/${WHOIAM}/.audacity-data/audacity.cfg
 fi
fi

export LD_LIBRARY_PATH="/usr/lib/audacity"
export AUDACITY_MODULES_PATH="/usr/lib/audacity/modules"
export AUDACITY_PATH="/usr/share/audacity"

exec /usr/lib/audacity/audacity "$@"

How ever when I run the dunfell container , the container opens fine, but the audacity app
won't launch (see image)

When I created an audacity container then the container itself doesn't appear to open???
i.e. nothing happens when I click on the desktop icon labelled 'audacity'
___________________________________________________

I tried to create error logs but none appeared.
____________________________________________

Code: Select all

/usr/lib/audacity/audacity: error while loading shared libraries: lib-uuid.so: cannot open shared object file: No such file or directory

ec-chroot-audacity app does exist but doesn't launch

Attachments
Screenshot-audacity.png
Screenshot-audacity.png (62.68 KiB) Viewed 564 times
User avatar
BarryK
Posts: 2267
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 93 times
Been thanked: 562 times

Re: Audacity audio editor available

Post by BarryK »

don570 wrote: Fri Oct 21, 2022 7:10 pm

Some notes...

I tested installing audacity on Easy 4.4.1 and 4.4.
I don't have internet access , so I download audacity from a nearby library.
I do have a home network but that doesn't seem to matter.

Did you download all three audacity files? That is important

audacity_3.1.3_amd64.sfs
audacity_3.1.3_amd64.specs
audacity.png

All three must be at /mnt/wkg/sfs/easyos/oe/dunfell

don570
Posts: 624
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 98 times

Re: Audacity audio editor available

Post by don570 »

Did you download all three audacity files? That is important

audacity_3.1.3_amd64.sfs
audacity_3.1.3_amd64.specs
audacity.png

I just tried putting all three files in the folder and the result is the same. :roll:
shotcut works fine without the specs file

I also tried audacity SFS and shotcut SFS simultaneously in same container.
Shotcut worked wonderously well ---> opened all my videos.
Whereas audacity complains about "resource shortage"

The only suggestion I can make is libopus

...the only package not already in EasyOS was 'libopus', so installed that via the package manager
prior to compiling. And included it in the SFS.

It seems to stick out as unusual in the package. Maybe if it was already in Easy OS SFS
________________________________________________________

Post Reply

Return to “EasyOS”