electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » Developers' Corner
Python with C/C++ as low level audio synthesis environment
Post new topic   Reply to topic Moderators: DrJustice
Page 1 of 1 [3 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
freth



Joined: Jun 30, 2016
Posts: 3
Location: Berlin

PostPosted: Fri Dec 09, 2016 5:14 am    Post subject: Python with C/C++ as low level audio synthesis environment Reply with quote  Mark this post and the followings unread

Hi, I'd like to have an audio synthesis framework enabling the following workflow:

  • Compiled, sample accurate ugens written in C/C++ (or similar)
  • High level live scripting environment for

    • Static and dynamic creation of ugen instances
    • Connecting ugens to each other, static values, USB MIDI inputs, audio inputs and audio outputs

  • Exporting and importing of session snapshots

I tried out a some existing software but found nothing 100% convincing. Ideally I'd like to work under Linux without X/Wayland to save CPU power. Also I'm not specifically asking for DSP libraries, since there are lots of them available for many programming languages.

Do you think it is possible to enable this kind of workflow with Python? I never wrote C/C++ extensions for Python, would it be possible to write some kind of ugen objects this way and plug them together in an interactive Python session?
Back to top
View user's profile Send private message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24083
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Fri Dec 09, 2016 11:33 am    Post subject: Reply with quote  Mark this post and the followings unread

Hmm .. I googled to find if there would be a Python binding for the Synthesis Toolkit, but seems to not exist - not what I had expected.

Then saw https://wiki.python.org/moin/PythonInMusic and thought that Purity might be the thing a PD like kernel controlled from Python, but the weblink is dead it seems ... its French there so not 100% sure Wink All the rest there .. dunno Confused

Another thing could be ChucK, but that is not Python of course.

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
freth



Joined: Jun 30, 2016
Posts: 3
Location: Berlin

PostPosted: Tue Dec 13, 2016 11:22 am    Post subject: Reply with quote  Mark this post and the followings unread

Purity sounds interesting, thank you! I already fiddled around with ChucK, it seems pretty cool but extending it with C / C++ is just beyond me (there seem to be only examples, no tutorials and also there are no basic examples given, like a minimal sine osc).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: DrJustice
Page 1 of 1 [3 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Developers' Corner
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use