[LAD] GSequencer enters a second time the MIDI awards
Hi all, Please check and vote for your favorite sequencer: https://www.midi.org/component/zoo/item/advanced-gtk-sequencer-2?Itemid=1423 cheers, Joël http://gsequencer.org ___ Linux-audio-dev mailing list -- linux-audio-dev@lists.linuxaudio.org To unsubscribe send an email to linux-audio-dev-le...@lists.linuxaudio.org
[LAD] Advanced Gtk+ Sequencer v0.7.88 audio export
Hi Just want to share lost prototype 2nd stage https://youtu.be/vrdH11jxetc http://nongnu.org/gsequencer Cheers, Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] Ableton Link GPL...
Hi GSequencer is pure C may be doing a C interface to communicate with such applications or devices. cheers, Joël On Thu, Sep 15, 2016 at 5:14 PM, Paul Daviswrote: > It will definitely be on a list for Ardour somewhere. Right now my > Ableton-related activities with Ardour relate to fairly deep support of > their Push 2 surface rather than Link. It would certainly be nice to see > Link support, but not sure what the priority will be. I have another > entirely new branch that is developing Live-like "clip launch" facilities > for Ardour, and it is likely that Link support would want to piggy back on > some of the concepts being developed there (notably beat/bar > synchronization). > > On Thu, Sep 15, 2016 at 5:58 AM, Daniel Swärd wrote: > >> Hi. >> >> Now that Ableton Link has been publically released as GPL, does anyone >> have any ideas/plans to integrate it into your projects? >> >> http://ableton.github.io/link/ >> >> /Daniel >> ___ >> Linux-audio-dev mailing list >> Linux-audio-dev@lists.linuxaudio.org >> http://lists.linuxaudio.org/listinfo/linux-audio-dev >> > > > ___ > Linux-audio-dev mailing list > Linux-audio-dev@lists.linuxaudio.org > http://lists.linuxaudio.org/listinfo/linux-audio-dev > > ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] Advanced Gtk+ Sequencer v0.7.54 - minor version increases soon
Hi all I'd like to get some feedback on GSequencer v0.7.54. Many things have changed so far. Good real-time is still a pain especially as doing much GUI interaction. How-ever I have coded a strategy to counter the issue. Here are some new features listed that should work: * automation editor to automate ports, currently only LADSPA, DSSI and Lv2 * Configuration in place of device, pcm-channels, samplerate, buffer size and format * Virtual MIDI mapping to route from GSequencer to DSSI and Lv2 * Notation editor to edit notes of DSSI and Lv2 plugins Things I'm not sure if still works: * auto-scroll of notation editor on playback * export to WAV files with different samplerate and format All existing features for sure: * sequencer editors with copy and later for paste in notation editor * reallocate audio channels and pads * destroy machines * link lines Believed to be broken: * different threading models than super-thread with channel scope are believed to be broken Currently unmaintained: * Original file format temporally replaced by a light-weight one Note: having 128 channels on DSSI or Lv2 synths is a bit over-helming. So you might want to adjust the channels and do MIDI mapping. Cheers, Joël Krähemann ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] DSSI, OSC and Ladspa UUID vs MIDI channel
Hi all Could someone explain me why the MIDI channel is used to identify DSSI instances? You could use the URL instead. Bests, Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] Advanced Gtk+ Sequencer v0.7.20
Hi all libags_audio-1.0 is here and is provided by GSequencer v0.7.20. http://gsequencer.org/gsequencer/announcements/2016/05/26/libags-1_0.html cheers, Joël Krähemann ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] Advanced Gtk+ Sequencer v0.7.0 stable
Hi all GSequencer version 0.7.10 got released as stable. Plugin support has been extended from LADSPA to DSSI and LV2. Although it's not yet perfect some of those plugins can be used for now. It needs further investigation why certain plugins don't work. For now values from GUI get converted to appropriate scale. Rudimentary MIDI input exists as well but it wasn't tested, yet. For sequencers and instruments there exists a connection editor supporting JACK and ALSA backend. Theoritcally you should be able to output to JACK using GSequencer. But JACK support needs some fixes because you can't link jackserver and jack both in the same application. http://gsequencer.org bests, Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] GSequencer v0.7.3
hi all linux audio devs Advanced Gtk+ Sequencer libraries go to version 0.7.3. http://gsequencer.org/download.html Although the API is still unstable you might get insights, yet. http://gsequencer.org/api/ags/index.html * rudimentary JACK support * refactored AgsTurtle to interface with RDF triples * some API enhancements Bests, Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] libsndfile 1.0.26 release
Hi Erik, Thank you very much for the release. cheers, Joël On Mon, Nov 23, 2015 at 11:48 AM, Erik de Castro Lopowrote: > Hi all, > > After an embarrasingly long time between releases, I am pleased to > announce the release of libsndfile 1.0.26. > > Main things of note are: > > * Fix for CVE-2014-9496, SD2 buffer read overflow. > * Fix for CVE-2014-9756, file_io.c divide by zero. > * Fix for CVE-2015-7805, AIFF heap write overflow. > * Add support for ALAC encoder in a CAF container. > * Add support for Cart chunks in WAV files. > * Minor bug fixes and improvements. > > Its available here: > > http://www.mega-nerd.com/libsndfile/#Download > > Cheers, > Erik > -- > -- > Erik de Castro Lopo > http://www.mega-nerd.com/ > ___ > Linux-audio-dev mailing list > Linux-audio-dev@lists.linuxaudio.org > http://lists.linuxaudio.org/listinfo/linux-audio-dev ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] unstable GSequencer 0.7.1 API
Hi all The new GSequencer API in its version 0.7.1 is available for now at: http://gsequencer.org/api/ags/ Thought many things still need to implemented, here's a brief list of what I intend to achieve: * DSSI support * LV2 support * JACK midi input and audio output * Automation editor * Undo / Redo Are you interested in supporting GSequencer, feel free to contact me. Note ABI might probably change. So it's recommended to install the libraries in a private context. cheers, Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] GSequencer v0.7.0 providing programming libraries
Hi I've just released GSequencer v0.7.0 what provides you reusable libraries. http://gsequencer.org/download.html * libags * libags-thread * libags-server * libags-audio * libags-gui * libgsequencer The documentation is some kind of out-dated. Would be great if someone would show me interests in reusing libags-audio or alike to improve the docs. bests, Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] Last call to contribute to GSequencer for implementing accessibility
Hi all, I'm currently doing accessibility features to GSequencer the resulted code will be published as GSequencer v0.6.0. If you want to contribute feel free to contact me by email. http://gsequencer.org https://github.com/gsequencer bests Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] Advanced Gtk+ Sequencer v0.5.0
Hi all GSequencer has a new minor release v0.5.0. Some highlights are: * concurrent audio tree processing * Multi-Output * Improved notation pattern editor * Add custom LADSPA widgets to control ports * ... Please visit: http://gsequencer.org cheers, Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] Pledgie GSequencer v0.4.3
Hi all Please visit and enjoy some updates like compile linux realtime kernel 4.0.4-rt1 or hardened Advanced Gtk+ Sequencer and for sure call for donation. http://gsequencer.org https://pledgie.com/campaigns/29411 cheers Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] Updated API Reference Manual to 0.4.3-beta of gsequencer
Hi, me just updated API Reference Manual to 0.4.3-beta of gsequencer. Please visit: http://gsequencer.org/api/ags/index.html cheers, Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] Lv2ui support for GSequencer
Hi all, check out lv2ui support for gsequencer, it still unstable and not tested, yet. https://github.com/weedlight/ags-devel For any suggestions me would benefit. Next days me improves thread reliability and safety ... Let me know if you want to contribute and please take a look at: https://github.com/weedlight/ags-devel/issues There was a big refactoring going on and the birth of Advanced Gtk+ Sequencer libraries, namely * libags * ibags-thread * libags-audio * libags-gui For sure don't forget the application `gsequencer`. http://gsequencer.org Cheers, Joël Krähemann ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] gsequencer help wanted
Hi, all. Me just updated issues for gsequencer version 0.4.3, please help. https://github.com/weedlight/ags-devel/issues cheers, Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] Clean version of Advanced Gtk+ Sequencer 0.4.2-52
Hi, Clean version available of Advanced Gtk+ Sequencer: http://gsequencer.org/downloads/ags-0_4_2-52.tar.bz2 A half year later after releasing 0.4.2 its end is fourseeing, for now me should be able to do extensive testing. To compile and run: ./configure make ags ./ags bests Joël Krähemann ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] Advanced Gtk+ Sequencer aka GSequencer now on GitHub
Hi all, me just migrated gsequencer to GitHub. http://www.gsequencer.org Further me did renamed binary from `ags` to `gsequencer`. About the state of the sequencer: Version 0.4.2-44 is believed to be stable. Since me don't have the time to test it well, me need people to test it. Please, let me know your experiences. MIDI support is intended to be added for release Version 0.4.3 and many other new exciting features. If someone can help with ALSA rawmidi, please let me know. I don't want to do JACK, since it is believed to be somehow the Qt thing. What me can say so far about MIDI me read years ago about it in The computer music tutorial - The MIT Press, ISBN 0-262-68082-3. And MIDI consist of messages which are routeable. Someone giving specification how the MIDI message struct is passed to ALSA and how it looks like would be great. Thank you in advance Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] Linux Audio Conference 2015 - Extension of Deadline
Frank Neumann wrote: [Sorry for cross-posting, please distribute.] The Linux Audio Conference submissions deadline has been extended for another week! Please note the new deadline: Sunday, Feb 8th, 2015 (23:59 HAST) So, if you were considering to submit a paper but couldn't make up your mind yet, here is your chance to become active! Never forget that this conference lives through the people participating in it. February 8th is the new deadline for all submission types: papers, music, installations, workshop proposals. Check out the link below for more info: http://lac.linuxaudio.org/2015/participation Note that as usual we have created two different OpenConf instances: one for the submission of regular papers, lightning talks and poster sessions, and a second one for music, installations and workshop proposals. For the latter, please also check the detailed instructions at http://lac.linuxaudio.org/2015/download/lac2015-call-for-miw.pdf. If you have any questions concerning your submission, please don't hesitate to contact us at l...@linuxaudio.org, or through our #lac2015 IRC channel on freenode.net. Please spread this information to anyone who might be interested. We look forward to your submissions and hope to meet you in Mainz in April! Sincerely, The LAC 2015 Organizing Team ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev Hi, would someone be interested in http://ags.sf.net me could prepare a speech or something alike to give an introduction or an overview of code organization if wished. http://ags.sourceforge.net/api/ags/index.html best regards Joël Krähemann ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] minos-one_v1.1
Hello everybody, please take a look at http://sourceforge.net/p/ags/files/minos-one_v1.1.iso It targets mainly users interested in gobject and gtk+ based applications. minos-one starts as default within openbox and proper systemd usage. It should be entirely based on Free Software, please report inappropriate content. Since threads aren't really reliable in `ags` me has some difficulties to get a screencast because system freezes and no input possible, but take a look at my google+ page of Advanced Gtk+ Sequencer - Linux 3.14.25-rt22 - Advanced Gtk+ Sequencer 0.4.2-21 - Swami - fluidsynth - LADSPA - ffmpeg - mplayer - wine-64 - dssi-vst - bristol - jackd - ... ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] minos-one fixed live DVD
Hi out there Download the enhanced ISO image of minos-one http://sourceforge.net/projects/ags/files/minos-one.iso ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] Live DVD including Advanced Gtk+ Sequencer and Swami
Hi all, please take a look at https://sourceforge.net/projects/ags/files/minos-lxdm.iso and https://sourceforge.net/p/ags/blog/2014/12/live-dvd-including-advanced-gtk-sequencer/ best regards Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] Update advanced gtk+ sequencer
Am Mittwoch, den 29.10.2014, 09:44 +0100 schrieb Jeremy Jongepier: On 10/29/2014 02:05 AM, Joël Krähemann wrote: Hi, I'd like to update wiki entry http://wiki.linuxaudio.org/apps/all/ags but can't log in anymore. regards Joël Hello Joël, Did you also try the Send new password option? Jeremy ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev Hi, yes for sure. Even I tried to create a new account without success. Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] Update advanced gtk+ sequencer
Hi, I'd like to update wiki entry http://wiki.linuxaudio.org/apps/all/ags but can't log in anymore. regards Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] Advanced Gtk+ Sequencer 0.4.2
Advanced Gtk+ Sequencer 0.4.2 is out Check download at: http://sourceforge.net/projects/ags/files/ags-0_4_2.tar.bz2/download or API Reference by issuing: http://ags.sourceforge.net/api/ags/index.html Advanced GTK+ Sequencer is intended to use for music composition. Use its piano roll, synth, matrix editor, drum machine, soundfont2 player, mixer or the output panel. ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] Advanced Gtk+ Sequencer API online
Hi all Please take a look at http://ags.sf.net/api/ags and let me know what you're missing. There may follow some corrections if you find mistakes let me know, too. At the moment there probably plenty of them. kind regards Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] Experience driven design and Linux Audio
On tal, 2014-09-30 at 10:56 -0400, Paul Davis wrote: On Tue, Sep 30, 2014 at 9:58 AM, Harry van Haaren harryhaa...@gmail.com wrote: Hi Linux Audio Developers, TL;DR; Discussing experience driven design for linux audio. I'd like to discuss the age of experiences. Allow me 10 minutes of your time, to watch a video by Aral Balkan talk about development of technology, FLOSS, design, and the future. las HarryHaaren: interesting talk las HarryHaaren: i want to agree with him except for one major issue (for me) las HarryHaaren: i'm not interested in making consumer tools HarryHaaren las, I came across Aral's work recently, and its been very interesting for me anyway. las HarryHaaren: and if i'm not making consumer tools, then my model is not apple but tools for cabinetry HarryHaaren sure, valid point: I agree. las HarryHaaren: and everything he says would be total bullshit and totally inappropriate there HarryHaaren but I don't feel that's the case for the whole Linux-Audio eco-system las HarryHaaren: indeed las HarryHaaren: but basically, the bit that is missing is easily summarized: Live and plugins las HarryHaaren: these are where his experience driven stuff matters las HarryHaaren: and yes, i agree that it does matter HarryHaaren agreed: that happens to be just what i'm particularly interested in :D las HarryHaaren: he even uses the term tools las HarryHaaren: i think this is a serious abuse of the word, but he's not the one who started this las HarryHaaren: when my wife uses a computer, she really doesn't want tools, she wants his experience thing las HarryHaaren: tools are things people use to gain leverage over the world, so in some sense, it seems appropriate HarryHaaren I'd quite like some more of the experience thing - in the right places. And the power of under-the-hood available when/if required, agreed again las HarryHaaren: but they are also things that for centuries, people have expected to have to learn, to master las HarryHaaren: when i look at the design of iOS what i see is a huge effort to remove learning from the whole user experience las HarryHaaren: to make everything absolutely obvious (once you've learned a few basic ideas about the UI) HarryHaaren sure: not something i'm fond of for all situations: too much generic is bad in the arts / creative sectors IMO las HarryHaaren: when the *task* is simple, this seems appropriate las HarryHaaren: but when the *task* is not simple, i think its inappropriate las HarryHaaren: if you look at a table saw or a crosscut saw or a router, they fail almost every possible test of user experience las HarryHaaren: they are dangerous, loud and more or less completely opaque as far as how to use them to get a particular result las HarryHaaren: and yet HarryHaaren sure: but learn to use it and its no problem. I appreciate that, and i see how it applies to certain software too las HarryHaaren: yes, and the learning about the tool leads to learning about the task also las HarryHaaren: do you know how easy it would be to make a plugin called MakeItSoundBetter that just had 3 buttons? las HarryHaaren: change it, that was better, that was worse las HarryHaaren: people would love this tool. and by using it, they would learn absolutely *nothing* about what they were doing las HarryHaaren: i don't want to help create that sort of world las HarryHaaren: on the other hand, i don't do much auto maintainance, so ... what does that say? :) HarryHaaren fair enough. I probably would. But let people click the advanced button, see the algorithms, and learn about the tool the task ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev Why doesn't Harry learn howto do a dial. I just take a look at his code and it just sucks. Why don't you take a look how it should have been done. For sure you will get it for once. https://sourceforge.net/p/ags/code/HEAD/tree/src/ags/widget/ags_dial.c kind regards Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] Experience driven design and Linux Audio
On arb, 2014-10-01 at 12:39 +0100, Harry van Haaren wrote: On Wed, Oct 1, 2014 at 12:26 PM, Joël Krähemann weedli...@gmail.com wrote: Why doesn't Harry learn howto do a dial. I just take a look at his code and it just sucks. Hi Joel, The topic isn't the quality of my code: I'm sorry to hear you feel it just sucks. If you wish to discuss the quality of code, please contact me directly by email, or start a new thread with an appropriate topic. But please, lets not stray away from the topic at hand: which is desining user-interfaces with the objective to improve the experience of using a piece of software, and not directly focussing on the features that the software provides. I welcome your input in this mailing-list thread on how we can make FLOSS / Linux Audio programs have a better user experience. Cheers, -Harry Excuse me being unpolite I just was thinking about all day. I can say it sucks because me was at the same point. Please take this as a chance to learn where the user benefits of experience. Scaling is done normally between -1.0 ... 0.0 ... 1.0 Your constants are false. I can't say if it was cause of selfishness looking at the code but telling you that you're wrong is cause wanting you to help. have a nice evening and kind regards Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] using libsndfile to write signed short
On sab, 2014-09-27 at 09:36 +0100, Harry van Haaren wrote: On Sat, Sep 27, 2014 at 6:11 AM, Joël Krähemann weedli...@gmail.com wrote: Am I correct assuming 1 sample of stereo frames will be written 44100 times by a rate of 44100 Hz audio sampled data? Yes. Just to be 100% clear, a sample is a *single* point of data. In a mono situation: a frame refers to the single sample for that channel. In stereo: a frame refers to 2 samples, one for *each* channel. So the difference between a frame and a sample is that a sample is literally a single data point, while a frame is a single data point for each channel. Whereby one sample contains 2 frames. See above :) CHANNELS = 2 buffer_size_per_second = CHANNELS * 44100 * sizeof(signed short); Yep. The link below is useful for double checking, and for quick disk space calculations: http://www.sounddevices.com/calculator/ I've written a tutorial on using SndFile to write to disk: perhaps a useful resource to check / play with: https://github.com/harryhaaren/openAudioProgrammingTutorials/blob/master/writingSoundfileToDisk/writingSoundfileToDisk.cpp HTH, -Harry Do you know that WAV is interleaved? Currently I'm looking for something like encoding multi-channel sources. ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] using libsndfile to write signed short
On Fri, 2014-09-26 at 10:20 +0200, Cedric Roux wrote: On 09/25/2014 11:50 PM, Joël Krähemann wrote: void ags_sndfile_write(AgsPlayable *playable, signed short *buffer, guint buffer_length) { AgsSndfile *sndfile; sf_count_t multi_frames, retval; sndfile = AGS_SNDFILE(playable); multi_frames = buffer_length; retval = sf_write_short(sndfile-file, buffer, multi_frames); If buffer_length gives the number of bytes of the buffer, you may be in trouble here. For sf_write_short, /usr/include/sndfile.h says: ** All of these read/write function return number of items read/written. See also the libsndfile FAQ: http://www.mega-nerd.com/libsndfile/FAQ.html#Q012 HTH if(retval multi_frames){ //sf_seek(sndfile-file, (multi_frames - retval), SEEK_CUR); } } This is how the buffer is allocated. Strange to me is multi_frames = buffer_length; or multi_frames = sndfile-file-info-channels * buffer_length; gives about the same size of file. /* buffer */ devout-buffer = (signed short **) malloc(4 * sizeof(signed short*)); devout-buffer[0] = (signed short *) malloc(devout-dsp_channels * devout-buffer_size * sizeof(signed short)); devout-buffer[1] = (signed short *) malloc(devout-dsp_channels * devout-buffer_size * sizeof(signed short)); devout-buffer[2] = (signed short *) malloc(devout-dsp_channels * devout-buffer_size * sizeof(signed short)); devout-buffer[3] = (signed short *) malloc(devout-dsp_channels * devout-buffer_size * sizeof(signed short)); ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] using libsndfile to write signed short
On Fri, 2014-09-26 at 12:15 +0200, Joël Krähemann wrote: On Fri, 2014-09-26 at 10:20 +0200, Cedric Roux wrote: On 09/25/2014 11:50 PM, Joël Krähemann wrote: void ags_sndfile_write(AgsPlayable *playable, signed short *buffer, guint buffer_length) { AgsSndfile *sndfile; sf_count_t multi_frames, retval; sndfile = AGS_SNDFILE(playable); multi_frames = buffer_length; retval = sf_write_short(sndfile-file, buffer, multi_frames); If buffer_length gives the number of bytes of the buffer, you may be in trouble here. For sf_write_short, /usr/include/sndfile.h says: ** All of these read/write function return number of items read/written. See also the libsndfile FAQ: http://www.mega-nerd.com/libsndfile/FAQ.html#Q012 HTH if(retval multi_frames){ //sf_seek(sndfile-file, (multi_frames - retval), SEEK_CUR); } } This is how the buffer is allocated. Strange to me is multi_frames = buffer_length; or multi_frames = sndfile-file-info-channels * buffer_length; gives about the same size of file. /* buffer */ devout-buffer = (signed short **) malloc(4 * sizeof(signed short*)); devout-buffer[0] = (signed short *) malloc(devout-dsp_channels * devout-buffer_size * sizeof(signed short)); devout-buffer[1] = (signed short *) malloc(devout-dsp_channels * devout-buffer_size * sizeof(signed short)); devout-buffer[2] = (signed short *) malloc(devout-dsp_channels * devout-buffer_size * sizeof(signed short)); devout-buffer[3] = (signed short *) malloc(devout-dsp_channels * devout-buffer_size * sizeof(signed short)); The code should be correct rather a problem with the thread tree, once more. ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] using libsndfile to write signed short
On Fri, 2014-09-26 at 13:40 +0200, Joël Krähemann wrote: On Fri, 2014-09-26 at 12:15 +0200, Joël Krähemann wrote: On Fri, 2014-09-26 at 10:20 +0200, Cedric Roux wrote: On 09/25/2014 11:50 PM, Joël Krähemann wrote: void ags_sndfile_write(AgsPlayable *playable, signed short *buffer, guint buffer_length) { AgsSndfile *sndfile; sf_count_t multi_frames, retval; sndfile = AGS_SNDFILE(playable); multi_frames = buffer_length; retval = sf_write_short(sndfile-file, buffer, multi_frames); If buffer_length gives the number of bytes of the buffer, you may be in trouble here. For sf_write_short, /usr/include/sndfile.h says: ** All of these read/write function return number of items read/written. See also the libsndfile FAQ: http://www.mega-nerd.com/libsndfile/FAQ.html#Q012 HTH if(retval multi_frames){ //sf_seek(sndfile-file, (multi_frames - retval), SEEK_CUR); } } This is how the buffer is allocated. Strange to me is multi_frames = buffer_length; or multi_frames = sndfile-file-info-channels * buffer_length; gives about the same size of file. /* buffer */ devout-buffer = (signed short **) malloc(4 * sizeof(signed short*)); devout-buffer[0] = (signed short *) malloc(devout-dsp_channels * devout-buffer_size * sizeof(signed short)); devout-buffer[1] = (signed short *) malloc(devout-dsp_channels * devout-buffer_size * sizeof(signed short)); devout-buffer[2] = (signed short *) malloc(devout-dsp_channels * devout-buffer_size * sizeof(signed short)); devout-buffer[3] = (signed short *) malloc(devout-dsp_channels * devout-buffer_size * sizeof(signed short)); The code should be correct rather a problem with the thread tree, once more. Am I correct assuming 1 sample of stereo frames will be written 44100 times by a rate of 44100 Hz audio sampled data? Whereby one sample contains 2 frames. For one second, this would be a sized array of: CHANNELS = 2 buffer_size_per_second = CHANNELS * 44100 * sizeof(signed short); ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] using libsndfile to write signed short
Does someone know about writing WAV using libsndfile? My file becomes 174M big as using sf_writef_short() within 8s please take a look at http://ags.sf.net ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] using libsndfile to write signed short
On Thu, 2014-09-25 at 21:02 +0100, Harry van Haaren wrote: On Thu, Sep 25, 2014 at 8:50 PM, Joël Krähemann weedli...@gmail.com wrote: Does someone know about writing WAV using libsndfile? My file becomes 174M big as using sf_writef_short() within 8s Are you sure you're only writing each sample once? Sounds like there's an error in writing nframe samples for each sample or something. Its pretty easy: and there's a brilliant to-the-point blog post on using C++ interface (sndfile.hh) here: http://parumi.wordpress.com/2007/12/16/how-to-write-wav-files-in-c-using-libsndfile/ If there's still issues, please pastebin some code, or ask a more specific question :) HTH, -Harry There probably only those three functions involved: void ags_export_output_launch(AgsTask *task) { AgsExportOutput *export_output; AgsExportThread *export_thread; AgsDevout *devout; AgsAudioFile *audio_file; gchar *filename; export_output = AGS_EXPORT_OUTPUT(task); devout = export_output-devout; export_thread = export_output-export_thread; filename = export_output-filename; /* open read/write audio file */ audio_file = ags_audio_file_new(filename, devout, 0, devout-dsp_channels); audio_file-samplerate = (int) devout-frequency; audio_file-channels = devout-dsp_channels; // audio_file-format = devout-bits; audio_file-frames = export_output-frames; ags_audio_file_rw_open(audio_file, TRUE); g_message(export output); /* start export thread */ g_object_set(G_OBJECT(export_thread), audio-file\0, audio_file, NULL); ags_thread_start(export_thread); } void ags_export_thread_run(AgsThread *thread) { AgsExportThread *export_thread; AgsDevout *devout; export_thread = AGS_EXPORT_THREAD(thread); devout = thread-devout; if((AGS_DEVOUT_BUFFER1 (devout-flags)) != 0){ ags_audio_file_write(export_thread-audio_file, devout-buffer[0], devout-buffer_size); }else if((AGS_DEVOUT_BUFFER2 (devout-flags)) != 0){ ags_audio_file_write(export_thread-audio_file, devout-buffer[1], devout-buffer_size); }else if((AGS_DEVOUT_BUFFER3 (devout-flags)) != 0){ ags_audio_file_write(export_thread-audio_file, devout-buffer[2], devout-buffer_size); }else if((AGS_DEVOUT_BUFFER0 (devout-flags)) != 0){ ags_audio_file_write(export_thread-audio_file, devout-buffer[3], devout-buffer_size1); } } void ags_sndfile_write(AgsPlayable *playable, signed short *buffer, guint buffer_length) { AgsSndfile *sndfile; sf_count_t multi_frames, retval; sndfile = AGS_SNDFILE(playable); multi_frames = buffer_length; retval = sf_write_short(sndfile-file, buffer, multi_frames); if(retval multi_frames){ //sf_seek(sndfile-file, (multi_frames - retval), SEEK_CUR); } } ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] Production release 0.4.2 planed of Advanced Gtk+ Sequencer
Hi, as mentioned in subject: Production release 0.4.2 planed of Advanced Gtk+ Sequencer. Now, comes your part I would like you to test functionality. I'll do for you a wiki page of aspects to test. Please visit http://ags.sf.net and wiki page https://sourceforge.net/p/ags/wiki/testing-cheatsheet/ Happy to hear of you pretty soon! Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] who wants contribute to Advanced Gtk+ Sequencer
Hi, I'm writing a software synth/sequencer called Advanced Gtk+ Sequencer. It won't take much time till first pre-release 0.4.0 I got basic functions working. Now I'm pleased to ask if someone wants to contribute. Note pulseaudio interferes with Advanced Gtk+ Sequencer to achieve best results I even recommend WindowMaker as desktop or any minimal window manager of your choice. http://sourceforge.net/projects/ags/ If your asking yourself how to use Advanced Gtk+ Sequencer please take a look at a screencast I just made this morning on Google+ The project features a wiki with some programming howtos and explanation of internals. bye Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] [off-list] who wants contribute to Advanced Gtk+ Sequencer
Am Dienstag, den 24.09.2013, 20:11 +0200 schrieb Ralf Mardorf: Hi :) I used the new tar, but next time I can checkout from svn. It failed to build again. checking for XMLRPC... no configure: error: Package requirements (xmlrpc = 1.32.5) were not met: No package 'xmlrpc' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XMLRPC_CFLAGS and XMLRPC_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. [rocketmouse@archlinux ags_0.3.99]$ sudo pacman -Q xmlrpc-c xmlrpc-c 1:1.33.03-1 Regards, Ralf https://apps.fedoraproject.org/packages/xmlrpc-c-client alien the package if using debian or derivates. Is without xmlrpc but has missing bugfixes ... https://github.com/weedlight/ags/tree/master/0.4.0/src/ags I'll update github.com repo excluding xmlrpc. The server isn't started by default and is only a collection of ideas whereas many skelletons for a XML based scripting client. See for further details: https://sourceforge.net/p/ags/code/HEAD/tree/src/ags-client/scripting/ags_script.xsd regards Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] who wants contribute to Advanced Gtk+ Sequencer
Am Mittwoch, den 25.09.2013, 01:10 +1000 schrieb Patrick Shirkey: On Wed, September 25, 2013 1:01 am, Joël Krähemann wrote: Hi, I'm writing a software synth/sequencer called Advanced Gtk+ Sequencer. It won't take much time till first pre-release 0.4.0 I got basic functions working. Now I'm pleased to ask if someone wants to contribute. Looks like an interesting project. Note pulseaudio interferes with Advanced Gtk+ Sequencer to achieve best results I even recommend WindowMaker as desktop or any minimal window manager of your choice. Do you have any specific issues that you would like to flag? http://sourceforge.net/projects/ags/ If your asking yourself how to use Advanced Gtk+ Sequencer please take a look at a screencast I just made this morning on Google+ The project features a wiki with some programming howtos and explanation of internals. -- Patrick Shirkey Boost Hardware Ltd ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev A binding to existing plugins would be great if you have already knowledge about lvm2 or ladspa that would be great. Cheers Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] who wants contribute to Advanced Gtk+ Sequencer
Am Dienstag, den 24.09.2013, 18:40 +0300 schrieb Vytautas Jancauskas: sourceforge? what is this 1999? On Tue, Sep 24, 2013 at 6:32 PM, Ralf Mardorf ralf.mard...@alice-dsl.net wrote: On Tue, 2013-09-24 at 17:01 +0200, Joël Krähemann wrote: http://sourceforge.net/projects/ags/ Hi :) ags_0.3.15-0 doesn't build. $ make gcc -g -c main.c -o main.o -I../ `pkg-config --cflags alsa glib-2.0 gobject-2.0 gdk-2.0 gdk-pixbuf-xlib-2.0 gmodule-2.0 gtk+-2.0 libxml-2.0 sndfile libinstpatch-1.0` main.c:21:35: fatal error: ags/audio/ags_channel.h: No such file or directory #include ags/audio/ags_channel.h ^ compilation terminated. make: *** [main.o] Error 1 $ ls audio Documentation file lib license main.c main.h Makefile object README widget X Regards, Ralf ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev Excuse me I didn't put a tarred bzipeds archive file for a long time. But I just uploaded one for you ... You should download from version control as I wrote this mail, sorry. regards Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] [off-list] who wants contribute to Advanced Gtk+ Sequencer
Am Dienstag, den 24.09.2013, 20:51 +0200 schrieb Joël Krähemann: Am Dienstag, den 24.09.2013, 20:11 +0200 schrieb Ralf Mardorf: Hi :) I used the new tar, but next time I can checkout from svn. It failed to build again. checking for XMLRPC... no configure: error: Package requirements (xmlrpc = 1.32.5) were not met: No package 'xmlrpc' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XMLRPC_CFLAGS and XMLRPC_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. [rocketmouse@archlinux ags_0.3.99]$ sudo pacman -Q xmlrpc-c xmlrpc-c 1:1.33.03-1 Regards, Ralf https://apps.fedoraproject.org/packages/xmlrpc-c-client alien the package if using debian or derivates. Is without xmlrpc but has missing bugfixes ... https://github.com/weedlight/ags/tree/master/0.4.0/src/ags I'll update github.com repo excluding xmlrpc. The server isn't started by default and is only a collection of ideas whereas many skelletons for a XML based scripting client. See for further details: https://sourceforge.net/p/ags/code/HEAD/tree/src/ags-client/scripting/ags_script.xsd regards Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev I just updated: https://github.com/weedlight/ags/tree/master/0.4.0/src/ags and it doesn't contain any xmlrpc client or server. bye Joël ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] `ags` and libinstpatch
Hi, recently I found libinstpatch in debian repository. How can I read a Instrument with this library? Please take a look at sourceforge.net/projects/ags. libinstpatch will be initialized in main function. The following functions are involved: gboolean ags_ipatch_open(AgsPlayable *playable, gchar *filename); gboolean ags_ipatch_sf2_reader_open(AgsPlayable *playable, gchar *filename); void ags_ipatch_sf2_reader_level_select(AgsPlayable *playable, guint nth_level, gchar *sublevel_name, GError **error); void ags_ipatch_sf2_reader_iter_start(AgsPlayable *playable); gboolean ags_ipatch_sf2_reader_iter_next(AgsPlayable *playable); void ags_ipatch_sf2_reader_info(AgsPlayable *playable, guint *channels, guint *frames, guint *loop_start, guint *loop_end, GError **error); short* ags_ipatch_sf2_reader_read(AgsPlayable *playable, guint channel, GError **error); then it will be translated to ags format AgsAudioSignal by: GList* ags_playable_read_audio_signal(AgsPlayable *playable, AgsDevout *devout, guint start_channel, guint channels_to_read); ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev