Graphical interface to control granular sound synthesis.

Related tags

Audio soundgrain
Overview

Granular sound synthesis interface

Resources/SoundGrainSplash.png

SoundGrain is a graphical interface where users can draw and edit trajectories to control granular sound synthesis modules.

Official web site

To download the latest stable version of Soundgrain, go to the official web site!

Requirements

Minimum versions (for running Soundgrain from sources):

The programming language used to code the application.

The toolkit used to create the graphical interface. (install with pip install wxPython)

The audio engine which gives his power to Soundgrain.

The markdown package used to format the builtin documentation.

Comments
  • Soundgrain 6.0.1 wxAssertionError, will not start

    Soundgrain 6.0.1 wxAssertionError, will not start

    pyo version 0.9.0 (uses single precision)
    Traceback (most recent call last):
      File "SoundGrain.py", line 59, in <module>
        app = SoundGrainApp(redirect=False)
      File "SoundGrain.py", line 41, in __init__
        screen_size=(sysx, sysy))
      File "/home/ryan/documents/sources/SoundGrain_6.0.1-src/Resources/MainFrame.py", line 220, in __init__
        self.controls = ControlPanel(self, self.panel)
      File "/home/ryan/documents/sources/SoundGrain_6.0.1-src/Resources/ControlPanel.py", line 192, in __init__
        rec1Box.Add(self.but_folder, 1, wx.ALIGN_CENTER_VERTICAL | wx.EXPAND | wx.RIGHT, 10)
    wx._core.wxAssertionError: C++ assertion "!(flags & (wxALIGN_BOTTOM | wxALIGN_CENTRE_VERTICAL))" failed at /tmp/pip-install-ygicj3e5/wxpython/ext/wxWidgets/src/common/sizer.cpp(2111) in DoInsert(): Vertical alignment flags are ignored with wxEXPAND
    
    Markdown==3.3.2
      - importlib-metadata [required: Any, installed: 2.0.0]
        - zipp [required: >=0.5, installed: 3.3.1]
    pyo==0.9.0
    wxPython==4.1.0
      - numpy [required: Any, installed: 1.19.2]
      - pillow [required: Any, installed: 8.0.0]
      - six [required: Any, installed: 1.15.0]
    

    Same happens with wxPython 4.0.1

    Linux lungo 5.9.1-arch1-1 #1 SMP PREEMPT Sat, 17 Oct 2020 13:30:37 +0000 x86_64 GNU/Linux

    opened by oatmealraisin 4
  • Soundgrain doesn't let me open soundfiles (windows)

    Soundgrain doesn't let me open soundfiles (windows)

    So I press open soundfile, select my sample (bear in mind it is a file supported by soundgrain) and then double click on it. It then does nothing except say "audio drivers loaded" in the bottom left corner.

    Any help would be greatly appreciated, thank you.

    UPDATE: Attached is a screenshot of the dialogue window capture

    opened by xbladedancer 3
  • Segmentation fault after click on background with loaded file

    Segmentation fault after click on background with loaded file

    What steps will reproduce the problem?
    1. Start soundgrain and load some sample (i tried WAV file instead of AIFF)
    2. Click to background
    
    What is the expected output? What do you see instead?
    I tried to run it with gdb. Brief output, appearing after segfault:
    Program received signal SIGSEGV, Segmentation fault.
    Compare_setComp (self=0x2989820, arg=0x88e2a0 <_Py_NoneStruct>) at 
    src/objects/utilsmodule.c:1647
    1647            Py_INCREF(streamtmp);
    
    What version of the product are you using? On what operating system?
    python 2.7.3
    pyo 4.1.1
    ubuntu 12.04 and remaining dependies from its repo
    
    Please provide any additional information below.
    Looks a bit like python bug rather than of this (otherwise it could just give a 
    python error).
    Unsure, does it depend on used sample, but size of sample, i tried, is 44 Mb. 
    However, it also crashes with sameple with size less than 1 Mb.
    After first attempt looks very promising, still trying to get, how to generate 
    something.
    

    Original issue reported on code.google.com by [email protected] on 2 Apr 2013 at 8:57

    Priority-Medium Type-Defect auto-migrated 
    opened by GoogleCodeExporter 3
  • problems launching soundgrain

    problems launching soundgrain

    What steps will reproduce the problem?
    1. download soundgrain 4.1.1 src files
    2. uncompress files
    3. install pyo and wxpython (version 2.6 and 2.8) from ubuntu repositories
    4. run ./Soundgrain.py
    
    What is the expected output? What do you see instead?
    Traceback (most recent call last):
      File "./SoundGrain.py", line 25, in <module>
        import wx.richtext as rt
    ImportError: No module named richtext
    
    
    What version of the product are you using? On what operating system?
    version 4.1.1 on ubuntu 12.04
    
    Please provide any additional information below.
    
    

    Original issue reported on code.google.com by [email protected] on 25 Jul 2012 at 12:00

    Priority-Medium Type-Defect auto-migrated 
    opened by GoogleCodeExporter 3
  • audio skipping

    audio skipping

    when I have about 10 grain streams, I get a DSP hickup when I click to add 
    another line.
    
    On a 2 x 2.26 GHz Quad-code with 6 gigs of ram (os10.5.8) it is quite unexpected
    

    Original issue reported on code.google.com by [email protected] on 29 Jun 2010 at 10:25

    Priority-Medium Type-Defect auto-migrated 
    opened by GoogleCodeExporter 3
  • nuber of channels hang the program

    nuber of channels hang the program

    hey
    
    1st thing I wanted to try: quad grains.  Enter 4 as number of channels = boom!
    
    
    

    Original issue reported on code.google.com by [email protected] on 29 Jun 2010 at 10:13

    Priority-Medium Type-Defect auto-migrated 
    opened by GoogleCodeExporter 3
  • Cannot save wav file

    Cannot save wav file

    I'm trying to save a wav from soundgrain but when I click on the Start button in the Record Settings section nothing happens. In the terminal I get the following output:

    SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
    
    The above exception was the direct cause of the following exception:
    
    Traceback (most recent call last):
      File "/home/hellocatfood/Desktop/soundgrain/Resources/ControlPanel.py", line 695, in handleRecord
        self.parent.sg_audio.recStart(filename, self.fileformat, self.sampletype)
      File "/home/hellocatfood/Desktop/soundgrain/Resources/audio.py", line 304, in recStart
        self.server.recstart(complete_filename)
      File "/usr/lib/python3/dist-packages/pyo/lib/server.py", line 970, in recstart
        self._server.recstart(stringencode(filename))
    SystemError: <method 'recstart' of '_pyo.Server' objects> returned a result with an exception set
    

    I'm using Python 3.10.4 on Ubuntu 22.04

    opened by hellocatfood 2
  • Website is down; can't download binaries

    Website is down; can't download binaries

    When I try and visit the website https://ajaxsoundstudio.com/software/soundgrain/ I get a DreamHost error message telling me the site wasn't found. Because of this I can't download the binary releases of Soundgrain.

    opened by crispinha 2
  • PYO server will not start and it seems to be related to audio settings or missing files?

    PYO server will not start and it seems to be related to audio settings or missing files?

    What steps will reproduce the problem?
    1. Every time I try to start soundgrain the program will not launch
    2. I have uninstalled and re-installed and the errors still exist
    3. I believe it is in some settings file that I cannot find
    
    What is the expected output? What do you see instead?
    I expect to see the splashscreen for soundgrain and to be able to use this 
    awesome program like I have in the past.
    
    What version of the product are you using? On what operating system?
    OS: WindowsXP, SP3
    -Python-2.7.2
    -wxPython2.8-win32-unicode-2.8.12.1-py27
    -Pyo_0.6.2-py2.7
    -SoundGrain_4.1.1_setup
    
    Please provide any additional information below.
    
    I think the error occurred because I was changing sound card settings to 
    minimize latency and stuttering, which was successful for ASIO, but I kept 
    experimenting and it will no longer open after selecting Creative ASIO vs. 
    ASIO4All drivers.  
    
    I sent this earlier email to you about the error messages, etc.:
    
    I was really getting into SoundGrain and it was making some stuttering on my 
    desktop, so I used an ASIO driver and everything smoothed out really well.  But 
    then I did something stupid and clicked on the Creative ASIO driver and closed 
    the program and it would not open again. 
    
    The error message stated:
    
    pyo version 0.6.2 <uses single precision>
    
    portaudio error in Pa_OpenStream: Invalid sample rate
    Portaudio error: Invalid sample rate
    Server not booted.
    
    PYO Error: The Server must be booted before creating any audio object.
    
    Traceback (most recent call last):
    File "<string>", line 2487, in <module>
    File "<string>", line 2476, in ___init___
    File "<string>", line 1879, in ___init___
    File "<string>", line 1917, in check
    File "<string>", line 1475, in bootServer
    File "C:/Program Files/SoundGrain\Resources\audio.py", line 202, in boot 
    self.mixer = Mixer(outs=10, chnls=chnls)
    File "C:\Documents and 
    Settings\user\svn\soundgrain\build\pyi.win32\SoundGrain\outPYZ1.pyz/pyolib.pan",
     line 670, in ---init---
    File "C:\Documents and 
    Settings\user\svn\soundgrain\build\pyi.win32\SoundGrain\outPYZ1.pyz/pyolib._core
    ", line 341, in ___init___
    NameError: global name 'exit' is not defined
    
    After showing this message it doesn't start SoundGrain or anything else.  I 
    have uninstalled and reinstalled all of the software I originally installed and 
    rebooted and tried to find the user directory to try and delete and start 
    fresh, but the directory does not exist that I can find (C:\Documents and 
    Settings\user\svn\soundgrain\build\pyi.win32\SoundGrain\outPYZ1.pyz/pyolib._core
    ).
    
    Please help me figure out how I can get this to work again because it was 
    creating sounds that I have been dreaming of making for as long as I can 
    remember.  It is like the ultimate wavesequencing synthesis granulator.
    
    

    Original issue reported on code.google.com by [email protected] on 14 Feb 2013 at 12:15

    Priority-Medium Type-Defect auto-migrated 
    opened by GoogleCodeExporter 2
  • Bad audio streams format when using a Fireface 800 on OS X 10.6.7

    Bad audio streams format when using a Fireface 800 on OS X 10.6.7

    Résultat:
    - distorsion à l'écoute, en fait bruit numérique seulement
    - canal gauche seulement
    

    Original issue reported on code.google.com by [email protected] on 9 Apr 2011 at 11:20

    Priority-Medium Type-Defect auto-migrated 
    opened by GoogleCodeExporter 2
  • Intermittent Drop-Outs in 'Chord' Example?

    Intermittent Drop-Outs in 'Chord' Example?

    What steps will reproduce the problem?
    1. Load 'chord' from 4.01 'Examples' folder (on dmg)
    2. Load assorted sound files (aif 44.1/16 bit (from 30 sec to several minutes))
    3. What is the expected output? What do you see instead? Expected output but 
    intermittent 'gulps' or drop-outs in sound output (on the order of milliseconds 
    but quite noticeably in a dense sound (8 grains) like 'chord'.
    
    
    What version of the product are you using? On what operating system? Soundgrain 
    4.0.1/OSX 10.5.8/built-in audio
    
    
    Please provide any additional information below.
    
    Plenty of operating overhead (8 core 2.66 Ghz Nehalem)
    
    Model Name: Mac Pro
      Model Identifier: MacPro4,1
      Processor Name:   Quad-Core Intel Xeon
      Processor Speed:  2.66 GHz
      Number Of Processors: 2
      Total Number Of Cores:    8
      L2 Cache (per core):  256 KB
      L3 Cache (per processor): 8 MB
      Memory:   16 GB
      Processor Interconnect Speed: 6.4 GT/s
    
    
    

    Original issue reported on code.google.com by [email protected] on 2 Mar 2011 at 7:54

    Priority-Medium Type-Defect auto-migrated 
    opened by GoogleCodeExporter 2
  • Sign binaries on macOS

    Sign binaries on macOS

    The OSX binary is not signed so the current and future macOS will not open it.

    As a workaround provide some instructions such as: "The first time you open Soundgrain on a Mac, right click on the app and select open."

    opened by crcdng 0
  • wdmks problem

    wdmks problem

    Looks like a problem with win 10 audio. I have a roland Octacapture soundcard, and use it under ASIO almost always. THis looks like it wants the wdm drivers, but I can no longer find them in the control panel.

    >"C:\Program Files (x86)\SoundGrain\SoundGrain.exe"
    pyo version 0.9.0 (uses single precision)
    Assertion failed: FALSE, file src\hostapi\wdmks\pa_win_wdmks.c, line 1054
    
    

    old problems for trying to fix it...leaving it in case anyone else gets these bright ideas.
    I try launching with python 3.6, .7, and .7 and get the following error

    C:\Users\rich>py -3.6 "C:\Program Files (x86)\SoundGrain\SoundGrain.exe"
      File "C:\Program Files (x86)\SoundGrain\SoundGrain.exe", line 1
    SyntaxError: Non-UTF-8 code starting with '\x90' in file C:\Program Files (x86)\SoundGrain\SoundGrain.exe on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
    

    Update: this is from trying to set the right python environment and is caused by trying to launch a no-python binary (SoundGrain.exe) because I thought my trouble was from having the wrong python environment. I put 3.6 as the valuse for env. var. PY_PYTHON py to fix that after some google-fu, then found I did not have the prerequisites. Had to specify which python to install those under:

    >C:\Users\$USER\AppData\Local\Programs\Python\Python36\python.exe -m pip install Markdown 
    and do the same for the other pre-reqs after installing python 3.6
    

    Now I am getting an audio driver problem as described above.

    opened by rcrath 6
  • Sound Grain not starting

    Sound Grain not starting

    Hi, i am getting this message in Linux Mint when firing up Sound Grain. Is that a known issue?

    Traceback (most recent call last): File "SoundGrain.py", line 22, in <module> import wx File "/home/linuxbrew/.linuxbrew/Cellar/python/3.7.6_1/lib/python3.7/site-packages/wx/__init__.py", line 17, in <module> from wx.core import * File "/home/linuxbrew/.linuxbrew/Cellar/python/3.7.6_1/lib/python3.7/site-packages/wx/core.py", line 12, in <module> from ._core import * ImportError: /home/linuxbrew/.linuxbrew/lib/libgio-2.0.so.0: undefined symbol: g_atomic_ref_count_inc

    cheers, mrdevis

    opened by mrdevis 0
  • Vector paths and drawing lines with nodes

    Vector paths and drawing lines with nodes

    This is not an issue but a question about whether there will ever be the option 
    to draw vector paths with a pen tool such as that in the vector graphic program 
    inkscape?
    
    Please see attached for a graphical representation.
    
    Thanks
    

    Original issue reported on code.google.com by [email protected] on 25 Apr 2015 at 12:30

    Attachments:

    Priority-Medium Type-Defect auto-migrated 
    opened by GoogleCodeExporter 0
Sound-Equalizer- This is a Sound Equalizer GUI App Using Python's PyQt5

Sound-Equalizer- This is a Sound Equalizer GUI App Using Python's PyQt5. It gives you the ability to play, pause, and Equalize any one-channel wav audio file and play 3 different instruments.

Mustafa Megahed  1 Jan 10, 2022
GNOME powered sound conversion

SoundConverter A simple sound converter application for the GNOME environment. It reads anything the GStreamer library can read, and writes Ogg Vorbis

Gautier Portet 188 Dec 17, 2022
Open Sound Strip, Sequence or Record in Audacity

Audacity Tools For Blender Sound editing in Blender Video Sequence Editor with Audacity integrated. Send/receive the full edited sequence or single st

null 64 Dec 31, 2022
Reading list for research topics in sound event detection

Sound event detection aims at processing the continuous acoustic signal and converting it into symbolic descriptions of the corresponding sound events present at the auditory scene.

Soham 64 Jan 5, 2023
A python script that can play .mp3 URLs upon the ringing or motion detection of a Ring doorbell. The sound plays through Sonos speakers.

Ring x Sonos A python script that plays .mp3 files whenever a doorbell is rung or a doorbell detects motion. Features Music! Authors @braden Running T

braden 0 Nov 12, 2021
A simple python script to play bell sound in your system infinitely, just for fun and experimental purposes

A simple python script to play bell sound in your system infinitely, just for fun and experimental purposes

نافع الهلالي 1 Oct 29, 2021
extract unpack asset file (form unreal engine 4 pak) with extenstion *.uexp which contain awb/acb (cri/cpk like) sound or music resource

Uexp2Awb extract unpack asset file (form unreal engine 4 pak) with extenstion .uexp which contain awb/acb (cri/cpk like) sound or music resource. i ju

max 6 Jun 22, 2022
Analyze, visualize and process sound field data recorded by spherical microphone arrays.

Sound Field Analysis toolbox for Python The sound_field_analysis toolbox (short: sfa) is a Python port of the Sound Field Analysis Toolbox (SOFiA) too

Division of Applied Acoustics at Chalmers University of Technology 69 Nov 23, 2022
PyAbsorp is a python module that has the main focus to help estimate the Sound Absorption Coefficient.

This is a package developed to be use to find the Sound Absorption Coefficient through some implemented models, like Biot-Allard, Johnson-Champoux and

Michael Markus Ackermann 8 Oct 19, 2022
Library for working with sound files of the format: .ogg, .mp3, .wav

Library for working with sound files of the format: .ogg, .mp3, .wav. By work is meant - playing sound files in a straight line and in the background, obtaining information about the sound file (author, performer, duration, bitrate, and so on). Playing goes through the pygame, and getting information through the mutagen.

Romanin 2 Dec 15, 2022
C++ library for audio and music analysis, description and synthesis, including Python bindings

Essentia Essentia is an open-source C++ library for audio analysis and audio-based music information retrieval released under the Affero GPL license.

Music Technology Group - Universitat Pompeu Fabra 2.3k Jan 3, 2023
Marsyas - Music Analysis, Retrieval and Synthesis for Audio Signals

Welcome to MARSYAS. MARSYAS is a software framework for rapid prototyping of audio applications, with flexibility and extensibility as primary concer

Marsyas Developers Group 364 Oct 31, 2022
MIDI-DDSP: Detailed Control of Musical Performance via Hierarchical Modeling

MIDI-DDSP: Detailed Control of Musical Performance via Hierarchical Modeling Demos | Blog Post | Colab Notebook | Paper | MIDI-DDSP is a hierarchical

Magenta 239 Jan 3, 2023
Just-Music - Spotify API Driven Music Web app, that allows to listen and control and share songs

Just Music... Just Music Is A Web APP That Allows Users To Play Song Using Spoti

Ayush Mishra 3 May 1, 2022
A voice control utility for Spotify

Spotify Voice Control A voice control utility for Spotify · Report Bug · Request

Shoubhit Dash 27 Jan 1, 2023
Manipulate audio with a simple and easy high level interface

Pydub Pydub lets you do stuff to audio in a way that isn't stupid. Stuff you might be looking for: Installing Pydub API Documentation Dependencies Pla

James Robert 6.6k Jan 1, 2023
Python interface to the WebRTC Voice Activity Detector

py-webrtcvad This is a python interface to the WebRTC Voice Activity Detector (VAD). It is compatible with Python 2 and Python 3. A VAD classifies a p

John Wiseman 1.5k Dec 22, 2022
FPGA based USB 2.0 high speed audio interface featuring multiple optical ADAT inputs and outputs

ADAT USB Audio Interface FPGA based USB 2.0 High Speed audio interface featuring multiple optical ADAT inputs and outputs Status / current limitations

Hans Baier 78 Dec 31, 2022
Gateware for the Terasic/Arrow DECA board, to become a USB2 high speed audio interface

DECA USB Audio Interface DECA based USB 2.0 High Speed audio interface Status / current limitations enumerates as class compliant audio device on Linu

Hans Baier 16 Mar 21, 2022