Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Galaxie Audio is a height level wrapper for pyaudio with player, recorder, spectrogram, and more.
.. image:: https://readthedocs.org/projects/galaxie-audio/badge/?version=latest :target: https://galaxie-audio.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status .. image:: https://gitlab.com/Tuuux/galaxie-audio/badges/master/pipeline.svg :target: https://gitlab.com/Tuuux/galaxie-audio/-/commits/master :alt: Pipeline Status .. image:: https://gitlab.com/Tuuux/galaxie-audio/badges/master/coverage.svg :target: https://gitlab.com/Tuuux/galaxie-audio/-/commits/master :alt: Coverage Status
.. figure:: https://galaxie-audio.readthedocs.io/en/latest/_images/logo_galaxie.png :align: center
A small Audio library, use by Galaxie Tools for play and record audio.
v 0.1.4
.. figure:: https://galaxie-audio.readthedocs.io/en/latest/_images/screen_01.png :align: center
Text Spectrogram
.. figure:: https://galaxie-audio.readthedocs.io/en/latest/_images/screen_02.png :align: center
Pypi
.. code:: bash
pip install galaxie-audio
Pypi Test
.. code:: bash
pip install -i https://test.pypi.org/simple/ galaxie-viewer
.. code:: python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# It script it publish under GNU GENERAL PUBLIC LICENSE
# http://www.gnu.org/licenses/gpl-3.0.en.html
# Author: the Galaxie Audio Team, all rights reserved
import sys
import tempfile
from glxaudio.AudioRecorder import AudioRecorder
from glxaudio.AudioPlayer import AudioPLayer
from glxaudio.AudioInterfaces import AudioInterfaces
from glxaudio.AudioConstants import GLXAUDIO
from glxaudio.Sleep import Sleep
from glxviewer import viewer
# THE APP
try:
verbose = True
debug = False
debug_level = 3
time_to_sleep = 0.42
if verbose:
viewer.write(
status_text="INIT",
status_text_color="WHITE",
column_1="Simplex Repeater",
column_2=" - Version 0.5",
)
viewer.write(
status_text="INIT",
status_text_color="WHITE",
column_1=AudioInterfaces.__name__ + ":",
column_2="list interfaces",
)
AudioInterfaces.print_interfaces(only_default=True)
while True:
# Create a new temporary file each time, that because communication's should be anonyme
temporary_file = tempfile.NamedTemporaryFile()
try:
# Start a recording
with AudioRecorder() as recorder:
recorder.debug = debug
recorder.debug_level = debug_level
recorder.verbose = verbose
recorder.verbose_level = 3
recorder.format = GLXAUDIO.FORMAT_INT16
recorder.threshold = 6 # in percent
recorder.channels = 1
recorder.rate = 22050
recorder.chunk_size = 1024
recorder.file.path = temporary_file.name
recorder.record_to_file()
# Wait , because that is how work a repeater
with Sleep() as sleeper:
sleeper.debug = debug
sleeper.debug_level = debug_level
sleeper.verbose = verbose
sleeper.sleep(time_to_sleep)
# Play what is inside our temporary file
with AudioPLayer() as player:
player.debug = debug
player.debug_level = debug_level
player.verbose = verbose
player.detached = True
player.file.path = temporary_file.name
player.play()
except EOFError:
pass
# Close the temporary file, it have effect to delete the file, that because communication's should be anonymize
temporary_file.close()
except KeyboardInterrupt:
viewer.flush_a_new_line()
sys.exit(0)
0.1.5 - 20220102
docs/build
when use make clean
0.1.3 - 20211112galaxie-viewer
0.5.0 support
0.1.2 - 20211112FAQs
Galaxie Audio is a height level wrapper for pyaudio with player, recorder, spectrogram, and more.
We found that galaxie-audio demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.